@dynamic-labs/ethereum 4.61.7 → 4.63.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,29 @@
1
1
 
2
+ ## [4.63.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.62.0...v4.63.0) (2026-02-24)
3
+
4
+
5
+ ### Features
6
+
7
+ * **react-native:** raise walletReturnFromDeepLink event to allow redirecting back to the same route as before ([#10364](https://github.com/dynamic-labs/dynamic-auth/issues/10364)) ([cd56fd0](https://github.com/dynamic-labs/dynamic-auth/commit/cd56fd089e867bb5ed09a7c999b04480d8f59f81))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **react-native:** include redirectUrl in WalletConnect connection deep links on iOS and add session redirect metadata for Solana ([#10479](https://github.com/dynamic-labs/dynamic-auth/issues/10479)) ([68829f9](https://github.com/dynamic-labs/dynamic-auth/commit/68829f9ef39c845917ce49bfd63922e5252c2299))
13
+ * ton external wallet connection ([#10460](https://github.com/dynamic-labs/dynamic-auth/issues/10460)) ([7431a74](https://github.com/dynamic-labs/dynamic-auth/commit/7431a74fcd0bcd04755e6a81b49aa24dfc261f09))
14
+
15
+ ## [4.62.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.61.7...v4.62.0) (2026-02-23)
16
+
17
+
18
+ ### Features
19
+
20
+ * add stellar waas connector ([#10472](https://github.com/dynamic-labs/dynamic-auth/issues/10472)) ([8349afe](https://github.com/dynamic-labs/dynamic-auth/commit/8349afece59b430ef398585b372d4cd2733c0ce4))
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * **react-native:** ensure transaction confirmation UI is displayed ([#10488](https://github.com/dynamic-labs/dynamic-auth/issues/10488)) ([dfa2304](https://github.com/dynamic-labs/dynamic-auth/commit/dfa230435a9ce0febc5b66fcca5098cbe979f8d7))
26
+
2
27
  ### [4.61.7](https://github.com/dynamic-labs/dynamic-auth/compare/v4.61.6...v4.61.7) (2026-02-20)
3
28
 
4
29
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.61.7";
6
+ var version = "4.63.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.61.7";
2
+ var version = "4.63.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ethereum",
3
- "version": "4.61.7",
3
+ "version": "4.63.0",
4
4
  "description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -24,16 +24,16 @@
24
24
  "eventemitter3": "5.0.1",
25
25
  "buffer": "6.0.3",
26
26
  "@metamask/sdk": "0.33.0",
27
- "@dynamic-labs/assert-package-version": "4.61.7",
28
- "@dynamic-labs/embedded-wallet-evm": "4.61.7",
29
- "@dynamic-labs/ethereum-core": "4.61.7",
30
- "@dynamic-labs/logger": "4.61.7",
31
- "@dynamic-labs/rpc-providers": "4.61.7",
32
- "@dynamic-labs/types": "4.61.7",
33
- "@dynamic-labs/utils": "4.61.7",
34
- "@dynamic-labs/waas-evm": "4.61.7",
35
- "@dynamic-labs/wallet-book": "4.61.7",
36
- "@dynamic-labs/wallet-connector-core": "4.61.7"
27
+ "@dynamic-labs/assert-package-version": "4.63.0",
28
+ "@dynamic-labs/embedded-wallet-evm": "4.63.0",
29
+ "@dynamic-labs/ethereum-core": "4.63.0",
30
+ "@dynamic-labs/logger": "4.63.0",
31
+ "@dynamic-labs/rpc-providers": "4.63.0",
32
+ "@dynamic-labs/types": "4.63.0",
33
+ "@dynamic-labs/utils": "4.63.0",
34
+ "@dynamic-labs/waas-evm": "4.63.0",
35
+ "@dynamic-labs/wallet-book": "4.63.0",
36
+ "@dynamic-labs/wallet-connector-core": "4.63.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "viem": "^2.28.4"
@@ -176,6 +176,9 @@ class WalletConnectConnector extends ethereumCore.EthereumWalletConnector {
176
176
  ];
177
177
  const deepLink = this.getDeepLink();
178
178
  if (utils.isMobile() && deepLink && methodsThatRequireDeepLink.includes(method)) {
179
+ // Store current route before opening wallet so we can emit an event on return
180
+ const currentUrl = utils.PlatformService.getUrl();
181
+ utils.walletReturnRoute.set(currentUrl.pathname);
179
182
  utils.PlatformService.openURL(deepLink);
180
183
  }
181
184
  }
@@ -3,7 +3,7 @@ import { __awaiter } from '../../../_virtual/_tslib.js';
3
3
  import { createWalletClient, custom } from 'viem';
4
4
  import { toAccount } from 'viem/accounts';
5
5
  import { EthereumWalletConnector, chainsMap, normalizeRpcError } from '@dynamic-labs/ethereum-core';
6
- import { StorageService, parseIntSafe, DynamicError, isMobile, PlatformService } from '@dynamic-labs/utils';
6
+ import { StorageService, parseIntSafe, DynamicError, isMobile, PlatformService, walletReturnRoute } from '@dynamic-labs/utils';
7
7
  import { logger, getDeepLink, isSameAddress } from '@dynamic-labs/wallet-connector-core';
8
8
  import { WalletConnectProvider } from '../WalletConnectProvider/WalletConnectProvider.js';
9
9
 
@@ -172,6 +172,9 @@ class WalletConnectConnector extends EthereumWalletConnector {
172
172
  ];
173
173
  const deepLink = this.getDeepLink();
174
174
  if (isMobile() && deepLink && methodsThatRequireDeepLink.includes(method)) {
175
+ // Store current route before opening wallet so we can emit an event on return
176
+ const currentUrl = PlatformService.getUrl();
177
+ walletReturnRoute.set(currentUrl.pathname);
175
178
  PlatformService.openURL(deepLink);
176
179
  }
177
180
  }
@@ -111,7 +111,8 @@ WalletConnectProvider.connect = (_b) => _tslib.__awaiter(void 0, [_b], void 0, f
111
111
  yield walletConnectorCore.performPlatformSpecificConnectionMethod(_a.connectionUri, deepLinks, {
112
112
  onDesktopUri: connectionOpts === null || connectionOpts === void 0 ? void 0 : connectionOpts.onDesktopUri,
113
113
  onDisplayUri: connectionOpts === null || connectionOpts === void 0 ? void 0 : connectionOpts.onDisplayUri,
114
- }, deepLinkPreference);
114
+ }, deepLinkPreference, _a.redirectNative ||
115
+ _a.redirectUniversal);
115
116
  logger.logger.debug('[WalletConnectProvider] removing display_uri event listener');
116
117
  (_c = _a.provider) === null || _c === void 0 ? void 0 : _c.off('display_uri', handleDisplayURI);
117
118
  });
@@ -103,7 +103,8 @@ WalletConnectProvider.connect = (_b) => __awaiter(void 0, [_b], void 0, function
103
103
  yield performPlatformSpecificConnectionMethod(_a.connectionUri, deepLinks, {
104
104
  onDesktopUri: connectionOpts === null || connectionOpts === void 0 ? void 0 : connectionOpts.onDesktopUri,
105
105
  onDisplayUri: connectionOpts === null || connectionOpts === void 0 ? void 0 : connectionOpts.onDisplayUri,
106
- }, deepLinkPreference);
106
+ }, deepLinkPreference, _a.redirectNative ||
107
+ _a.redirectUniversal);
107
108
  logger.debug('[WalletConnectProvider] removing display_uri event listener');
108
109
  (_c = _a.provider) === null || _c === void 0 ? void 0 : _c.off('display_uri', handleDisplayURI);
109
110
  });