@dynamic-labs-wallet/btc 0.0.324 → 0.0.325

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs.js CHANGED
@@ -755,7 +755,7 @@ class DynamicBtcWalletClient extends browser.DynamicWalletClient {
755
755
  * @returns The Bitcoin wallets
756
756
  */ async getBitcoinWallets() {
757
757
  const wallets = await this.getWallets();
758
- const btcWallets = wallets.filter((wallet)=>wallet.chainName === 'bitcoin');
758
+ const btcWallets = wallets.filter((wallet)=>wallet.chainName === 'BTC');
759
759
  return btcWallets;
760
760
  }
761
761
  /**
package/index.esm.js CHANGED
@@ -734,7 +734,7 @@ class DynamicBtcWalletClient extends DynamicWalletClient {
734
734
  * @returns The Bitcoin wallets
735
735
  */ async getBitcoinWallets() {
736
736
  const wallets = await this.getWallets();
737
- const btcWallets = wallets.filter((wallet)=>wallet.chainName === 'bitcoin');
737
+ const btcWallets = wallets.filter((wallet)=>wallet.chainName === 'BTC');
738
738
  return btcWallets;
739
739
  }
740
740
  /**
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/btc",
3
- "version": "0.0.324",
3
+ "version": "0.0.325",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "dependencies": {
8
8
  "@dynamic-labs/sdk-api-core": "^0.0.900",
9
- "@dynamic-labs-wallet/browser": "0.0.324",
10
- "@dynamic-labs-wallet/btc-utils": "0.0.324",
9
+ "@dynamic-labs-wallet/browser": "0.0.325",
10
+ "@dynamic-labs-wallet/btc-utils": "0.0.325",
11
11
  "@bitcoinerlab/secp256k1": "^1.2.0",
12
12
  "bitcoinjs-lib": "^7.0.0"
13
13
  },