@acala-network/chopsticks-testing 0.8.0-6 → 0.8.0

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 (2) hide show
  1. package/lib/index.d.ts +3 -0
  2. package/package.json +3 -4
package/lib/index.d.ts CHANGED
@@ -29,6 +29,7 @@ export declare const setupContext: (option: SetupOption) => Promise<{
29
29
  newBlock: (param?: {
30
30
  count?: number;
31
31
  to?: number;
32
+ unsafeBlockHeight?: number;
32
33
  }) => Promise<string>;
33
34
  setStorage: (values: StorageValues, blockHash?: string) => Promise<any>;
34
35
  timeTravel: (date: string | number) => Promise<number>;
@@ -46,6 +47,7 @@ export declare const setupContextWithConfig: ({ timeout, ...config }: SetupConfi
46
47
  newBlock: (param?: {
47
48
  count?: number;
48
49
  to?: number;
50
+ unsafeBlockHeight?: number;
49
51
  }) => Promise<string>;
50
52
  setStorage: (values: StorageValues, blockHash?: string) => Promise<any>;
51
53
  timeTravel: (date: string | number) => Promise<number>;
@@ -64,6 +66,7 @@ export declare const setupNetworks: (networkOptions: Partial<Record<string, Conf
64
66
  newBlock: (param?: {
65
67
  count?: number;
66
68
  to?: number;
69
+ unsafeBlockHeight?: number;
67
70
  }) => Promise<string>;
68
71
  setStorage: (values: StorageValues, blockHash?: string) => Promise<any>;
69
72
  timeTravel: (date: string | number) => Promise<number>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acala-network/chopsticks-testing",
3
- "version": "0.8.0-6",
3
+ "version": "0.8.0",
4
4
  "author": "Bryan Chen <xlchen1291@gmail.com>",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
@@ -8,7 +8,7 @@
8
8
  "build": "tsc -p ./tsconfig.json"
9
9
  },
10
10
  "dependencies": {
11
- "@acala-network/chopsticks": "0.8.0-6"
11
+ "@acala-network/chopsticks": "0.8.0"
12
12
  },
13
13
  "peerDependencies": {
14
14
  "vitest": "^0.34.0"
@@ -32,6 +32,5 @@
32
32
  "default": "./lib/*.js"
33
33
  },
34
34
  "./package.json": "./package.json"
35
- },
36
- "stableVersion": "0.7.3"
35
+ }
37
36
  }