@zerodev/sdk 5.4.11 → 5.4.12

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.
Files changed (1) hide show
  1. package/package.json +123 -102
package/package.json CHANGED
@@ -1,109 +1,130 @@
1
1
  {
2
- "name": "@zerodev/sdk",
3
- "version": "5.4.11",
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
- "description": "A utility library for working with ERC-4337",
12
- "keywords": ["ethereum", "erc-4337", "eip-4337", "paymaster", "bundler"],
13
- "license": "MIT",
14
- "files": [
15
- "_esm",
16
- "_cjs",
17
- "_types",
18
- "./**/*.ts",
19
- "!_esm/**/*.tsbuildinfo",
20
- "!_cjs/**/*.tsbuildinfo",
21
- "!_types/**/*.tsbuildinfo",
22
- "!.env",
23
- "!./**/*.test.ts",
24
- "!.changeset"
25
- ],
26
- "scripts": {
27
- "build": "bun run clean && bun run build:cjs && bun run build:esm && bun run build:types",
28
- "build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./_cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./_cjs/package.json",
29
- "build:esm": "tsc --project ./tsconfig.build.json --module es2015 --outDir ./_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./_esm/package.json",
30
- "build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./_types --emitDeclarationOnly --declaration --declarationMap",
31
- "clean": "rimraf _esm _cjs _types",
32
- "changeset": "changeset",
33
- "changeset:release": "bun run build && changeset publish",
34
- "changeset:version": "changeset version && bun install --lockfile-only",
35
- "format": "biome format . --write",
36
- "lint": "biome check .",
37
- "lint:fix": "bun run lint --apply"
2
+ "name": "@zerodev/sdk",
3
+ "version": "5.4.12",
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
+ "description": "A utility library for working with ERC-4337",
11
+ "keywords": [
12
+ "ethereum",
13
+ "erc-4337",
14
+ "eip-4337",
15
+ "paymaster",
16
+ "bundler"
17
+ ],
18
+ "license": "MIT",
19
+ "files": [
20
+ "_esm",
21
+ "_cjs",
22
+ "_types",
23
+ "./**/*.ts",
24
+ "!_esm/**/*.tsbuildinfo",
25
+ "!_cjs/**/*.tsbuildinfo",
26
+ "!_types/**/*.tsbuildinfo",
27
+ "!.env",
28
+ "!./**/*.test.ts",
29
+ "!.changeset"
30
+ ],
31
+ "scripts": {
32
+ "build": "bun run clean && bun run build:cjs && bun run build:esm && bun run build:types",
33
+ "build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./_cjs --removeComments --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./_cjs/package.json",
34
+ "build:esm": "tsc --project ./tsconfig.build.json --module es2015 --outDir ./_esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./_esm/package.json",
35
+ "build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./_types --emitDeclarationOnly --declaration --declarationMap",
36
+ "clean": "rimraf _esm _cjs _types",
37
+ "changeset": "changeset",
38
+ "changeset:release": "bun run build && changeset publish",
39
+ "changeset:version": "changeset version && bun install --lockfile-only",
40
+ "format": "biome format . --write",
41
+ "lint": "biome check .",
42
+ "lint:fix": "bun run lint --apply"
43
+ },
44
+ "exports": {
45
+ ".": {
46
+ "types": "./_types/index.d.ts",
47
+ "import": "./_esm/index.js",
48
+ "default": "./_cjs/index.js"
38
49
  },
39
- "exports": {
40
- ".": {
41
- "types": "./_types/index.d.ts",
42
- "import": "./_esm/index.js",
43
- "default": "./_cjs/index.js"
44
- },
45
- "./accounts": {
46
- "types": "./_types/accounts/index.d.ts",
47
- "import": "./_esm/accounts/index.js",
48
- "default": "./_cjs/accounts/index.js"
49
- },
50
- "./plugins": {
51
- "types": "./_types/plugins/index.d.ts",
52
- "import": "./_esm/plugins/index.js",
53
- "default": "./_cjs/plugins/index.js"
54
- },
55
- "./actions": {
56
- "types": "./_types/actions/index.d.ts",
57
- "import": "./_esm/actions/index.js",
58
- "default": "./_cjs/actions/index.js"
59
- },
60
- "./types": {
61
- "types": "./_types/types/index.d.ts",
62
- "import": "./_esm/types/index.js",
63
- "default": "./_cjs/types/index.js"
64
- },
65
- "./actions/kernel": {
66
- "types": "./_types/actions/kernel.d.ts",
67
- "import": "./_esm/actions/kernel.js",
68
- "default": "./_cjs/actions/kernel.js"
69
- },
70
- "./clients": {
71
- "types": "./_types/clients/index.d.ts",
72
- "import": "./_esm/clients/index.js",
73
- "default": "./_cjs/clients/index.js"
74
- },
75
- "./clients/kernel": {
76
- "types": "./_types/clients/kernel.d.ts",
77
- "import": "./_esm/clients/kernel.js",
78
- "default": "./_cjs/clients/kernel.js"
79
- },
80
- "./providers": {
81
- "types": "./_types/providers/index.d.ts",
82
- "import": "./_esm/providers/index.js",
83
- "default": "./_cjs/providers/index.js"
84
- },
85
- "./constants": {
86
- "types": "./_types/constants.d.ts",
87
- "import": "./_esm/constants.js",
88
- "default": "./_cjs/constants.js"
89
- }
50
+ "./accounts": {
51
+ "types": "./_types/accounts/index.d.ts",
52
+ "import": "./_esm/accounts/index.js",
53
+ "default": "./_cjs/accounts/index.js"
90
54
  },
91
- "typesVersions": {
92
- "*": {
93
- "accounts": ["./_types/accounts/index.d.ts"],
94
- "plugins": ["./_types/plugins/index.d.ts"],
95
- "actions": ["./_types/actions/index.d.ts"],
96
- "types": ["./_types/types/index.d.ts"],
97
- "actions/kernel": ["./_types/actions/kernel/index.d.ts"],
98
- "clients": ["./_types/clients/index.d.ts"],
99
- "clients/kernel": ["./_types/clients/kernel/index.d.ts"],
100
- "providers": ["./_types/providers/index.d.ts"]
101
- }
55
+ "./plugins": {
56
+ "types": "./_types/plugins/index.d.ts",
57
+ "import": "./_esm/plugins/index.js",
58
+ "default": "./_cjs/plugins/index.js"
102
59
  },
103
- "peerDependencies": {
104
- "viem": "^2.21.40"
60
+ "./actions": {
61
+ "types": "./_types/actions/index.d.ts",
62
+ "import": "./_esm/actions/index.js",
63
+ "default": "./_cjs/actions/index.js"
105
64
  },
106
- "dependencies": {
107
- "semver": "^7.6.0"
65
+ "./types": {
66
+ "types": "./_types/types/index.d.ts",
67
+ "import": "./_esm/types/index.js",
68
+ "default": "./_cjs/types/index.js"
69
+ },
70
+ "./actions/kernel": {
71
+ "types": "./_types/actions/kernel.d.ts",
72
+ "import": "./_esm/actions/kernel.js",
73
+ "default": "./_cjs/actions/kernel.js"
74
+ },
75
+ "./clients": {
76
+ "types": "./_types/clients/index.d.ts",
77
+ "import": "./_esm/clients/index.js",
78
+ "default": "./_cjs/clients/index.js"
79
+ },
80
+ "./clients/kernel": {
81
+ "types": "./_types/clients/kernel.d.ts",
82
+ "import": "./_esm/clients/kernel.js",
83
+ "default": "./_cjs/clients/kernel.js"
84
+ },
85
+ "./providers": {
86
+ "types": "./_types/providers/index.d.ts",
87
+ "import": "./_esm/providers/index.js",
88
+ "default": "./_cjs/providers/index.js"
89
+ },
90
+ "./constants": {
91
+ "types": "./_types/constants.d.ts",
92
+ "import": "./_esm/constants.js",
93
+ "default": "./_cjs/constants.js"
94
+ }
95
+ },
96
+ "typesVersions": {
97
+ "*": {
98
+ "accounts": [
99
+ "./_types/accounts/index.d.ts"
100
+ ],
101
+ "plugins": [
102
+ "./_types/plugins/index.d.ts"
103
+ ],
104
+ "actions": [
105
+ "./_types/actions/index.d.ts"
106
+ ],
107
+ "types": [
108
+ "./_types/types/index.d.ts"
109
+ ],
110
+ "actions/kernel": [
111
+ "./_types/actions/kernel/index.d.ts"
112
+ ],
113
+ "clients": [
114
+ "./_types/clients/index.d.ts"
115
+ ],
116
+ "clients/kernel": [
117
+ "./_types/clients/kernel/index.d.ts"
118
+ ],
119
+ "providers": [
120
+ "./_types/providers/index.d.ts"
121
+ ]
108
122
  }
123
+ },
124
+ "peerDependencies": {
125
+ "viem": "^2.21.40"
126
+ },
127
+ "dependencies": {
128
+ "semver": "^7.6.0"
129
+ }
109
130
  }