@dynamic-labs/ethereum-core 4.19.1 → 4.19.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 +14 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/wallet/EthereumWallet.cjs +4 -5
- package/src/wallet/EthereumWallet.js +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.19.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.2...v4.19.3) (2025-05-28)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* rerender issue with Slush wallet pop up appearing multiple times ([#8817](https://github.com/dynamic-labs/dynamic-auth/issues/8817)) ([bea0da6](https://github.com/dynamic-labs/dynamic-auth/commit/bea0da647bab983610ebbf18a6ca66ba0ac569bf))
|
|
8
|
+
|
|
9
|
+
### [4.19.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.1...v4.19.2) (2025-05-27)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* always set the current wallet address when creating WalletClient for that wallet ([#8800](https://github.com/dynamic-labs/dynamic-auth/issues/8800)) ([3282902](https://github.com/dynamic-labs/dynamic-auth/commit/3282902581d429b66c91c533f5573964174e43d6))
|
|
15
|
+
|
|
2
16
|
### [4.19.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.0...v4.19.1) (2025-05-26)
|
|
3
17
|
|
|
4
18
|
|
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.19.
|
|
3
|
+
"version": "4.19.3",
|
|
4
4
|
"description": "Core package for utilities and types for viem",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.0.672",
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.19.
|
|
23
|
-
"@dynamic-labs/logger": "4.19.
|
|
24
|
-
"@dynamic-labs/rpc-providers": "4.19.
|
|
25
|
-
"@dynamic-labs/types": "4.19.
|
|
26
|
-
"@dynamic-labs/utils": "4.19.
|
|
27
|
-
"@dynamic-labs/wallet-book": "4.19.
|
|
28
|
-
"@dynamic-labs/wallet-connector-core": "4.19.
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.19.3",
|
|
23
|
+
"@dynamic-labs/logger": "4.19.3",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.19.3",
|
|
25
|
+
"@dynamic-labs/types": "4.19.3",
|
|
26
|
+
"@dynamic-labs/utils": "4.19.3",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.19.3",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "4.19.3"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"viem": "^2.21.60"
|
|
@@ -78,7 +78,6 @@ class EthereumWallet extends walletConnectorCore.Wallet {
|
|
|
78
78
|
*/
|
|
79
79
|
getWalletClient(chainId) {
|
|
80
80
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
81
|
-
var _a;
|
|
82
81
|
// Set active account if connector supports it, not AA atm
|
|
83
82
|
if ('setActiveAccount' in this._connector) {
|
|
84
83
|
this._connector.setActiveAccount(this.address);
|
|
@@ -88,18 +87,18 @@ class EthereumWallet extends walletConnectorCore.Wallet {
|
|
|
88
87
|
throw new Error('Unable to retrieve WalletClient');
|
|
89
88
|
}
|
|
90
89
|
return viem.createWalletClient({
|
|
91
|
-
account:
|
|
90
|
+
account: this.address,
|
|
92
91
|
chain: walletClient.chain,
|
|
93
92
|
transport: interceptTransport.interceptTransport({
|
|
94
|
-
onPersonalSign: (
|
|
93
|
+
onPersonalSign: (_a) => _tslib.__awaiter(this, [_a], void 0, function* ({ provider, args }) {
|
|
95
94
|
yield this.sync();
|
|
96
95
|
return provider.request(args);
|
|
97
96
|
}),
|
|
98
|
-
onSendTransaction: (
|
|
97
|
+
onSendTransaction: (_b) => _tslib.__awaiter(this, [_b], void 0, function* ({ provider, args }) {
|
|
99
98
|
yield this.sync();
|
|
100
99
|
return provider.request(args);
|
|
101
100
|
}),
|
|
102
|
-
onSignTypedData: (
|
|
101
|
+
onSignTypedData: (_c) => _tslib.__awaiter(this, [_c], void 0, function* ({ provider, args }) {
|
|
103
102
|
yield this.sync();
|
|
104
103
|
return provider.request(args);
|
|
105
104
|
}),
|
|
@@ -74,7 +74,6 @@ class EthereumWallet extends Wallet {
|
|
|
74
74
|
*/
|
|
75
75
|
getWalletClient(chainId) {
|
|
76
76
|
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
-
var _a;
|
|
78
77
|
// Set active account if connector supports it, not AA atm
|
|
79
78
|
if ('setActiveAccount' in this._connector) {
|
|
80
79
|
this._connector.setActiveAccount(this.address);
|
|
@@ -84,18 +83,18 @@ class EthereumWallet extends Wallet {
|
|
|
84
83
|
throw new Error('Unable to retrieve WalletClient');
|
|
85
84
|
}
|
|
86
85
|
return createWalletClient({
|
|
87
|
-
account:
|
|
86
|
+
account: this.address,
|
|
88
87
|
chain: walletClient.chain,
|
|
89
88
|
transport: interceptTransport({
|
|
90
|
-
onPersonalSign: (
|
|
89
|
+
onPersonalSign: (_a) => __awaiter(this, [_a], void 0, function* ({ provider, args }) {
|
|
91
90
|
yield this.sync();
|
|
92
91
|
return provider.request(args);
|
|
93
92
|
}),
|
|
94
|
-
onSendTransaction: (
|
|
93
|
+
onSendTransaction: (_b) => __awaiter(this, [_b], void 0, function* ({ provider, args }) {
|
|
95
94
|
yield this.sync();
|
|
96
95
|
return provider.request(args);
|
|
97
96
|
}),
|
|
98
|
-
onSignTypedData: (
|
|
97
|
+
onSignTypedData: (_c) => __awaiter(this, [_c], void 0, function* ({ provider, args }) {
|
|
99
98
|
yield this.sync();
|
|
100
99
|
return provider.request(args);
|
|
101
100
|
}),
|