@dynamic-labs/ethereum-core 4.11.2 → 4.12.1
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 +20 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/utils/viem/createAccountWithUiConfirmation/createAccountWithUiConfirmation.cjs +1 -1
- package/src/utils/viem/createAccountWithUiConfirmation/createAccountWithUiConfirmation.js +1 -1
- package/src/wallet/EthereumWallet.cjs +1 -1
- package/src/wallet/EthereumWallet.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.12.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.12.0...v4.12.1) (2025-04-15)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add dedicated sui wallet client for waas to override transactions ([#8539](https://github.com/dynamic-labs/dynamic-auth/issues/8539)) ([b37b336](https://github.com/dynamic-labs/dynamic-auth/commit/b37b336060dbfd2ad621c86ae78bd07d44a5fe1e))
|
|
8
|
+
|
|
9
|
+
## [4.12.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.11.2...v4.12.0) (2025-04-14)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* add sui sign transaction to waas-sui connector ([#8528](https://github.com/dynamic-labs/dynamic-auth/issues/8528)) ([7dfd806](https://github.com/dynamic-labs/dynamic-auth/commit/7dfd8063ac92d2ec6eb2de71a3ed2946a9f89fe3))
|
|
15
|
+
* implement zksync account abstraction connector ([#8318](https://github.com/dynamic-labs/dynamic-auth/issues/8318)) ([e80b42f](https://github.com/dynamic-labs/dynamic-auth/commit/e80b42f9067450348b0ff02c5b682653353cdcb9))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* only define primary wallet when it is done verifying ([#8521](https://github.com/dynamic-labs/dynamic-auth/issues/8521)) ([34f6058](https://github.com/dynamic-labs/dynamic-auth/commit/34f605817c91cc1b131b4de876609e231703f8b4))
|
|
21
|
+
|
|
2
22
|
### [4.11.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.11.1...v4.11.2) (2025-04-11)
|
|
3
23
|
|
|
4
24
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.12.1",
|
|
4
4
|
"description": "Core package for utilities and types for viem",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
23
|
-
"@dynamic-labs/logger": "4.
|
|
24
|
-
"@dynamic-labs/rpc-providers": "4.
|
|
25
|
-
"@dynamic-labs/types": "4.
|
|
26
|
-
"@dynamic-labs/utils": "4.
|
|
27
|
-
"@dynamic-labs/wallet-book": "4.
|
|
28
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.658",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.12.1",
|
|
23
|
+
"@dynamic-labs/logger": "4.12.1",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.12.1",
|
|
25
|
+
"@dynamic-labs/types": "4.12.1",
|
|
26
|
+
"@dynamic-labs/utils": "4.12.1",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.12.1",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "4.12.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"viem": "^2.21.55"
|
|
@@ -33,7 +33,7 @@ const createAccountWithUiConfirmation = ({ address, account, provider, walletCon
|
|
|
33
33
|
}),
|
|
34
34
|
signTypedData: (...args) => walletUiUtils.signMessage({
|
|
35
35
|
handler: () => _tslib.__awaiter(void 0, void 0, void 0, function* () { return (yield account()).signTypedData(...args); }),
|
|
36
|
-
message: JSON.stringify(args[0]),
|
|
36
|
+
message: JSON.stringify(args[0], (_, value) => typeof value === 'bigint' ? value.toString() : value),
|
|
37
37
|
walletConnector,
|
|
38
38
|
}),
|
|
39
39
|
});
|
|
@@ -29,7 +29,7 @@ const createAccountWithUiConfirmation = ({ address, account, provider, walletCon
|
|
|
29
29
|
}),
|
|
30
30
|
signTypedData: (...args) => walletUiUtils.signMessage({
|
|
31
31
|
handler: () => __awaiter(void 0, void 0, void 0, function* () { return (yield account()).signTypedData(...args); }),
|
|
32
|
-
message: JSON.stringify(args[0]),
|
|
32
|
+
message: JSON.stringify(args[0], (_, value) => typeof value === 'bigint' ? value.toString() : value),
|
|
33
33
|
walletConnector,
|
|
34
34
|
}),
|
|
35
35
|
});
|
|
@@ -81,7 +81,7 @@ class EthereumWallet extends walletConnectorCore.Wallet {
|
|
|
81
81
|
if ('setActiveAccount' in this._connector) {
|
|
82
82
|
this._connector.setActiveAccount(this.address);
|
|
83
83
|
}
|
|
84
|
-
const walletClient = this._connector.getWalletClient(chainId);
|
|
84
|
+
const walletClient = yield this._connector.getWalletClient(chainId);
|
|
85
85
|
if (!walletClient) {
|
|
86
86
|
throw new Error('Unable to retrieve WalletClient');
|
|
87
87
|
}
|
|
@@ -77,7 +77,7 @@ class EthereumWallet extends Wallet {
|
|
|
77
77
|
if ('setActiveAccount' in this._connector) {
|
|
78
78
|
this._connector.setActiveAccount(this.address);
|
|
79
79
|
}
|
|
80
|
-
const walletClient = this._connector.getWalletClient(chainId);
|
|
80
|
+
const walletClient = yield this._connector.getWalletClient(chainId);
|
|
81
81
|
if (!walletClient) {
|
|
82
82
|
throw new Error('Unable to retrieve WalletClient');
|
|
83
83
|
}
|