@dynamic-labs/ethereum-aa 4.19.3 → 4.19.5
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,13 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.19.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.4...v4.19.5) (2025-06-02)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add cleanup for waas connectors ([#8849](https://github.com/dynamic-labs/dynamic-auth/issues/8849)) ([5899169](https://github.com/dynamic-labs/dynamic-auth/commit/5899169abaf7ce86add2b1393cfd9b967da5e388))
|
|
8
|
+
|
|
9
|
+
### [4.19.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.3...v4.19.4) (2025-05-31)
|
|
10
|
+
|
|
2
11
|
### [4.19.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.2...v4.19.3) (2025-05-28)
|
|
3
12
|
|
|
4
13
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum-aa",
|
|
3
|
-
"version": "4.19.
|
|
3
|
+
"version": "4.19.5",
|
|
4
4
|
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.0.672",
|
|
22
|
-
"@zerodev/ecdsa-validator": "5.4.
|
|
22
|
+
"@zerodev/ecdsa-validator": "5.4.9",
|
|
23
23
|
"@zerodev/multi-chain-ecdsa-validator": "5.4.5",
|
|
24
|
-
"@zerodev/sdk": "5.4.
|
|
25
|
-
"@dynamic-labs/assert-package-version": "4.19.
|
|
26
|
-
"@dynamic-labs/ethereum-aa-core": "4.19.
|
|
27
|
-
"@dynamic-labs/ethereum-core": "4.19.
|
|
28
|
-
"@dynamic-labs/logger": "4.19.
|
|
29
|
-
"@dynamic-labs/types": "4.19.
|
|
30
|
-
"@dynamic-labs/utils": "4.19.
|
|
31
|
-
"@dynamic-labs/wallet-book": "4.19.
|
|
32
|
-
"@dynamic-labs/wallet-connector-core": "4.19.
|
|
24
|
+
"@zerodev/sdk": "5.4.36",
|
|
25
|
+
"@dynamic-labs/assert-package-version": "4.19.5",
|
|
26
|
+
"@dynamic-labs/ethereum-aa-core": "4.19.5",
|
|
27
|
+
"@dynamic-labs/ethereum-core": "4.19.5",
|
|
28
|
+
"@dynamic-labs/logger": "4.19.5",
|
|
29
|
+
"@dynamic-labs/types": "4.19.5",
|
|
30
|
+
"@dynamic-labs/utils": "4.19.5",
|
|
31
|
+
"@dynamic-labs/wallet-book": "4.19.5",
|
|
32
|
+
"@dynamic-labs/wallet-connector-core": "4.19.5"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"viem": "^2.
|
|
35
|
+
"viem": "^2.28.4"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -104,14 +104,14 @@ const createEcdsaKernelAccountClientWith7702 = (_c) => _tslib.__awaiter(void 0,
|
|
|
104
104
|
const resolvedBundlerRpc = bundlerRpc !== null && bundlerRpc !== void 0 ? bundlerRpc : getZeroDevBundlerRPC(projectId, provider);
|
|
105
105
|
const resolvedPaymasterRpc = paymasterRpc !== null && paymasterRpc !== void 0 ? paymasterRpc : getZeroDevPaymasterRPC(projectId, provider);
|
|
106
106
|
const { publicClient, zerodevPaymaster } = createPublicAndPaymasterClients(resolvedBundlerRpc, resolvedPaymasterRpc, chain, publicClientRpc);
|
|
107
|
-
const account = yield
|
|
107
|
+
const account = yield accounts.createKernelAccount(publicClient, {
|
|
108
|
+
eip7702Account: signer,
|
|
108
109
|
entryPoint,
|
|
109
110
|
kernelVersion,
|
|
110
|
-
signer,
|
|
111
111
|
});
|
|
112
112
|
const paymasterHandler = createPaymasterHandler(paymaster, zerodevPaymaster);
|
|
113
|
-
const kernelClient =
|
|
114
|
-
account
|
|
113
|
+
const kernelClient = clients.createKernelAccountClient({
|
|
114
|
+
account,
|
|
115
115
|
bundlerTransport: viem.http(resolvedBundlerRpc),
|
|
116
116
|
chain,
|
|
117
117
|
client: publicClient,
|
|
@@ -4,7 +4,7 @@ import { createKernelAccount } from '@zerodev/sdk/accounts';
|
|
|
4
4
|
import { createKernelAccountClient, createZeroDevPaymasterClient } from '@zerodev/sdk/clients';
|
|
5
5
|
import { getUserOperationGasPrice } from '@zerodev/sdk/actions';
|
|
6
6
|
import { http, createPublicClient, isAddress } from 'viem';
|
|
7
|
-
import { createEcdsaKernelMigrationAccount
|
|
7
|
+
import { createEcdsaKernelMigrationAccount } from '@zerodev/ecdsa-validator';
|
|
8
8
|
|
|
9
9
|
var PaymasterTypeEnum;
|
|
10
10
|
(function (PaymasterTypeEnum) {
|
|
@@ -100,14 +100,14 @@ const createEcdsaKernelAccountClientWith7702 = (_c) => __awaiter(void 0, [_c], v
|
|
|
100
100
|
const resolvedBundlerRpc = bundlerRpc !== null && bundlerRpc !== void 0 ? bundlerRpc : getZeroDevBundlerRPC(projectId, provider);
|
|
101
101
|
const resolvedPaymasterRpc = paymasterRpc !== null && paymasterRpc !== void 0 ? paymasterRpc : getZeroDevPaymasterRPC(projectId, provider);
|
|
102
102
|
const { publicClient, zerodevPaymaster } = createPublicAndPaymasterClients(resolvedBundlerRpc, resolvedPaymasterRpc, chain, publicClientRpc);
|
|
103
|
-
const account = yield
|
|
103
|
+
const account = yield createKernelAccount(publicClient, {
|
|
104
|
+
eip7702Account: signer,
|
|
104
105
|
entryPoint,
|
|
105
106
|
kernelVersion,
|
|
106
|
-
signer,
|
|
107
107
|
});
|
|
108
108
|
const paymasterHandler = createPaymasterHandler(paymaster, zerodevPaymaster);
|
|
109
|
-
const kernelClient =
|
|
110
|
-
account
|
|
109
|
+
const kernelClient = createKernelAccountClient({
|
|
110
|
+
account,
|
|
111
111
|
bundlerTransport: http(resolvedBundlerRpc),
|
|
112
112
|
chain,
|
|
113
113
|
client: publicClient,
|