@acala-network/chopsticks-core 0.13.1 → 0.13.3
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.
package/dist/cjs/env.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare const environmentSchema: z.ZodObject<{
|
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
33
|
DISABLE_AUTO_HRMP: boolean;
|
|
34
34
|
DISABLE_PLUGINS: boolean;
|
|
35
|
-
LOG_LEVEL: "
|
|
35
|
+
LOG_LEVEL: "fatal" | "error" | "warn" | "info" | "debug" | "trace";
|
|
36
36
|
VERBOSE_LOG: boolean;
|
|
37
37
|
LOG_COMPACT: boolean;
|
|
38
38
|
PORT?: string | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const environmentSchema: z.ZodObject<{
|
|
|
48
48
|
http_proxy?: string | undefined;
|
|
49
49
|
HTTPS_PROXY?: string | undefined;
|
|
50
50
|
https_proxy?: string | undefined;
|
|
51
|
-
LOG_LEVEL?: "
|
|
51
|
+
LOG_LEVEL?: "fatal" | "error" | "warn" | "info" | "debug" | "trace" | undefined;
|
|
52
52
|
VERBOSE_LOG?: "true" | "false" | undefined;
|
|
53
53
|
LOG_COMPACT?: "true" | "false" | undefined;
|
|
54
54
|
}>;
|
|
@@ -58,7 +58,7 @@ export declare const environmentSchema: z.ZodObject<{
|
|
|
58
58
|
export declare const environment: {
|
|
59
59
|
DISABLE_AUTO_HRMP: boolean;
|
|
60
60
|
DISABLE_PLUGINS: boolean;
|
|
61
|
-
LOG_LEVEL: "
|
|
61
|
+
LOG_LEVEL: "fatal" | "error" | "warn" | "info" | "debug" | "trace";
|
|
62
62
|
VERBOSE_LOG: boolean;
|
|
63
63
|
LOG_COMPACT: boolean;
|
|
64
64
|
PORT?: string | undefined;
|
|
@@ -27,33 +27,33 @@ declare const schema: z.ZodObject<{
|
|
|
27
27
|
transactions: z.ZodOptional<z.ZodArray<z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>, "many">>;
|
|
28
28
|
unsafeBlockHeight: z.ZodOptional<z.ZodNumber>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
transactions?: `0x${string}`[] | undefined;
|
|
31
|
+
unsafeBlockHeight?: number | undefined;
|
|
32
|
+
ump?: Record<number, `0x${string}`[]> | undefined;
|
|
32
33
|
dmp?: {
|
|
33
34
|
msg: `0x${string}`;
|
|
34
35
|
sentAt: number;
|
|
35
36
|
}[] | undefined;
|
|
36
|
-
ump?: Record<number, `0x${string}`[]> | undefined;
|
|
37
37
|
hrmp?: Record<string | number, {
|
|
38
38
|
data: `0x${string}`;
|
|
39
39
|
sentAt: number;
|
|
40
40
|
}[]> | undefined;
|
|
41
|
-
transactions?: `0x${string}`[] | undefined;
|
|
42
|
-
unsafeBlockHeight?: number | undefined;
|
|
43
|
-
}, {
|
|
44
41
|
count?: number | undefined;
|
|
45
42
|
to?: number | undefined;
|
|
43
|
+
}, {
|
|
44
|
+
transactions?: `0x${string}`[] | undefined;
|
|
45
|
+
unsafeBlockHeight?: number | undefined;
|
|
46
|
+
ump?: Record<number, `0x${string}`[]> | undefined;
|
|
46
47
|
dmp?: {
|
|
47
48
|
msg: `0x${string}`;
|
|
48
49
|
sentAt: number;
|
|
49
50
|
}[] | undefined;
|
|
50
|
-
ump?: Record<number, `0x${string}`[]> | undefined;
|
|
51
51
|
hrmp?: Record<string | number, {
|
|
52
52
|
data: `0x${string}`;
|
|
53
53
|
sentAt: number;
|
|
54
54
|
}[]> | undefined;
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
count?: number | undefined;
|
|
56
|
+
to?: number | undefined;
|
|
57
57
|
}>;
|
|
58
58
|
type Params = z.infer<typeof schema>;
|
|
59
59
|
export interface NewBlockParams {
|
package/dist/esm/env.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare const environmentSchema: z.ZodObject<{
|
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
33
|
DISABLE_AUTO_HRMP: boolean;
|
|
34
34
|
DISABLE_PLUGINS: boolean;
|
|
35
|
-
LOG_LEVEL: "
|
|
35
|
+
LOG_LEVEL: "fatal" | "error" | "warn" | "info" | "debug" | "trace";
|
|
36
36
|
VERBOSE_LOG: boolean;
|
|
37
37
|
LOG_COMPACT: boolean;
|
|
38
38
|
PORT?: string | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const environmentSchema: z.ZodObject<{
|
|
|
48
48
|
http_proxy?: string | undefined;
|
|
49
49
|
HTTPS_PROXY?: string | undefined;
|
|
50
50
|
https_proxy?: string | undefined;
|
|
51
|
-
LOG_LEVEL?: "
|
|
51
|
+
LOG_LEVEL?: "fatal" | "error" | "warn" | "info" | "debug" | "trace" | undefined;
|
|
52
52
|
VERBOSE_LOG?: "true" | "false" | undefined;
|
|
53
53
|
LOG_COMPACT?: "true" | "false" | undefined;
|
|
54
54
|
}>;
|
|
@@ -58,7 +58,7 @@ export declare const environmentSchema: z.ZodObject<{
|
|
|
58
58
|
export declare const environment: {
|
|
59
59
|
DISABLE_AUTO_HRMP: boolean;
|
|
60
60
|
DISABLE_PLUGINS: boolean;
|
|
61
|
-
LOG_LEVEL: "
|
|
61
|
+
LOG_LEVEL: "fatal" | "error" | "warn" | "info" | "debug" | "trace";
|
|
62
62
|
VERBOSE_LOG: boolean;
|
|
63
63
|
LOG_COMPACT: boolean;
|
|
64
64
|
PORT?: string | undefined;
|
|
@@ -27,33 +27,33 @@ declare const schema: z.ZodObject<{
|
|
|
27
27
|
transactions: z.ZodOptional<z.ZodArray<z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>, "many">>;
|
|
28
28
|
unsafeBlockHeight: z.ZodOptional<z.ZodNumber>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
transactions?: `0x${string}`[] | undefined;
|
|
31
|
+
unsafeBlockHeight?: number | undefined;
|
|
32
|
+
ump?: Record<number, `0x${string}`[]> | undefined;
|
|
32
33
|
dmp?: {
|
|
33
34
|
msg: `0x${string}`;
|
|
34
35
|
sentAt: number;
|
|
35
36
|
}[] | undefined;
|
|
36
|
-
ump?: Record<number, `0x${string}`[]> | undefined;
|
|
37
37
|
hrmp?: Record<string | number, {
|
|
38
38
|
data: `0x${string}`;
|
|
39
39
|
sentAt: number;
|
|
40
40
|
}[]> | undefined;
|
|
41
|
-
transactions?: `0x${string}`[] | undefined;
|
|
42
|
-
unsafeBlockHeight?: number | undefined;
|
|
43
|
-
}, {
|
|
44
41
|
count?: number | undefined;
|
|
45
42
|
to?: number | undefined;
|
|
43
|
+
}, {
|
|
44
|
+
transactions?: `0x${string}`[] | undefined;
|
|
45
|
+
unsafeBlockHeight?: number | undefined;
|
|
46
|
+
ump?: Record<number, `0x${string}`[]> | undefined;
|
|
46
47
|
dmp?: {
|
|
47
48
|
msg: `0x${string}`;
|
|
48
49
|
sentAt: number;
|
|
49
50
|
}[] | undefined;
|
|
50
|
-
ump?: Record<number, `0x${string}`[]> | undefined;
|
|
51
51
|
hrmp?: Record<string | number, {
|
|
52
52
|
data: `0x${string}`;
|
|
53
53
|
sentAt: number;
|
|
54
54
|
}[]> | undefined;
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
count?: number | undefined;
|
|
56
|
+
to?: number | undefined;
|
|
57
57
|
}>;
|
|
58
58
|
type Params = z.infer<typeof schema>;
|
|
59
59
|
export interface NewBlockParams {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acala-network/chopsticks-core",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"author": "Acala Developers <hello@acala.network>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"depcheck": "npx depcheck"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@acala-network/chopsticks-executor": "0.13.
|
|
15
|
-
"@polkadot/rpc-provider": "^12.
|
|
16
|
-
"@polkadot/types": "^12.
|
|
17
|
-
"@polkadot/types-codec": "^12.
|
|
18
|
-
"@polkadot/types-known": "^12.
|
|
19
|
-
"@polkadot/util": "^
|
|
20
|
-
"@polkadot/util-crypto": "^
|
|
14
|
+
"@acala-network/chopsticks-executor": "0.13.3",
|
|
15
|
+
"@polkadot/rpc-provider": "^12.3.1",
|
|
16
|
+
"@polkadot/types": "^12.3.1",
|
|
17
|
+
"@polkadot/types-codec": "^12.3.1",
|
|
18
|
+
"@polkadot/types-known": "^12.3.1",
|
|
19
|
+
"@polkadot/util": "^13.0.2",
|
|
20
|
+
"@polkadot/util-crypto": "^13.0.2",
|
|
21
21
|
"comlink": "^4.4.1",
|
|
22
22
|
"eventemitter3": "^5.0.1",
|
|
23
23
|
"lodash": "^4.17.21",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@swc/cli": "0.4.0",
|
|
32
|
-
"@swc/core": "^1.6
|
|
32
|
+
"@swc/core": "^1.7.6",
|
|
33
33
|
"@types/lodash": "^4.17.6",
|
|
34
34
|
"typescript": "^5.5.3",
|
|
35
35
|
"vitest": "^1.4.0"
|