@acala-network/chopsticks 1.0.1 → 1.0.2-2

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.
@@ -6,7 +6,7 @@ import { Step } from './types.js';
6
6
  * @param runtimeVersion - The version of the runtime.
7
7
  * @returns A Promise that resolves to the fetched runtime as a Buffer.
8
8
  */
9
- export declare const fetchRuntime: (runtimeVersion: RuntimeVersion) => Promise<Buffer | undefined>;
9
+ export declare const fetchRuntime: (runtimeVersion: RuntimeVersion) => Promise<Buffer<ArrayBufferLike> | undefined>;
10
10
  export declare const fetchEVMTransaction: (runtimeVersion: RuntimeVersion, txHash: string) => Promise<any>;
11
11
  /**
12
12
  * Traces the execution of a transaction in the VM.
@@ -6,7 +6,7 @@ import { Step } from './types.js';
6
6
  * @param runtimeVersion - The version of the runtime.
7
7
  * @returns A Promise that resolves to the fetched runtime as a Buffer.
8
8
  */
9
- export declare const fetchRuntime: (runtimeVersion: RuntimeVersion) => Promise<Buffer | undefined>;
9
+ export declare const fetchRuntime: (runtimeVersion: RuntimeVersion) => Promise<Buffer<ArrayBufferLike> | undefined>;
10
10
  export declare const fetchEVMTransaction: (runtimeVersion: RuntimeVersion, txHash: string) => Promise<any>;
11
11
  /**
12
12
  * Traces the execution of a transaction in the VM.
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "@acala-network/chopsticks",
3
- "version": "1.0.1",
3
+ "version": "1.0.2-2",
4
4
  "author": "Acala Developers <hello@acala.network>",
5
5
  "license": "Apache-2.0",
6
6
  "bin": "./chopsticks.cjs",
7
7
  "type": "module",
8
+ "engines": {
9
+ "node": ">=v20"
10
+ },
8
11
  "scripts": {
9
12
  "clean": "rm -rf dist tsconfig.tsbuildinfo",
10
13
  "build": "yarn clean && ../../package-build.sh",
@@ -12,36 +15,36 @@
12
15
  "depcheck": "npx depcheck --ignore-patterns='*.test.ts'"
13
16
  },
14
17
  "dependencies": {
15
- "@acala-network/chopsticks-core": "1.0.1",
16
- "@acala-network/chopsticks-db": "1.0.1",
18
+ "@acala-network/chopsticks-core": "1.0.2-2",
19
+ "@acala-network/chopsticks-db": "1.0.2-2",
17
20
  "@pnpm/npm-conf": "^2.3.1",
18
- "@polkadot/api": "^14.0.1",
19
- "@polkadot/api-augment": "^14.0.1",
20
- "@polkadot/rpc-provider": "^14.0.1",
21
- "@polkadot/types": "^14.0.1",
22
- "@polkadot/util": "^13.2.2",
23
- "@polkadot/util-crypto": "^13.2.2",
24
- "axios": "^1.7.7",
25
- "comlink": "^4.4.1",
26
- "dotenv": "^16.4.5",
21
+ "@polkadot/api": "^15.0",
22
+ "@polkadot/api-augment": "^15.0",
23
+ "@polkadot/rpc-provider": "^15.0",
24
+ "@polkadot/types": "^15.0",
25
+ "@polkadot/util": "^13.2",
26
+ "@polkadot/util-crypto": "^13.2",
27
+ "axios": "^1.7.9",
28
+ "comlink": "^4.4.2",
29
+ "dotenv": "^16.4.7",
27
30
  "global-agent": "^3.0.0",
28
31
  "js-yaml": "^4.1.0",
29
32
  "jsondiffpatch": "^0.5.0",
30
33
  "lodash": "^4.17.21",
31
34
  "ws": "^8.18.0",
32
35
  "yargs": "^17.7.2",
33
- "zod": "^3.23.8"
36
+ "zod": "^3.24.1"
34
37
  },
35
38
  "devDependencies": {
36
- "@swc/cli": "0.5.0",
37
- "@swc/core": "^1.7.40",
39
+ "@swc/cli": "0.5.2",
40
+ "@swc/core": "^1.10.1",
38
41
  "@types/global-agent": "^2.1.3",
39
42
  "@types/js-yaml": "^4.0.9",
40
43
  "@types/lodash": "^4.17.13",
41
- "@types/node": "^22.8.4",
42
- "@types/ws": "^8.5.12",
44
+ "@types/node": "^22.10.2",
45
+ "@types/ws": "^8.5.13",
43
46
  "@types/yargs": "^17.0.33",
44
- "typescript": "^5.6.3"
47
+ "typescript": "^5.7.2"
45
48
  },
46
49
  "files": [
47
50
  "dist/esm/**",