@dynamic-labs/ethereum 1.1.4 → 1.1.5

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
+ ### [1.1.5](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.4...v1.1.5) (2024-02-28)
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix server side rendering ([#4813](https://github.com/dynamic-labs/DynamicAuth/issues/4813)) ([0665821](https://github.com/dynamic-labs/DynamicAuth/commit/066582191bd67c3a4c0ef0a7e6f931bf0eaeed60))
7
+ * fix universal links when using walletconnect ([#4773](https://github.com/dynamic-labs/DynamicAuth/issues/4773)) ([#4779](https://github.com/dynamic-labs/DynamicAuth/issues/4779)) ([a3b7f1c](https://github.com/dynamic-labs/DynamicAuth/commit/a3b7f1cf9880f6e3fdf6b24d782fe3af6774f74f))
8
+ * fix sticky positioned elements while dynamic-no-scroll is applied ([#4731](https://github.com/dynamic-labs/DynamicAuth/issues/4731)) ([0aff2c6](https://github.com/dynamic-labs/DynamicAuth/commit/0aff2c6004d7b81f37c5cd61e3c71b3d86e3dcb9)), closes [#4696](https://github.com/dynamic-labs/DynamicAuth/issues/4696)
9
+
2
10
  ### [1.1.4](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.3...v1.1.4) (2024-02-21)
3
11
 
4
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ethereum",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
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.1.4",
36
- "@dynamic-labs/turnkey": "1.1.4",
37
- "@dynamic-labs/types": "1.1.4",
38
- "@dynamic-labs/utils": "1.1.4",
39
- "@dynamic-labs/wallet-book": "1.1.4",
40
- "@dynamic-labs/wallet-connector-core": "1.1.4",
35
+ "@dynamic-labs/rpc-providers": "1.1.5",
36
+ "@dynamic-labs/turnkey": "1.1.5",
37
+ "@dynamic-labs/types": "1.1.5",
38
+ "@dynamic-labs/utils": "1.1.5",
39
+ "@dynamic-labs/wallet-book": "1.1.5",
40
+ "@dynamic-labs/wallet-connector-core": "1.1.5",
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
  });