@dynamic-labs/ethereum 1.2.0-alpha.1 → 1.3.0

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,33 @@
1
1
 
2
+ ## [1.3.0](https://github.com/dynamic-labs/DynamicAuth/compare/v1.2.0...v1.3.0) (2024-03-05)
3
+
4
+
5
+ ### Features
6
+
7
+ * add okx and bitget starknet wallets ([#4837](https://github.com/dynamic-labs/DynamicAuth/issues/4837)) ([181a111](https://github.com/dynamic-labs/DynamicAuth/commit/181a111b787306e5ac24616e5d3387db7db8fd18))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * improve offline error handling ([80386bf](https://github.com/dynamic-labs/DynamicAuth/commit/80386bfe538dc5a24be0692b3cdf49e8b264b41c))
13
+
14
+ ## [1.2.0](https://github.com/dynamic-labs/DynamicAuth/compare/v1.2.0-alpha.1...v1.2.0) (2024-02-29)
15
+
16
+
17
+ ### Features
18
+
19
+ * add networkValidationMode and deprecate enableForcedNetworkValidation ([#4776](https://github.com/dynamic-labs/DynamicAuth/issues/4776)) ([d826bf7](https://github.com/dynamic-labs/DynamicAuth/commit/d826bf704814e69466f811186499839472d107fc))
20
+ * include l1 fee to gas estimation ([#4743](https://github.com/dynamic-labs/DynamicAuth/issues/4743)) ([601a7ab](https://github.com/dynamic-labs/DynamicAuth/commit/601a7ab07791e89b07eb70f2960ff855eff84a87))
21
+ * add FilterChain helper function ([#4632](https://github.com/dynamic-labs/DynamicAuth/issues/4632)) ([56d474b](https://github.com/dynamic-labs/DynamicAuth/commit/56d474bf50a566774179ae929c4587ef841809bc))
22
+ * allow exporting embedded wallets key/seed using email auth session ([#4580](https://github.com/dynamic-labs/DynamicAuth/issues/4580)) ([7b7a826](https://github.com/dynamic-labs/DynamicAuth/commit/7b7a8265ff16057284a50046f2310e1abdca5e50))
23
+ * add retry email otp in headless ([#4639](https://github.com/dynamic-labs/DynamicAuth/issues/4639)) ([70630e2](https://github.com/dynamic-labs/DynamicAuth/commit/70630e28e4b370581add65fc5f69c41c28346cc6))
24
+ * add tabs to wallet list view ([#4619](https://github.com/dynamic-labs/DynamicAuth/issues/4619)) ([c552a8e](https://github.com/dynamic-labs/DynamicAuth/commit/c552a8ec9a484b6015e95e9b3b30cd1cd151a45b))
25
+
26
+ ### Bug Fixes
27
+
28
+ * enable Banxa for all chains ([#4791](https://github.com/dynamic-labs/DynamicAuth/issues/4791)) ([#4823](https://github.com/dynamic-labs/DynamicAuth/issues/4823)) ([18f76f7](https://github.com/dynamic-labs/DynamicAuth/commit/18f76f7798c58009a70a8322e87e78047a6e33a0))
29
+ * fix universal links when using walletconnect ([#4773](https://github.com/dynamic-labs/DynamicAuth/issues/4773)) ([#4779](https://github.com/dynamic-labs/DynamicAuth/issues/4779)) ([3186ef8](https://github.com/dynamic-labs/DynamicAuth/commit/3186ef8896cebd750d2998ad9cc43e4bd11a594a))
30
+
2
31
  ## [1.2.0-alpha.1](https://github.com/dynamic-labs/DynamicAuth/compare/v1.2.0-alpha.0...v1.2.0-alpha.1) (2024-02-09)
3
32
 
4
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ethereum",
3
- "version": "1.2.0-alpha.1",
3
+ "version": "1.3.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -26,18 +26,18 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@coinbase/wallet-sdk": "3.9.1",
29
+ "@coinbase/wallet-sdk": "3.9.2",
30
30
  "@walletconnect/client": "1.8.0",
31
31
  "@walletconnect/ethereum-provider": "1.8.0",
32
32
  "@walletconnect/universal-provider": "2.10.6",
33
33
  "eventemitter3": "5.0.1",
34
34
  "buffer": "6.0.3",
35
- "@dynamic-labs/rpc-providers": "1.2.0-alpha.1",
36
- "@dynamic-labs/turnkey": "1.2.0-alpha.1",
37
- "@dynamic-labs/types": "1.2.0-alpha.1",
38
- "@dynamic-labs/utils": "1.2.0-alpha.1",
39
- "@dynamic-labs/wallet-book": "1.2.0-alpha.1",
40
- "@dynamic-labs/wallet-connector-core": "1.2.0-alpha.1",
35
+ "@dynamic-labs/rpc-providers": "1.3.0",
36
+ "@dynamic-labs/turnkey": "1.3.0",
37
+ "@dynamic-labs/types": "1.3.0",
38
+ "@dynamic-labs/utils": "1.3.0",
39
+ "@dynamic-labs/wallet-book": "1.3.0",
40
+ "@dynamic-labs/wallet-connector-core": "1.3.0",
41
41
  "stream": "0.0.2"
42
42
  },
43
43
  "peerDependencies": {
@@ -267,6 +267,11 @@ class WalletConnectV2 extends EthWalletConnector.EthWalletConnector {
267
267
  error.code = 'connection_rejected';
268
268
  if (WalletConnectV2.provider) {
269
269
  WalletConnectV2.provider.uri = undefined;
270
+ // this is needed for mobile to work when using universal links.
271
+ // if the user cancels the connection, we need to re-initialize the provider
272
+ // so that the async work is done ahead of time, before the user tries to connect again,
273
+ // otherwise they will trigger the iOS bug where they are redirected to the app store
274
+ this.init();
270
275
  }
271
276
  reject(error);
272
277
  });
@@ -258,6 +258,11 @@ class WalletConnectV2 extends EthWalletConnector {
258
258
  error.code = 'connection_rejected';
259
259
  if (WalletConnectV2.provider) {
260
260
  WalletConnectV2.provider.uri = undefined;
261
+ // this is needed for mobile to work when using universal links.
262
+ // if the user cancels the connection, we need to re-initialize the provider
263
+ // so that the async work is done ahead of time, before the user tries to connect again,
264
+ // otherwise they will trigger the iOS bug where they are redirected to the app store
265
+ this.init();
261
266
  }
262
267
  reject(error);
263
268
  });