@dynamic-labs/global-wallet-client 4.91.0 → 4.91.2
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,47 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.91.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.1...v4.91.2) (2026-06-26)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* **waas:** require expectedAddresses on migrateFromFireblocks (#11730)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
* **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))
|
|
13
|
+
* **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))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* 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))
|
|
19
|
+
* 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))
|
|
20
|
+
* 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))
|
|
21
|
+
* **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))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
* **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))
|
|
25
|
+
|
|
26
|
+
### [4.91.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.0...v4.91.1) (2026-06-24)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **aleo:** update sendBalance with individual and marketplace logic ([#11709](https://github.com/dynamic-labs/dynamic-auth/issues/11709)) ([f8dfc48](https://github.com/dynamic-labs/dynamic-auth/commit/f8dfc488ae607fbbbcc3432a3ef69f746f0b7df0))
|
|
32
|
+
* **sdk-react-core:** surface shielded address in Midnight deposit view ([#11698](https://github.com/dynamic-labs/dynamic-auth/issues/11698)) ([79c5402](https://github.com/dynamic-labs/dynamic-auth/commit/79c54029b1d8f722cf9f1d8b4c11977898442ac0))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* display actual error message for WaaS export failures instead of generic fallback ([#11498](https://github.com/dynamic-labs/dynamic-auth/issues/11498)) ([373c931](https://github.com/dynamic-labs/dynamic-auth/commit/373c931eb96c88e484c557ee8f2934660d028f97))
|
|
38
|
+
* **wallet-book:** guard replaceKey and remove stale override ([#11682](https://github.com/dynamic-labs/dynamic-auth/issues/11682)) ([13947d9](https://github.com/dynamic-labs/dynamic-auth/commit/13947d972ed1f8227712bfc01af9cc2be616a78a))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Performance Improvements
|
|
42
|
+
|
|
43
|
+
* **e2e:** prebuild Expo web bundle for RN e2e tests ([#11674](https://github.com/dynamic-labs/dynamic-auth/issues/11674)) ([16e002d](https://github.com/dynamic-labs/dynamic-auth/commit/16e002d59b2035e3f2c116879a78418a959da8bc))
|
|
44
|
+
|
|
2
45
|
## [4.91.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.90.0...v4.91.0) (2026-06-23)
|
|
3
46
|
|
|
4
47
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/global-wallet-client",
|
|
3
|
-
"version": "4.91.
|
|
3
|
+
"version": "4.91.2",
|
|
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.
|
|
75
|
-
"@dynamic-labs/ethereum-aa-zksync": "4.91.
|
|
76
|
-
"@dynamic-labs/logger": "4.91.
|
|
77
|
-
"@dynamic-labs/message-transport": "4.91.
|
|
78
|
-
"@dynamic-labs/store": "4.91.
|
|
79
|
-
"@dynamic-labs/types": "4.91.
|
|
80
|
-
"@dynamic-labs/utils": "4.91.
|
|
74
|
+
"@dynamic-labs/assert-package-version": "4.91.2",
|
|
75
|
+
"@dynamic-labs/ethereum-aa-zksync": "4.91.2",
|
|
76
|
+
"@dynamic-labs/logger": "4.91.2",
|
|
77
|
+
"@dynamic-labs/message-transport": "4.91.2",
|
|
78
|
+
"@dynamic-labs/store": "4.91.2",
|
|
79
|
+
"@dynamic-labs/types": "4.91.2",
|
|
80
|
+
"@dynamic-labs/utils": "4.91.2",
|
|
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.
|
|
92
|
+
"@dynamic-labs/ethereum-aa": "4.91.2"
|
|
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 (
|
|
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 (
|
|
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) }));
|