@0xtorch/evm 0.0.13 → 0.0.15

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.
@@ -16,6 +16,11 @@ const valueComponentSchema = z.object({
16
16
  type: z.literal('value'),
17
17
  })
18
18
 
19
+ /** evm chainId 取得 component */
20
+ const chainIdComponentSchema = z.object({
21
+ type: z.literal('chainId'),
22
+ })
23
+
19
24
  /** log argument 取得 component */
20
25
  export const logArgumentRawComponentSchema = z.object({
21
26
  type: z.literal('log'),
@@ -173,6 +178,7 @@ export const commentComponentSchema = z.union([
173
178
  z.string(),
174
179
  z.number(),
175
180
  z.bigint(),
181
+ chainIdComponentSchema,
176
182
  transactionAddressComponentSchema,
177
183
  valueComponentSchema,
178
184
  logArgumentComponentSchema,
@@ -183,6 +189,7 @@ export const idComponentSchema = z.union([
183
189
  z.string(),
184
190
  z.number(),
185
191
  z.bigint(),
192
+ chainIdComponentSchema,
186
193
  transactionAddressComponentSchema,
187
194
  valueComponentSchema,
188
195
  logArgumentComponentSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xtorch/evm",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "description": "Cryptorch EVM extension",
5
5
  "keywords": [
6
6
  "cryptorch",
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@0xtorch/big-decimal": "^0.0.9",
41
- "@0xtorch/core": "^0.0.13",
41
+ "@0xtorch/core": "^0.0.16",
42
42
  "@supercharge/promise-pool": "^3.1.1",
43
43
  "viem": "^2.9.16",
44
44
  "zod": "^3.22.4"