@dynamic-labs/ethereum 0.17.21 → 0.17.23
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,19 @@
|
|
|
1
1
|
|
|
2
|
+
### [0.17.23](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.22...v0.17.23) (2023-07-11)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* Clean up provider re-initializing after logout ([#2632](https://github.com/dynamic-labs/DynamicAuth/issues/2632)) ([#2634](https://github.com/dynamic-labs/DynamicAuth/issues/2634)) ([cd2d284](https://github.com/dynamic-labs/DynamicAuth/commit/cd2d2847e37cc3b54e61efd88cbf00757bce9a39))
|
|
8
|
+
|
|
9
|
+
### [0.17.22](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.21...v0.17.22) (2023-07-10)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **MagicWalletConnector:** check if user is logged when getting balance ([#2615](https://github.com/dynamic-labs/DynamicAuth/issues/2615)) ([ece4073](https://github.com/dynamic-labs/DynamicAuth/commit/ece407333f4e4aadde3601aab51a99fdffb1932b))
|
|
15
|
+
* **useValidateSession:** only check for bridge on wallet connect wallets ([#2616](https://github.com/dynamic-labs/DynamicAuth/issues/2616)) ([063828b](https://github.com/dynamic-labs/DynamicAuth/commit/063828b14855fc0601c39f232dde959330b474a7))
|
|
16
|
+
|
|
2
17
|
### [0.17.21](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.20...v0.17.21) (2023-07-06)
|
|
3
18
|
|
|
4
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.23",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"ethers": "5.7.2",
|
|
33
33
|
"eventemitter3": "5.0.1",
|
|
34
34
|
"buffer": "6.0.3",
|
|
35
|
-
"@dynamic-labs/rpc-providers": "0.17.
|
|
36
|
-
"@dynamic-labs/types": "0.17.
|
|
37
|
-
"@dynamic-labs/utils": "0.17.
|
|
38
|
-
"@dynamic-labs/wallet-book": "0.17.
|
|
39
|
-
"@dynamic-labs/wallet-connector-core": "0.17.
|
|
35
|
+
"@dynamic-labs/rpc-providers": "0.17.23",
|
|
36
|
+
"@dynamic-labs/types": "0.17.23",
|
|
37
|
+
"@dynamic-labs/utils": "0.17.23",
|
|
38
|
+
"@dynamic-labs/wallet-book": "0.17.23",
|
|
39
|
+
"@dynamic-labs/wallet-connector-core": "0.17.23"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {}
|
|
42
42
|
}
|
|
@@ -337,6 +337,7 @@ class WalletConnectV2 extends EthWalletConnector.EthWalletConnector {
|
|
|
337
337
|
// We must unset provider on logout so that a new session can be established
|
|
338
338
|
// If we don't then the provider will still have the old session and will hang
|
|
339
339
|
WalletConnectV2.provider = undefined;
|
|
340
|
+
this.initializePromise = undefined; // Needed so we can re-initiliza the provider
|
|
340
341
|
}
|
|
341
342
|
catch (e) {
|
|
342
343
|
walletConnectorCore.logger.debug(e);
|
|
@@ -328,6 +328,7 @@ class WalletConnectV2 extends EthWalletConnector {
|
|
|
328
328
|
// We must unset provider on logout so that a new session can be established
|
|
329
329
|
// If we don't then the provider will still have the old session and will hang
|
|
330
330
|
WalletConnectV2.provider = undefined;
|
|
331
|
+
this.initializePromise = undefined; // Needed so we can re-initiliza the provider
|
|
331
332
|
}
|
|
332
333
|
catch (e) {
|
|
333
334
|
logger.debug(e);
|