@dynamic-labs/bitcoin 2.6.1 → 2.6.2

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/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
1
 
2
+ ### [2.6.2](https://github.com/dynamic-labs/DynamicAuth/compare/v2.6.1...v2.6.2) (2024-09-11)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * add missing bitcoin wallets to wallet-book fallback ([#6872](https://github.com/dynamic-labs/DynamicAuth/issues/6872)) ([4dec35c](https://github.com/dynamic-labs/DynamicAuth/commit/4dec35c9a457081944231c64432b1966bc7f938b))
8
+ * stop infinite rerendering when wagmi config error is thrown ([#6862](https://github.com/dynamic-labs/DynamicAuth/issues/6862)) ([#6864](https://github.com/dynamic-labs/DynamicAuth/issues/6864)) ([8fe2cf0](https://github.com/dynamic-labs/DynamicAuth/commit/8fe2cf0d592c3067af6edfe8aa4ea8d3fc8278a7))
9
+
2
10
  ### [2.6.1](https://github.com/dynamic-labs/DynamicAuth/compare/v2.6.0...v2.6.1) (2024-09-11)
3
11
 
4
12
  ## [2.6.0](https://github.com/dynamic-labs/DynamicAuth/compare/v2.5.3...v2.6.0) (2024-09-03)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/bitcoin",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -32,9 +32,9 @@
32
32
  "@wallet-standard/base": "1.0.1",
33
33
  "bitcoinjs-lib": "6.1.5",
34
34
  "sats-connect": "2.0.0",
35
- "@dynamic-labs/utils": "2.6.1",
36
- "@dynamic-labs/wallet-book": "2.6.1",
37
- "@dynamic-labs/wallet-connector-core": "2.6.1",
35
+ "@dynamic-labs/utils": "2.6.2",
36
+ "@dynamic-labs/wallet-book": "2.6.2",
37
+ "@dynamic-labs/wallet-connector-core": "2.6.2",
38
38
  "stream": "0.0.2"
39
39
  },
40
40
  "peerDependencies": {}
@@ -143,7 +143,7 @@ class BitcoinWalletConnector extends walletConnectorCore.WalletConnectorBase {
143
143
  connectedAccount = yield this.getAddressPromise;
144
144
  }
145
145
  catch (error) {
146
- walletConnectorCore.logger.error(`${this.key} getConnectedAccounts - error fetching connected account`);
146
+ walletConnectorCore.logger.error(`${this.key} getConnectedAccounts - error fetching connected account`, error);
147
147
  //don't throw error just return empty array after clearing the promise
148
148
  }
149
149
  this.getAddressPromise = undefined;
@@ -139,7 +139,7 @@ class BitcoinWalletConnector extends WalletConnectorBase {
139
139
  connectedAccount = yield this.getAddressPromise;
140
140
  }
141
141
  catch (error) {
142
- logger.error(`${this.key} getConnectedAccounts - error fetching connected account`);
142
+ logger.error(`${this.key} getConnectedAccounts - error fetching connected account`, error);
143
143
  //don't throw error just return empty array after clearing the promise
144
144
  }
145
145
  this.getAddressPromise = undefined;