@dynamic-labs/ethereum-aa 4.19.4 → 4.19.6

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,24 @@
1
1
 
2
+ ### [4.19.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.5...v4.19.6) (2025-06-04)
3
+
4
+
5
+ ### Features
6
+
7
+ * backup unsuccessful popup when create wallet fails ([#8872](https://github.com/dynamic-labs/dynamic-auth/issues/8872)) ([c8f88f2](https://github.com/dynamic-labs/dynamic-auth/commit/c8f88f2cafdb7856764305764a230e159f09dadf))
8
+ * **global-wallet:** new native api method to return the eoa wallet for a connected smart wallet ([#8864](https://github.com/dynamic-labs/dynamic-auth/issues/8864)) ([5d0e200](https://github.com/dynamic-labs/dynamic-auth/commit/5d0e2002caefb658f6120b102abe145d6caafaf4))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * dont call select endpoint when signing in with 7702 wallet ([#8854](https://github.com/dynamic-labs/dynamic-auth/issues/8854)) ([9828a8f](https://github.com/dynamic-labs/dynamic-auth/commit/9828a8fb758b07dd4dc51cb9eadee483b884defe))
14
+
15
+ ### [4.19.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.4...v4.19.5) (2025-06-02)
16
+
17
+
18
+ ### Features
19
+
20
+ * 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))
21
+
2
22
  ### [4.19.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.3...v4.19.4) (2025-05-31)
3
23
 
4
24
  ### [4.19.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.19.2...v4.19.3) (2025-05-28)
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.19.4";
6
+ var version = "4.19.6";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.19.4";
2
+ var version = "4.19.6";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ethereum-aa",
3
- "version": "4.19.4",
3
+ "version": "4.19.6",
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",
@@ -18,20 +18,20 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/sdk-api-core": "0.0.672",
22
- "@zerodev/ecdsa-validator": "5.4.8",
21
+ "@dynamic-labs/sdk-api-core": "0.0.681",
22
+ "@zerodev/ecdsa-validator": "5.4.9",
23
23
  "@zerodev/multi-chain-ecdsa-validator": "5.4.5",
24
- "@zerodev/sdk": "5.4.34",
25
- "@dynamic-labs/assert-package-version": "4.19.4",
26
- "@dynamic-labs/ethereum-aa-core": "4.19.4",
27
- "@dynamic-labs/ethereum-core": "4.19.4",
28
- "@dynamic-labs/logger": "4.19.4",
29
- "@dynamic-labs/types": "4.19.4",
30
- "@dynamic-labs/utils": "4.19.4",
31
- "@dynamic-labs/wallet-book": "4.19.4",
32
- "@dynamic-labs/wallet-connector-core": "4.19.4"
24
+ "@zerodev/sdk": "5.4.36",
25
+ "@dynamic-labs/assert-package-version": "4.19.6",
26
+ "@dynamic-labs/ethereum-aa-core": "4.19.6",
27
+ "@dynamic-labs/ethereum-core": "4.19.6",
28
+ "@dynamic-labs/logger": "4.19.6",
29
+ "@dynamic-labs/types": "4.19.6",
30
+ "@dynamic-labs/utils": "4.19.6",
31
+ "@dynamic-labs/wallet-book": "4.19.6",
32
+ "@dynamic-labs/wallet-connector-core": "4.19.6"
33
33
  },
34
34
  "peerDependencies": {
35
- "viem": "^2.21.60"
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 ecdsaValidator.create7702KernelAccount(publicClient, {
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 = ecdsaValidator.create7702KernelAccountClient({
114
- account: account, // TODO: check with zerodev team why this type is broken
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, create7702KernelAccount, create7702KernelAccountClient } from '@zerodev/ecdsa-validator';
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 create7702KernelAccount(publicClient, {
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 = create7702KernelAccountClient({
110
- account: account, // TODO: check with zerodev team why this type is broken
109
+ const kernelClient = createKernelAccountClient({
110
+ account,
111
111
  bundlerTransport: http(resolvedBundlerRpc),
112
112
  chain,
113
113
  client: publicClient,