@dynamic-labs/wallet-connect 4.103.0 → 4.104.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,20 @@
1
1
 
2
+ ## [4.104.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.103.0...v4.104.0) (2026-11-03)
3
+
4
+
5
+ ### Features
6
+
7
+ * **sdk-react-core:** offer passkey recovery when export fails in upgrade flow [v4] ([#12641](https://github.com/dynamic-labs/dynamic-auth/issues/12641)) ([916829f](https://github.com/dynamic-labs/dynamic-auth/commit/916829f1eaf9f6cae7d8c0b5069512fceafa15a4))
8
+ * **webview:** forward policiesConsentLabels manifest field to SDK settings [v4] ([#12608](https://github.com/dynamic-labs/dynamic-auth/issues/12608)) ([b9ef167](https://github.com/dynamic-labs/dynamic-auth/commit/b9ef1676576eea8452c7149308492aea578b6c91))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **iconic:** add Zerion wallet icon [v4] ([#12651](https://github.com/dynamic-labs/dynamic-auth/issues/12651)) ([f5257ee](https://github.com/dynamic-labs/dynamic-auth/commit/f5257ee28fc7e8d46657957f59c13503e7eccce8))
14
+ * **react-native:** serialize WalletConnect native storage values as JSON strings ([#12682](https://github.com/dynamic-labs/dynamic-auth/issues/12682)) ([df2795a](https://github.com/dynamic-labs/dynamic-auth/commit/df2795aa432a94e429859082468b89705226dc70))
15
+ * **sdk-react-core:** default wallet return redirectUrl to current page [v4] ([#12660](https://github.com/dynamic-labs/dynamic-auth/issues/12660)) ([29b8f38](https://github.com/dynamic-labs/dynamic-auth/commit/29b8f380858ef65c52187aeb50123a287eb7b4ec))
16
+ * **waas-svm:** keep the blockhash of a transaction another key already signed ([#12678](https://github.com/dynamic-labs/dynamic-auth/issues/12678)) ([549553c](https://github.com/dynamic-labs/dynamic-auth/commit/549553c1275b3cc3995e183966a32a5f6ae63534)), closes [#12676](https://github.com/dynamic-labs/dynamic-auth/issues/12676)
17
+
2
18
  ## [4.103.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.102.0...v4.103.0) (2026-10-27)
3
19
 
4
20
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.103.0";
6
+ var version = "4.104.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.103.0";
2
+ var version = "4.104.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-connect",
3
- "version": "4.103.0",
3
+ "version": "4.104.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",
@@ -18,10 +18,10 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/logger": "4.103.0",
21
+ "@dynamic-labs/logger": "4.104.0",
22
22
  "@walletconnect/keyvaluestorage": "1.1.1",
23
23
  "@walletconnect/sign-client": "2.21.10",
24
- "@dynamic-labs/assert-package-version": "4.103.0"
24
+ "@dynamic-labs/assert-package-version": "4.104.0"
25
25
  },
26
26
  "peerDependencies": {}
27
27
  }
@@ -22,7 +22,14 @@ var SignClient__default = /*#__PURE__*/_interopDefaultLegacy(SignClient);
22
22
  let signClientSingleton = undefined;
23
23
  const getSignClientSingleton = (_a) => _tslib.__awaiter(void 0, [_a], void 0, function* ({ projectId, appIcon, appName, redirectUrl, }) {
24
24
  if (!signClientSingleton) {
25
- const redirect = redirectUrl ? { native: redirectUrl } : undefined;
25
+ // WalletConnect distinguishes `native` (custom-scheme deeplinks) from
26
+ // `universal` (https) redirect metadata. Labeling an https URL as native
27
+ // gives wallets a return link they cannot use as a deeplink, so pick the
28
+ // key by scheme.
29
+ const universalRedirect = (redirectUrl === null || redirectUrl === void 0 ? void 0 : redirectUrl.startsWith('http'))
30
+ ? { universal: redirectUrl }
31
+ : undefined;
32
+ const redirect = universalRedirect !== null && universalRedirect !== void 0 ? universalRedirect : (redirectUrl ? { native: redirectUrl } : undefined);
26
33
  // Repair WalletConnect's IndexedDB object store before SignClient opens it,
27
34
  // so an interrupted upgrade (iOS WebKit reload) that left the store missing
28
35
  // can't make every subsequent read/write throw NotFoundError.
@@ -14,7 +14,14 @@ import { reconcileOrphanedPairings } from './reconcileOrphanedPairings.js';
14
14
  let signClientSingleton = undefined;
15
15
  const getSignClientSingleton = (_a) => __awaiter(void 0, [_a], void 0, function* ({ projectId, appIcon, appName, redirectUrl, }) {
16
16
  if (!signClientSingleton) {
17
- const redirect = redirectUrl ? { native: redirectUrl } : undefined;
17
+ // WalletConnect distinguishes `native` (custom-scheme deeplinks) from
18
+ // `universal` (https) redirect metadata. Labeling an https URL as native
19
+ // gives wallets a return link they cannot use as a deeplink, so pick the
20
+ // key by scheme.
21
+ const universalRedirect = (redirectUrl === null || redirectUrl === void 0 ? void 0 : redirectUrl.startsWith('http'))
22
+ ? { universal: redirectUrl }
23
+ : undefined;
24
+ const redirect = universalRedirect !== null && universalRedirect !== void 0 ? universalRedirect : (redirectUrl ? { native: redirectUrl } : undefined);
18
25
  // Repair WalletConnect's IndexedDB object store before SignClient opens it,
19
26
  // so an interrupted upgrade (iOS WebKit reload) that left the store missing
20
27
  // can't make every subsequent read/write throw NotFoundError.