@dynamic-labs/wallet-connector-core 4.100.2 → 4.100.4

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,21 @@
1
1
 
2
+ ### [4.100.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.3...v4.100.4) (2026-10-08)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **embedded-webview:** connect Coinbase Wallet via a real popup window [V4 backport] ([#12429](https://github.com/dynamic-labs/dynamic-auth/issues/12429)) ([82368fd](https://github.com/dynamic-labs/dynamic-auth/commit/82368fd41791e3a6e2ffec4dc6a0b401a7bec82f))
8
+ * **rpc-providers:** skip networks without an RPC URL instead of throwing [v4 backport] ([#12431](https://github.com/dynamic-labs/dynamic-auth/issues/12431)) ([95f05c5](https://github.com/dynamic-labs/dynamic-auth/commit/95f05c5c0c5195cc02f4dbc9969e90fc2e41eae0))
9
+ * unblock v4 CI (Playwright password/sign-message tests, shell-quote critical advisory) [V4 backport] ([#12475](https://github.com/dynamic-labs/dynamic-auth/issues/12475)) ([c4ad2ba](https://github.com/dynamic-labs/dynamic-auth/commit/c4ad2ba52a5d329a6b324b27c4ccfb3b48970223)), closes [#12468](https://github.com/dynamic-labs/dynamic-auth/issues/12468) [#1936](https://github.com/dynamic-labs/dynamic-auth/issues/1936) [#12476](https://github.com/dynamic-labs/dynamic-auth/issues/12476)
10
+ * **waas:** fall back when crypto.randomUUID is unavailable (v4 backport) ([#12436](https://github.com/dynamic-labs/dynamic-auth/issues/12436)) ([c72781e](https://github.com/dynamic-labs/dynamic-auth/commit/c72781ebf4269b356a98f3fc167bbd643a601bfd))
11
+
12
+ ### [4.100.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.2...v4.100.3) (2026-09-18)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **webview-controller:** make sure rabby uses native deeplink on Android ([#12421](https://github.com/dynamic-labs/dynamic-auth/issues/12421)) ([7c28ff9](https://github.com/dynamic-labs/dynamic-auth/commit/7c28ff9767e4afe34f489153e5f05456180eef5b))
18
+
2
19
  ### [4.100.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.1...v4.100.2) (2026-09-17)
3
20
 
4
21
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.100.2";
6
+ var version = "4.100.4";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.100.2";
2
+ var version = "4.100.4";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-connector-core",
3
- "version": "4.100.2",
3
+ "version": "4.100.4",
4
4
  "description": "Core package for utilities and types for handling multiple wallet/chain support Dynamic SDK",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -23,12 +23,12 @@
23
23
  "@dynamic-labs-wallet/browser-wallet-client": "1.1.10",
24
24
  "@dynamic-labs-wallet/core": "1.1.10",
25
25
  "@dynamic-labs-wallet/forward-mpc-client": "2.0.2",
26
- "@dynamic-labs/assert-package-version": "4.100.2",
27
- "@dynamic-labs/logger": "4.100.2",
28
- "@dynamic-labs/rpc-providers": "4.100.2",
29
- "@dynamic-labs/types": "4.100.2",
30
- "@dynamic-labs/utils": "4.100.2",
31
- "@dynamic-labs/wallet-book": "4.100.2",
26
+ "@dynamic-labs/assert-package-version": "4.100.4",
27
+ "@dynamic-labs/logger": "4.100.4",
28
+ "@dynamic-labs/rpc-providers": "4.100.4",
29
+ "@dynamic-labs/types": "4.100.4",
30
+ "@dynamic-labs/utils": "4.100.4",
31
+ "@dynamic-labs/wallet-book": "4.100.4",
32
32
  "eventemitter3": "5.0.1"
33
33
  },
34
34
  "peerDependencies": {}
@@ -4,12 +4,12 @@
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  const getRpcUrlForChain = ({ networks, chainId, }) => {
7
- var _a;
7
+ var _a, _b;
8
8
  const network = networks.find((network) => network.chainId === chainId);
9
9
  if (!network) {
10
10
  return undefined;
11
11
  }
12
- return ((_a = network.privateCustomerRpcUrls) === null || _a === void 0 ? void 0 : _a[0]) || network.rpcUrls[0];
12
+ return ((_a = network.privateCustomerRpcUrls) === null || _a === void 0 ? void 0 : _a[0]) || ((_b = network.rpcUrls) === null || _b === void 0 ? void 0 : _b[0]);
13
13
  };
14
14
 
15
15
  exports.getRpcUrlForChain = getRpcUrlForChain;
@@ -1,11 +1,11 @@
1
1
  'use client'
2
2
  const getRpcUrlForChain = ({ networks, chainId, }) => {
3
- var _a;
3
+ var _a, _b;
4
4
  const network = networks.find((network) => network.chainId === chainId);
5
5
  if (!network) {
6
6
  return undefined;
7
7
  }
8
- return ((_a = network.privateCustomerRpcUrls) === null || _a === void 0 ? void 0 : _a[0]) || network.rpcUrls[0];
8
+ return ((_a = network.privateCustomerRpcUrls) === null || _a === void 0 ? void 0 : _a[0]) || ((_b = network.rpcUrls) === null || _b === void 0 ? void 0 : _b[0]);
9
9
  };
10
10
 
11
11
  export { getRpcUrlForChain };
@@ -6,14 +6,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  var utils = require('@dynamic-labs/utils');
7
7
 
8
8
  const getConnectionDeepLink = (uri, deepLinks, preference, redirectUrl) => {
9
- // on android, the connection deeplink is simply the uri
10
- // see: https://docs.walletconnect.com/mobile-linking#for-android
11
- if (utils.isAndroid()) {
12
- return uri;
13
- }
14
9
  const deepLink = getRegularDeepLink(uri, deepLinks, preference);
15
10
  if (!deepLink) {
16
- return `${deepLink}?uri=${encodeURIComponent(uri)}`;
11
+ return uri;
17
12
  }
18
13
  const deepLinkUrl = new URL(deepLink);
19
14
  const deepLinkParams = new URLSearchParams(deepLinkUrl.search);
@@ -26,11 +21,6 @@ const getConnectionDeepLink = (uri, deepLinks, preference, redirectUrl) => {
26
21
  };
27
22
  const getRegularDeepLink = (uri, deepLinks, preference) => {
28
23
  var _a, _b, _c, _d;
29
- if (utils.isAndroid()) {
30
- // on android, the deeplink is simply the uri, without the query params
31
- // see: https://docs.walletconnect.com/mobile-linking#for-android
32
- return uri.split('?')[0];
33
- }
34
24
  const index = utils.isMobile() ? 'mobile' : 'desktop';
35
25
  let origin;
36
26
  if (preference === 'native') {
@@ -1,15 +1,10 @@
1
1
  'use client'
2
- import { isAndroid, isMobile } from '@dynamic-labs/utils';
2
+ import { isMobile } from '@dynamic-labs/utils';
3
3
 
4
4
  const getConnectionDeepLink = (uri, deepLinks, preference, redirectUrl) => {
5
- // on android, the connection deeplink is simply the uri
6
- // see: https://docs.walletconnect.com/mobile-linking#for-android
7
- if (isAndroid()) {
8
- return uri;
9
- }
10
5
  const deepLink = getRegularDeepLink(uri, deepLinks, preference);
11
6
  if (!deepLink) {
12
- return `${deepLink}?uri=${encodeURIComponent(uri)}`;
7
+ return uri;
13
8
  }
14
9
  const deepLinkUrl = new URL(deepLink);
15
10
  const deepLinkParams = new URLSearchParams(deepLinkUrl.search);
@@ -22,11 +17,6 @@ const getConnectionDeepLink = (uri, deepLinks, preference, redirectUrl) => {
22
17
  };
23
18
  const getRegularDeepLink = (uri, deepLinks, preference) => {
24
19
  var _a, _b, _c, _d;
25
- if (isAndroid()) {
26
- // on android, the deeplink is simply the uri, without the query params
27
- // see: https://docs.walletconnect.com/mobile-linking#for-android
28
- return uri.split('?')[0];
29
- }
30
20
  const index = isMobile() ? 'mobile' : 'desktop';
31
21
  let origin;
32
22
  if (preference === 'native') {