@acala-network/chopsticks 0.9.6 → 0.9.7
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.
|
@@ -9,7 +9,7 @@ export declare const dryRunSchema: z.ZodObject<{
|
|
|
9
9
|
open: z.ZodOptional<z.ZodBoolean>;
|
|
10
10
|
port: z.ZodDefault<z.ZodNumber>;
|
|
11
11
|
endpoint: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
12
|
-
block: z.ZodOptional<z.ZodUnion<[z.
|
|
12
|
+
block: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
13
13
|
'build-block-mode': z.ZodDefault<z.ZodNativeEnum<typeof import("@acala-network/chopsticks-core").BuildBlockMode>>;
|
|
14
14
|
'import-storage': z.ZodOptional<z.ZodAny>;
|
|
15
15
|
'allow-unresolved-imports': z.ZodOptional<z.ZodBoolean>;
|
|
@@ -93,7 +93,7 @@ export declare const dryRunSchema: z.ZodObject<{
|
|
|
93
93
|
html?: boolean | undefined;
|
|
94
94
|
open?: boolean | undefined;
|
|
95
95
|
endpoint?: string | string[] | undefined;
|
|
96
|
-
block?:
|
|
96
|
+
block?: string | number | null | undefined;
|
|
97
97
|
'import-storage'?: any;
|
|
98
98
|
'allow-unresolved-imports'?: boolean | undefined;
|
|
99
99
|
'mock-signature-host'?: boolean | undefined;
|
|
@@ -129,7 +129,7 @@ export declare const dryRunSchema: z.ZodObject<{
|
|
|
129
129
|
open?: boolean | undefined;
|
|
130
130
|
port?: number | undefined;
|
|
131
131
|
endpoint?: string | string[] | undefined;
|
|
132
|
-
block?:
|
|
132
|
+
block?: string | number | null | undefined;
|
|
133
133
|
'build-block-mode'?: import("@acala-network/chopsticks-core").BuildBlockMode | undefined;
|
|
134
134
|
'import-storage'?: any;
|
|
135
135
|
'allow-unresolved-imports'?: boolean | undefined;
|
|
@@ -5,7 +5,7 @@ export declare const zHash: z.ZodIntersection<z.ZodString, z.ZodType<`0x${string
|
|
|
5
5
|
export declare const configSchema: z.ZodObject<{
|
|
6
6
|
port: z.ZodDefault<z.ZodNumber>;
|
|
7
7
|
endpoint: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
8
|
-
block: z.ZodOptional<z.ZodUnion<[z.
|
|
8
|
+
block: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
9
9
|
'build-block-mode': z.ZodDefault<ZodNativeEnum<typeof BuildBlockMode>>;
|
|
10
10
|
'import-storage': z.ZodOptional<z.ZodAny>;
|
|
11
11
|
'allow-unresolved-imports': z.ZodOptional<z.ZodBoolean>;
|
|
@@ -82,7 +82,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
82
82
|
port: number;
|
|
83
83
|
'build-block-mode': BuildBlockMode;
|
|
84
84
|
endpoint?: string | string[] | undefined;
|
|
85
|
-
block?:
|
|
85
|
+
block?: string | number | null | undefined;
|
|
86
86
|
'import-storage'?: any;
|
|
87
87
|
'allow-unresolved-imports'?: boolean | undefined;
|
|
88
88
|
'mock-signature-host'?: boolean | undefined;
|
|
@@ -111,7 +111,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
111
111
|
}, {
|
|
112
112
|
port?: number | undefined;
|
|
113
113
|
endpoint?: string | string[] | undefined;
|
|
114
|
-
block?:
|
|
114
|
+
block?: string | number | null | undefined;
|
|
115
115
|
'build-block-mode'?: BuildBlockMode | undefined;
|
|
116
116
|
'import-storage'?: any;
|
|
117
117
|
'allow-unresolved-imports'?: boolean | undefined;
|
package/dist/cjs/schema/index.js
CHANGED
|
@@ -50,8 +50,8 @@ const configSchema = _zod.z.object({
|
|
|
50
50
|
description: 'Endpoint to connect to'
|
|
51
51
|
}).optional(),
|
|
52
52
|
block: _zod.z.union([
|
|
53
|
-
|
|
54
|
-
_zod.z.
|
|
53
|
+
_zod.z.string(),
|
|
54
|
+
_zod.z.number(),
|
|
55
55
|
_zod.z.null()
|
|
56
56
|
], {
|
|
57
57
|
description: 'Block hash or block number. Default to latest block'
|
|
@@ -9,7 +9,7 @@ export declare const dryRunSchema: z.ZodObject<{
|
|
|
9
9
|
open: z.ZodOptional<z.ZodBoolean>;
|
|
10
10
|
port: z.ZodDefault<z.ZodNumber>;
|
|
11
11
|
endpoint: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
12
|
-
block: z.ZodOptional<z.ZodUnion<[z.
|
|
12
|
+
block: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
13
13
|
'build-block-mode': z.ZodDefault<z.ZodNativeEnum<typeof import("@acala-network/chopsticks-core").BuildBlockMode>>;
|
|
14
14
|
'import-storage': z.ZodOptional<z.ZodAny>;
|
|
15
15
|
'allow-unresolved-imports': z.ZodOptional<z.ZodBoolean>;
|
|
@@ -93,7 +93,7 @@ export declare const dryRunSchema: z.ZodObject<{
|
|
|
93
93
|
html?: boolean | undefined;
|
|
94
94
|
open?: boolean | undefined;
|
|
95
95
|
endpoint?: string | string[] | undefined;
|
|
96
|
-
block?:
|
|
96
|
+
block?: string | number | null | undefined;
|
|
97
97
|
'import-storage'?: any;
|
|
98
98
|
'allow-unresolved-imports'?: boolean | undefined;
|
|
99
99
|
'mock-signature-host'?: boolean | undefined;
|
|
@@ -129,7 +129,7 @@ export declare const dryRunSchema: z.ZodObject<{
|
|
|
129
129
|
open?: boolean | undefined;
|
|
130
130
|
port?: number | undefined;
|
|
131
131
|
endpoint?: string | string[] | undefined;
|
|
132
|
-
block?:
|
|
132
|
+
block?: string | number | null | undefined;
|
|
133
133
|
'build-block-mode'?: import("@acala-network/chopsticks-core").BuildBlockMode | undefined;
|
|
134
134
|
'import-storage'?: any;
|
|
135
135
|
'allow-unresolved-imports'?: boolean | undefined;
|
|
@@ -5,7 +5,7 @@ export declare const zHash: z.ZodIntersection<z.ZodString, z.ZodType<`0x${string
|
|
|
5
5
|
export declare const configSchema: z.ZodObject<{
|
|
6
6
|
port: z.ZodDefault<z.ZodNumber>;
|
|
7
7
|
endpoint: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
8
|
-
block: z.ZodOptional<z.ZodUnion<[z.
|
|
8
|
+
block: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
9
9
|
'build-block-mode': z.ZodDefault<ZodNativeEnum<typeof BuildBlockMode>>;
|
|
10
10
|
'import-storage': z.ZodOptional<z.ZodAny>;
|
|
11
11
|
'allow-unresolved-imports': z.ZodOptional<z.ZodBoolean>;
|
|
@@ -82,7 +82,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
82
82
|
port: number;
|
|
83
83
|
'build-block-mode': BuildBlockMode;
|
|
84
84
|
endpoint?: string | string[] | undefined;
|
|
85
|
-
block?:
|
|
85
|
+
block?: string | number | null | undefined;
|
|
86
86
|
'import-storage'?: any;
|
|
87
87
|
'allow-unresolved-imports'?: boolean | undefined;
|
|
88
88
|
'mock-signature-host'?: boolean | undefined;
|
|
@@ -111,7 +111,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
111
111
|
}, {
|
|
112
112
|
port?: number | undefined;
|
|
113
113
|
endpoint?: string | string[] | undefined;
|
|
114
|
-
block?:
|
|
114
|
+
block?: string | number | null | undefined;
|
|
115
115
|
'build-block-mode'?: BuildBlockMode | undefined;
|
|
116
116
|
'import-storage'?: any;
|
|
117
117
|
'allow-unresolved-imports'?: boolean | undefined;
|
package/dist/esm/schema/index.js
CHANGED
|
@@ -18,8 +18,8 @@ export const configSchema = z.object({
|
|
|
18
18
|
description: 'Endpoint to connect to'
|
|
19
19
|
}).optional(),
|
|
20
20
|
block: z.union([
|
|
21
|
-
|
|
22
|
-
z.
|
|
21
|
+
z.string(),
|
|
22
|
+
z.number(),
|
|
23
23
|
z.null()
|
|
24
24
|
], {
|
|
25
25
|
description: 'Block hash or block number. Default to latest block'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acala-network/chopsticks",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.7",
|
|
4
4
|
"author": "Acala Developers <hello@acala.network>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": "./chopsticks.cjs",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"docs:prep": "typedoc"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@acala-network/chopsticks-core": "0.9.
|
|
17
|
-
"@acala-network/chopsticks-db": "0.9.
|
|
16
|
+
"@acala-network/chopsticks-core": "0.9.7",
|
|
17
|
+
"@acala-network/chopsticks-db": "0.9.7",
|
|
18
18
|
"@pnpm/npm-conf": "^2.2.2",
|
|
19
19
|
"@polkadot/api-augment": "^10.10.1",
|
|
20
20
|
"@polkadot/types": "^10.10.1",
|