@zerodev/permissions 5.5.0 → 5.5.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.
@@ -36,6 +36,7 @@ export declare const deserializePermissionAccount: <entryPointVersion extends En
36
36
  }) => Promise<`0x${string}`>;
37
37
  signMessage: (parameters: {
38
38
  message: import("viem").SignableMessage;
39
+ useReplayableSignature?: boolean | undefined;
39
40
  }) => Promise<`0x${string}`>;
40
41
  signTypedData: <const typedData extends Record<string, unknown> | {
41
42
  [x: string]: readonly import("viem").TypedDataParameter[];
@@ -251,9 +252,11 @@ export declare const deserializePermissionAccount: <entryPointVersion extends En
251
252
  } | undefined;
252
253
  kernelVersion: GetKernelVersion<entryPointVersion>;
253
254
  kernelPluginManager: import("@zerodev/sdk").KernelPluginManager<entryPointVersion>;
255
+ factoryAddress: `0x${string}`;
254
256
  generateInitCode: () => Promise<`0x${string}`>;
255
257
  encodeModuleInstallCallData: () => Promise<`0x${string}`>;
256
258
  encodeDeployCallData: ({ abi, args, bytecode }: import("viem").EncodeDeployDataParameters) => Promise<`0x${string}`>;
259
+ eip7702Auth?: import("viem/accounts").SignAuthorizationReturnType | undefined;
257
260
  } & {
258
261
  address: `0x${string}`;
259
262
  getNonce: (parameters?: {
@@ -1 +1 @@
1
- {"version":3,"file":"deserializePermissionAccount.d.ts","sourceRoot":"","sources":["../deserializePermissionAccount.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACR,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACpB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,MAAM,CAAA;AAEvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAajE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAG/C,eA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDhC,CAAA;AAED,eAAO,MAAM,sBAAsB,WAAkB,MAAM,oBAiB1D,CAAA;AAED,eAAO,MAAM,wBAAwB,aACvB,GAAG,iBACE,mBAAmB;;;;CAmFrC,CAAA"}
package/package.json CHANGED
@@ -1,63 +1,62 @@
1
1
  {
2
- "name": "@zerodev/permissions",
3
- "version": "5.5.0",
4
- "author": "ZeroDev",
5
- "main": "./_cjs/index.js",
6
- "module": "./_esm/index.js",
7
- "types": "./_types/index.d.ts",
8
- "typings": "./_types/index.d.ts",
9
- "type": "module",
10
- "sideEffects": false,
11
- "license": "MIT",
12
- "files": [
13
- "_esm",
14
- "_cjs",
15
- "_types",
16
- "./**/*.ts",
17
- "!_esm/**/*.tsbuildinfo",
18
- "!_cjs/**/*.tsbuildinfo",
19
- "!_types/**/*.tsbuildinfo",
20
- "!.env",
21
- "!./**/*.test.ts",
22
- "!.changeset"
23
- ],
24
- "scripts": {
25
- "build": "bun run clean && bun run build:cjs && bun run build:esm && bun run build:types",
26
- "build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./_cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./_cjs/package.json",
27
- "build:esm": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./_esm/package.json",
28
- "build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./_types --emitDeclarationOnly --declaration --declarationMap",
29
- "clean": "rimraf _esm _cjs _types",
30
- "changeset": "changeset",
31
- "changeset:release": "bun run build && changeset publish",
32
- "changeset:version": "changeset version && bun install --lockfile-only",
33
- "format": "biome format . --write",
34
- "lint": "biome check .",
35
- "lint:fix": "bun run lint --apply"
2
+ "name": "@zerodev/permissions",
3
+ "version": "5.5.1",
4
+ "author": "ZeroDev",
5
+ "main": "./_cjs/index.js",
6
+ "module": "./_esm/index.js",
7
+ "types": "./_types/index.d.ts",
8
+ "typings": "./_types/index.d.ts",
9
+ "sideEffects": false,
10
+ "license": "MIT",
11
+ "files": [
12
+ "_esm",
13
+ "_cjs",
14
+ "_types",
15
+ "./**/*.ts",
16
+ "!_esm/**/*.tsbuildinfo",
17
+ "!_cjs/**/*.tsbuildinfo",
18
+ "!_types/**/*.tsbuildinfo",
19
+ "!.env",
20
+ "!./**/*.test.ts",
21
+ "!.changeset"
22
+ ],
23
+ "scripts": {
24
+ "build": "bun run clean && bun run build:cjs && bun run build:esm && bun run build:types",
25
+ "build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./_cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./_cjs/package.json",
26
+ "build:esm": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./_esm/package.json",
27
+ "build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./_types --emitDeclarationOnly --declaration --declarationMap",
28
+ "clean": "rimraf _esm _cjs _types",
29
+ "changeset": "changeset",
30
+ "changeset:release": "bun run build && changeset publish",
31
+ "changeset:version": "changeset version && bun install --lockfile-only",
32
+ "format": "biome format . --write",
33
+ "lint": "biome check .",
34
+ "lint:fix": "bun run lint --apply"
35
+ },
36
+ "exports": {
37
+ ".": {
38
+ "types": "./_types/index.d.ts",
39
+ "import": "./_esm/index.js",
40
+ "default": "./_cjs/index.js"
36
41
  },
37
- "exports": {
38
- ".": {
39
- "types": "./_types/index.d.ts",
40
- "import": "./_esm/index.js",
41
- "default": "./_cjs/index.js"
42
- },
43
- "./policies": {
44
- "types": "./_types/policies/index.d.ts",
45
- "import": "./_esm/policies/index.js",
46
- "default": "./_cjs/policies/index.js"
47
- },
48
- "./signers": {
49
- "types": "./_types/signers/index.d.ts",
50
- "import": "./_esm/signers/index.js",
51
- "default": "./_cjs/signers/index.js"
52
- }
42
+ "./policies": {
43
+ "types": "./_types/policies/index.d.ts",
44
+ "import": "./_esm/policies/index.js",
45
+ "default": "./_cjs/policies/index.js"
53
46
  },
54
- "dependencies": {
55
- "merkletreejs": "^0.3.11",
56
- "@simplewebauthn/browser": "^9.0.1"
57
- },
58
- "peerDependencies": {
59
- "viem": "^2.21.40",
60
- "@zerodev/sdk": "^5.4.0",
61
- "@zerodev/webauthn-key": "^5.4.0"
47
+ "./signers": {
48
+ "types": "./_types/signers/index.d.ts",
49
+ "import": "./_esm/signers/index.js",
50
+ "default": "./_cjs/signers/index.js"
62
51
  }
52
+ },
53
+ "dependencies": {
54
+ "merkletreejs": "^0.3.11",
55
+ "@simplewebauthn/browser": "^9.0.1"
56
+ },
57
+ "peerDependencies": {
58
+ "viem": "^2.21.40",
59
+ "@zerodev/sdk": "^5.4.0",
60
+ "@zerodev/webauthn-key": "^5.4.0"
61
+ }
63
62
  }