diff --git a/packages/ord-connect/package.json b/packages/ord-connect/package.json index 79402b6a..098e871a 100644 --- a/packages/ord-connect/package.json +++ b/packages/ord-connect/package.json @@ -31,7 +31,7 @@ "preview": "vite preview" }, "peerDependencies": { - "@sadoprotocol/ordit-sdk": "2.0.8", + "@sadoprotocol/ordit-sdk": "2.0.10", "react": "^18.2.0", "react-dom": "^18.2.0", "sats-connect": "^0.5.0" @@ -57,7 +57,7 @@ }, "dependencies": { "@headlessui/react": "^1.7.17", - "@sadoprotocol/ordit-sdk": "2.0.8", + "@sadoprotocol/ordit-sdk": "2.0.10", "bitcoinjs-lib": "^6.1.3", "boring-avatars": "^1.10.1", "sats-connect": "^0.5.0" diff --git a/packages/ord-connect/src/hooks/useBalance.tsx b/packages/ord-connect/src/hooks/useBalance.tsx index 2585e495..759c938b 100644 --- a/packages/ord-connect/src/hooks/useBalance.tsx +++ b/packages/ord-connect/src/hooks/useBalance.tsx @@ -29,7 +29,6 @@ export function useBalance(): [() => Promise, string | null, boolean] { const { spendableUTXOs } = await datasource.getUnspents({ address, type: "spendable", - decodeMetadata: false, }); const totalCardinalsAvailable = spendableUTXOs.reduce( diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0e52024b..a9821447 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,8 +27,8 @@ importers: specifier: ^1.7.17 version: 1.7.17(react-dom@18.2.0)(react@18.2.0) '@sadoprotocol/ordit-sdk': - specifier: 2.0.8 - version: 2.0.8 + specifier: 2.0.10 + version: 2.0.10 bitcoinjs-lib: specifier: ^6.1.3 version: 6.1.3 @@ -677,8 +677,8 @@ packages: string-argv: 0.3.2 dev: true - /@sadoprotocol/ordit-sdk@2.0.8: - resolution: {integrity: sha512-GpOG5Eocg8jIfvXET7DDOtB5oIzvgt+HuiDFcJnkDXJ+pRrbeVxFaek+2Z9OE5PJYTeQgEQZvT1hyP+zaR+QJw==} + /@sadoprotocol/ordit-sdk@2.0.10: + resolution: {integrity: sha512-pscTsOql0/iuO2uykysmoeMKjZF5rWbEQ7WzSzXEV8DvwQoI2Xgw2XIRITkaFSYqb8eqykkntL76R2JpcY+4fg==} dependencies: '@bitcoinerlab/secp256k1': 1.0.2 bip32: 4.0.0