@dynamic-labs/global-wallet-client 4.91.1 → 4.91.3

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,40 @@
1
1
 
2
+ ### [4.91.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.2...v4.91.3) (2026-06-30)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **bitcoin:** detect late-registering wallet-standard wallets (DYNT-1210) ([#11747](https://github.com/dynamic-labs/dynamic-auth/issues/11747)) ([17809f6](https://github.com/dynamic-labs/dynamic-auth/commit/17809f6e811fe101367cc31a2d899a8d0b0d107e))
8
+ * fetch onramp providers lazily instead of eagerly on mount ([#11767](https://github.com/dynamic-labs/dynamic-auth/issues/11767)) ([3ee6708](https://github.com/dynamic-labs/dynamic-auth/commit/3ee67087142ae1942f865e0ab37b7108700b3327))
9
+ * **iframe-setup:** sync parent URL to iframe on pushState/replaceState ([#11751](https://github.com/dynamic-labs/dynamic-auth/issues/11751)) ([c8be3af](https://github.com/dynamic-labs/dynamic-auth/commit/c8be3afc301f77b349f23398bed940ce40f93b73))
10
+ * **nonce:** fetch nonce on demand when missing before wallet verification ([#11753](https://github.com/dynamic-labs/dynamic-auth/issues/11753)) ([4f01a21](https://github.com/dynamic-labs/dynamic-auth/commit/4f01a21b6081c852f32868c8a5e04d70aaf280a2)), closes [#1](https://github.com/dynamic-labs/dynamic-auth/issues/1)
11
+ * **react-native-extension:** arm loading timer before setUrl to cover pre-onLoadStart gap ([#11764](https://github.com/dynamic-labs/dynamic-auth/issues/11764)) ([31f2015](https://github.com/dynamic-labs/dynamic-auth/commit/31f20151a4b59279f9c133b723e50de771b06436))
12
+ * **webview-controller:** unwrap ZeroDev smart wallet for native gasless ([#11758](https://github.com/dynamic-labs/dynamic-auth/issues/11758)) ([989714e](https://github.com/dynamic-labs/dynamic-auth/commit/989714e414556868c8e0c54401aac1ed7354331b))
13
+
14
+ ### [4.91.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.1...v4.91.2) (2026-06-26)
15
+
16
+
17
+ ### ⚠ BREAKING CHANGES
18
+
19
+ * **waas:** require expectedAddresses on migrateFromFireblocks (#11730)
20
+
21
+ ### Features
22
+
23
+ * **midnight:** support shielded/unshielded transfers and dust states in the embedded Send flow ([#11731](https://github.com/dynamic-labs/dynamic-auth/issues/11731)) ([663d171](https://github.com/dynamic-labs/dynamic-auth/commit/663d171a9628c634586831ee35c234e9331e3f80))
24
+ * **react-native-extension:** instrument all embedded webview failure paths ([#11737](https://github.com/dynamic-labs/dynamic-auth/issues/11737)) ([172998b](https://github.com/dynamic-labs/dynamic-auth/commit/172998b56e9bee04fbb8da71e83ce8885bc378ff))
25
+ * **waas:** migrateFromFireblocks connector method + demo panel (browser-wallet-client 1.0.46) ([#11702](https://github.com/dynamic-labs/dynamic-auth/issues/11702)) ([6bfc844](https://github.com/dynamic-labs/dynamic-auth/commit/6bfc8443fbaedabe1e7bee0ed78742cbbe5d0084))
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * add coverage for scenario with passkey re-login and smart account ([#11726](https://github.com/dynamic-labs/dynamic-auth/issues/11726)) ([5364a72](https://github.com/dynamic-labs/dynamic-auth/commit/5364a72a750d835b9b2da602a91e8b5d7d305db7))
31
+ * remediate high-severity dependency vulnerabilities ([#11721](https://github.com/dynamic-labs/dynamic-auth/issues/11721)) ([cdb9306](https://github.com/dynamic-labs/dynamic-auth/commit/cdb93061365a20b8f73a1f8bea8352332e282c1e))
32
+ * replace node-fetch v2 with native fetch to fix Node 22 stream failure ([#11732](https://github.com/dynamic-labs/dynamic-auth/issues/11732)) ([b98f801](https://github.com/dynamic-labs/dynamic-auth/commit/b98f801e307b52dbd7e4b241a9a4a2d34d89118e))
33
+ * **zerodev-extension:** derive kernel 7702 vs 4337 per-wallet, not from global dashboard flag ([#11735](https://github.com/dynamic-labs/dynamic-auth/issues/11735)) ([72cf6a7](https://github.com/dynamic-labs/dynamic-auth/commit/72cf6a70a4857a4ea469faa555c485dbad8d0217))
34
+
35
+
36
+ * **waas:** require expectedAddresses on migrateFromFireblocks ([#11730](https://github.com/dynamic-labs/dynamic-auth/issues/11730)) ([c94824e](https://github.com/dynamic-labs/dynamic-auth/commit/c94824ebe11e0433a6ffbd2a5a9dd4283aeed31e))
37
+
2
38
  ### [4.91.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.0...v4.91.1) (2026-06-24)
3
39
 
4
40
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.91.1";
6
+ var version = "4.91.3";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.91.1";
2
+ var version = "4.91.3";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/global-wallet-client",
3
- "version": "4.91.1",
3
+ "version": "4.91.3",
4
4
  "description": "Core package for building Dynamic's Global Wallet",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -71,13 +71,13 @@
71
71
  },
72
72
  "homepage": "https://www.dynamic.xyz/",
73
73
  "dependencies": {
74
- "@dynamic-labs/assert-package-version": "4.91.1",
75
- "@dynamic-labs/ethereum-aa-zksync": "4.91.1",
76
- "@dynamic-labs/logger": "4.91.1",
77
- "@dynamic-labs/message-transport": "4.91.1",
78
- "@dynamic-labs/store": "4.91.1",
79
- "@dynamic-labs/types": "4.91.1",
80
- "@dynamic-labs/utils": "4.91.1",
74
+ "@dynamic-labs/assert-package-version": "4.91.3",
75
+ "@dynamic-labs/ethereum-aa-zksync": "4.91.3",
76
+ "@dynamic-labs/logger": "4.91.3",
77
+ "@dynamic-labs/message-transport": "4.91.3",
78
+ "@dynamic-labs/store": "4.91.3",
79
+ "@dynamic-labs/types": "4.91.3",
80
+ "@dynamic-labs/utils": "4.91.3",
81
81
  "eventemitter3": "5.0.1"
82
82
  },
83
83
  "peerDependencies": {
@@ -89,7 +89,7 @@
89
89
  "zksync-sso": "0.2.0",
90
90
  "@wallet-standard/wallet": "^1.1.0",
91
91
  "@zerodev/sdk": "5.5.7",
92
- "@dynamic-labs/ethereum-aa": "4.91.1"
92
+ "@dynamic-labs/ethereum-aa": "4.91.3"
93
93
  },
94
94
  "peerDependenciesMeta": {
95
95
  "viem": {
@@ -72,6 +72,15 @@ const createKernelClient = (_a) => _tslib.__awaiter(void 0, [_a], void 0, functi
72
72
  transport: viem.custom(provider),
73
73
  });
74
74
  const accountSettings = yield getKernelAccountSettings.getKernelAccountSettings({ chainId, wallet });
75
+ // The kernel TYPE is per-wallet, not global: a 7702 wallet IS its EOA (same
76
+ // address), whereas a 4337 wallet has a distinct counterfactual address.
77
+ // Deciding 7702 from the dashboard flag alone makes every wallet resolve to
78
+ // the same EOA-addressed account, so the passed wallet is ignored. Gate the
79
+ // 7702 path on per-wallet address equality.
80
+ const isWallet7702 = Boolean(accountSettings.enableEIP7702) &&
81
+ Boolean(wallet.address) &&
82
+ Boolean(eoaWallet.address) &&
83
+ wallet.address.toLowerCase() === eoaWallet.address.toLowerCase();
75
84
  const params = {
76
85
  apiKernelVersion: accountSettings.kernelVersion,
77
86
  bundlerRpc,
@@ -87,7 +96,7 @@ const createKernelClient = (_a) => _tslib.__awaiter(void 0, [_a], void 0, functi
87
96
  provider: bundlerProvider,
88
97
  signer: walletClient,
89
98
  };
90
- if (accountSettings.enableEIP7702) {
99
+ if (isWallet7702) {
91
100
  return ethereumAa.createEcdsaKernelAccountClientWith7702(Object.assign(Object.assign({}, params), { kernelVersion: constants.KERNEL_V3_3 }));
92
101
  }
93
102
  return ethereumAa.createEcdsaKernelAccountClient(Object.assign(Object.assign({}, params), { ecdsaValidator: ethereumAa.getEcdsaValidator((_b = accountSettings.ecdsaProviderType) !== null && _b !== void 0 ? _b : undefined) }));
@@ -48,6 +48,15 @@ const createKernelClient = (_a) => __awaiter(void 0, [_a], void 0, function* ({
48
48
  transport: custom(provider),
49
49
  });
50
50
  const accountSettings = yield getKernelAccountSettings({ chainId, wallet });
51
+ // The kernel TYPE is per-wallet, not global: a 7702 wallet IS its EOA (same
52
+ // address), whereas a 4337 wallet has a distinct counterfactual address.
53
+ // Deciding 7702 from the dashboard flag alone makes every wallet resolve to
54
+ // the same EOA-addressed account, so the passed wallet is ignored. Gate the
55
+ // 7702 path on per-wallet address equality.
56
+ const isWallet7702 = Boolean(accountSettings.enableEIP7702) &&
57
+ Boolean(wallet.address) &&
58
+ Boolean(eoaWallet.address) &&
59
+ wallet.address.toLowerCase() === eoaWallet.address.toLowerCase();
51
60
  const params = {
52
61
  apiKernelVersion: accountSettings.kernelVersion,
53
62
  bundlerRpc,
@@ -63,7 +72,7 @@ const createKernelClient = (_a) => __awaiter(void 0, [_a], void 0, function* ({
63
72
  provider: bundlerProvider,
64
73
  signer: walletClient,
65
74
  };
66
- if (accountSettings.enableEIP7702) {
75
+ if (isWallet7702) {
67
76
  return createEcdsaKernelAccountClientWith7702(Object.assign(Object.assign({}, params), { kernelVersion: KERNEL_V3_3 }));
68
77
  }
69
78
  return createEcdsaKernelAccountClient(Object.assign(Object.assign({}, params), { ecdsaValidator: getEcdsaValidator((_b = accountSettings.ecdsaProviderType) !== null && _b !== void 0 ? _b : undefined) }));