@dynamic-labs/ethereum 0.18.0-RC.12 → 0.18.0-RC.14

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,41 @@
1
1
 
2
+ ## [0.18.0-RC.14](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.0-RC.13...v0.18.0-RC.14) (2023-07-11)
3
+
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * **QNTM-68:** we currently expose concatenated primary and secondary
8
+ wallets array as connectedWallets, this is wrong and may cause issues with
9
+ understanding our architecture as well as issues for customers that want
10
+ to have access to connectedWallets array.
11
+
12
+ * chore(QNTM-68): expose connectedWallets from DynamicContext
13
+
14
+ since, we renamed connectedWallets to linkedWallets, we now want to expose correct value
15
+ for connectedWallets.
16
+
17
+ * chore(QNTM-68)!: remove connectedWalletsInfo from useDynamicContext
18
+ * **QNTM-68:** since we're exposing connectedWallets and this variable
19
+ has less information there is no need in exposing it from DynamicContext
20
+
21
+ * **QNTM-68:** update connectedWallets property and expose linkedWallets ([#2644](https://github.com/dynamic-labs/DynamicAuth/issues/2644)) ([8b707c3](https://github.com/dynamic-labs/DynamicAuth/commit/8b707c3fb2e14aa25385b35768ffa355ef7117e5))
22
+
23
+ ## [0.18.0-RC.13](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.0-RC.12...v0.18.0-RC.13) (2023-07-11)
24
+
25
+
26
+ ### Features
27
+
28
+ * **DynamicContextProvider:** expose socialProviderFilter to modify social provider display order ([#2607](https://github.com/dynamic-labs/DynamicAuth/issues/2607)) ([0f03260](https://github.com/dynamic-labs/DynamicAuth/commit/0f03260e739da3e68c32a2a87a2ca629bb1f28b5))
29
+ * **GVTY-21:** Blocto Email provider ([#2524](https://github.com/dynamic-labs/DynamicAuth/issues/2524)) ([434ce59](https://github.com/dynamic-labs/DynamicAuth/commit/434ce598b3bc13841121b61e5ead7547d3c44eea))
30
+ * listen for the network change in network not supported views ([#2611](https://github.com/dynamic-labs/DynamicAuth/issues/2611)) ([957fbce](https://github.com/dynamic-labs/DynamicAuth/commit/957fbce55d7906f9d6b109838035b2c0306a4b85))
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * Clean up provider re-initializing after logout ([#2632](https://github.com/dynamic-labs/DynamicAuth/issues/2632)) ([fbc2201](https://github.com/dynamic-labs/DynamicAuth/commit/fbc22013d6784061cb4fdd72e24695c89f0e2fe5))
36
+ * **MagicWalletConnector:** check if user is logged when getting balance ([#2614](https://github.com/dynamic-labs/DynamicAuth/issues/2614)) ([ced9d66](https://github.com/dynamic-labs/DynamicAuth/commit/ced9d66cb335c3033a18642bdd841ee6be6c1e05))
37
+ * **useValidateSessin:** only check for bridge on wallet connect wallets ([#2571](https://github.com/dynamic-labs/DynamicAuth/issues/2571)) ([349b659](https://github.com/dynamic-labs/DynamicAuth/commit/349b65963f1d5392f63aaa138f6498f0d17cd43f))
38
+
2
39
  ## [0.18.0-RC.12](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.0-RC.11...v0.18.0-RC.12) (2023-07-07)
3
40
 
4
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ethereum",
3
- "version": "0.18.0-RC.12",
3
+ "version": "0.18.0-RC.14",
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.18.0-RC.12",
36
- "@dynamic-labs/types": "0.18.0-RC.12",
37
- "@dynamic-labs/utils": "0.18.0-RC.12",
38
- "@dynamic-labs/wallet-book": "0.18.0-RC.12",
39
- "@dynamic-labs/wallet-connector-core": "0.18.0-RC.12"
35
+ "@dynamic-labs/rpc-providers": "0.18.0-RC.14",
36
+ "@dynamic-labs/types": "0.18.0-RC.14",
37
+ "@dynamic-labs/utils": "0.18.0-RC.14",
38
+ "@dynamic-labs/wallet-book": "0.18.0-RC.14",
39
+ "@dynamic-labs/wallet-connector-core": "0.18.0-RC.14"
40
40
  },
41
41
  "peerDependencies": {}
42
42
  }
@@ -316,6 +316,7 @@ class WalletConnectV2 extends EthWalletConnector.EthWalletConnector {
316
316
  // We must unset provider on logout so that a new session can be established
317
317
  // If we don't then the provider will still have the old session and will hang
318
318
  WalletConnectV2.provider = undefined;
319
+ this.initializePromise = undefined; // Needed so we can re-initiliza the provider
319
320
  }
320
321
  catch (e) {
321
322
  walletConnectorCore.logger.debug(e);
@@ -307,6 +307,7 @@ class WalletConnectV2 extends EthWalletConnector {
307
307
  // We must unset provider on logout so that a new session can be established
308
308
  // If we don't then the provider will still have the old session and will hang
309
309
  WalletConnectV2.provider = undefined;
310
+ this.initializePromise = undefined; // Needed so we can re-initiliza the provider
310
311
  }
311
312
  catch (e) {
312
313
  logger.debug(e);