@dynamic-labs-sdk/zerodev 0.1.0-alpha.13 → 0.1.0-alpha.14

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,3 +1,7 @@
1
+ ## 0.1.0-alpha.14 (2025-09-30)
2
+
3
+ This was a version bump only, there were no code changes.
4
+
1
5
  ## 0.1.0-alpha.13 (2025-09-30)
2
6
 
3
7
  ### 🚀 Features
package/index.cjs.js CHANGED
@@ -7,7 +7,7 @@ var evm = require('@dynamic-labs-sdk/evm');
7
7
  var viem = require('@dynamic-labs-sdk/evm/viem');
8
8
 
9
9
  var name = "@dynamic-labs-sdk/zerodev";
10
- var version = "0.1.0-alpha.13";
10
+ var version = "0.1.0-alpha.14";
11
11
 
12
12
  const ZERODEV_EXTENSION_KEY = 'zerodev';
13
13
  /**
@@ -37,7 +37,7 @@ const ZERODEV_EXTENSION_KEY = 'zerodev';
37
37
  * @returns A promise that resolves to an WalletClient instance.
38
38
  * @throws NoSmartWalletAccountSignerFoundError When the signer wallet account is not found for the given smart wallet account.
39
39
  */ const getSignerForSmartWalletAccount = ({ smartWalletAccount }, client$1 = core.getDefaultClient())=>{
40
- const signerWalletAccount = client.getSignerWalletAccountForSmartWalletAccount({
40
+ const signerWalletAccount = client.getOwnerWalletAccountForSmartWalletAccount({
41
41
  smartWalletAccount
42
42
  }, client$1);
43
43
  if (!signerWalletAccount || !evm.isEvmWalletAccount(signerWalletAccount)) {
package/index.esm.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { assertPackageVersion } from '@dynamic-labs-sdk/assert-package-version';
2
2
  import { getDefaultClient, hasExtension, registerExtension } from '@dynamic-labs-sdk/client/core';
3
- import { getSignerWalletAccountForSmartWalletAccount, NoSmartWalletAccountSignerFoundError } from '@dynamic-labs-sdk/client';
3
+ import { getOwnerWalletAccountForSmartWalletAccount, NoSmartWalletAccountSignerFoundError } from '@dynamic-labs-sdk/client';
4
4
  import { isEvmWalletAccount } from '@dynamic-labs-sdk/evm';
5
5
  import { createWalletClientForWalletAccount } from '@dynamic-labs-sdk/evm/viem';
6
6
 
7
7
  var name = "@dynamic-labs-sdk/zerodev";
8
- var version = "0.1.0-alpha.13";
8
+ var version = "0.1.0-alpha.14";
9
9
 
10
10
  const ZERODEV_EXTENSION_KEY = 'zerodev';
11
11
  /**
@@ -35,7 +35,7 @@ const ZERODEV_EXTENSION_KEY = 'zerodev';
35
35
  * @returns A promise that resolves to an WalletClient instance.
36
36
  * @throws NoSmartWalletAccountSignerFoundError When the signer wallet account is not found for the given smart wallet account.
37
37
  */ const getSignerForSmartWalletAccount = ({ smartWalletAccount }, client = getDefaultClient())=>{
38
- const signerWalletAccount = getSignerWalletAccountForSmartWalletAccount({
38
+ const signerWalletAccount = getOwnerWalletAccountForSmartWalletAccount({
39
39
  smartWalletAccount
40
40
  }, client);
41
41
  if (!signerWalletAccount || !isEvmWalletAccount(signerWalletAccount)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs-sdk/zerodev",
3
- "version": "0.1.0-alpha.13",
3
+ "version": "0.1.0-alpha.14",
4
4
  "type": "module",
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js",
@@ -14,10 +14,10 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "@dynamic-labs-sdk/assert-package-version": "0.1.0-alpha.13",
18
- "@dynamic-labs-sdk/client": "0.1.0-alpha.13",
19
- "@dynamic-labs-sdk/evm": "0.1.0-alpha.13",
20
- "@dynamic-labs/sdk-api-core": "0.0.762",
17
+ "@dynamic-labs-sdk/assert-package-version": "0.1.0-alpha.14",
18
+ "@dynamic-labs-sdk/client": "0.1.0-alpha.14",
19
+ "@dynamic-labs-sdk/evm": "0.1.0-alpha.14",
20
+ "@dynamic-labs/sdk-api-core": "0.0.786",
21
21
  "@zerodev/ecdsa-validator": "5.4.9",
22
22
  "@zerodev/multi-chain-ecdsa-validator": "5.4.5",
23
23
  "@zerodev/sdk": "5.4.36"
@@ -0,0 +1,5 @@
1
+ import type { KernelAccountClient } from '@zerodev/sdk';
2
+ import type { Chain, Client, RpcSchema, Transport } from 'viem';
3
+ import type { SmartAccount } from 'viem/account-abstraction';
4
+ export type KernelClient = KernelAccountClient<Transport, Chain, SmartAccount, Client, RpcSchema>;
5
+ //# sourceMappingURL=KernelClient.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KernelClient.types.d.ts","sourceRoot":"","sources":["../../../../packages/zerodev/src/KernelClient.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,MAAM,YAAY,GAAG,mBAAmB,CAC5C,SAAS,EACT,KAAK,EACL,YAAY,EACZ,MAAM,EACN,SAAS,CACV,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { DynamicClient } from '@dynamic-labs-sdk/client';
2
+ import type { EvmWalletAccount } from '@dynamic-labs-sdk/evm';
3
+ import type { CreateKernelAccountReturnType } from '@zerodev/sdk';
4
+ import type { PublicClient } from 'viem';
5
+ import type { EntryPointVersion } from 'viem/account-abstraction';
6
+ type CreateKernelAccountParams = {
7
+ publicClient: PublicClient;
8
+ smartWalletAccount: EvmWalletAccount;
9
+ };
10
+ export declare const createKernelAccount: ({ publicClient, smartWalletAccount }: CreateKernelAccountParams, client: DynamicClient) => Promise<CreateKernelAccountReturnType<EntryPointVersion>>;
11
+ export {};
12
+ //# sourceMappingURL=createKernelAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createKernelAccount.d.ts","sourceRoot":"","sources":["../../../../../../packages/zerodev/src/utils/createKernelAccount/createKernelAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAK9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAC;AAGlE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AASlE,KAAK,yBAAyB,GAAG;IAC/B,YAAY,EAAE,YAAY,CAAC;IAC3B,kBAAkB,EAAE,gBAAgB,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,mBAAmB,yCACQ,yBAAyB,UACvD,aAAa,KACpB,OAAO,CAAC,6BAA6B,CAAC,iBAAiB,CAAC,CA6E1D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { createKernelAccount } from './createKernelAccount';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/zerodev/src/utils/createKernelAccount/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { shouldSignWithEoa } from './shouldSignWithEoa';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/zerodev/src/utils/shouldSignWithEoa/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { DynamicClient } from '@dynamic-labs-sdk/client';
2
+ import type { EvmWalletAccount } from '@dynamic-labs-sdk/evm';
3
+ import type { KernelClient } from '../../KernelClient.types';
4
+ type ShouldSignWithEoaParams = {
5
+ kernelClient: KernelClient;
6
+ smartWalletAccount: EvmWalletAccount;
7
+ };
8
+ export declare const shouldSignWithEoa: ({ kernelClient, smartWalletAccount }: ShouldSignWithEoaParams, client: DynamicClient) => Promise<boolean>;
9
+ export {};
10
+ //# sourceMappingURL=shouldSignWithEoa.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shouldSignWithEoa.d.ts","sourceRoot":"","sources":["../../../../../../packages/zerodev/src/utils/shouldSignWithEoa/shouldSignWithEoa.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,KAAK,uBAAuB,GAAG;IAC7B,YAAY,EAAE,YAAY,CAAC;IAC3B,kBAAkB,EAAE,gBAAgB,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,yCACU,uBAAuB,UACrD,aAAa,qBAWtB,CAAC"}