@nucypher/taco 0.7.0-alpha.4 → 0.7.0-alpha.6
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/conditions/schemas/context-variable.d.ts +14 -14
- package/dist/cjs/conditions/schemas/json-api.d.ts +14 -14
- package/dist/cjs/conditions/schemas/json-rpc.d.ts +18 -18
- package/dist/cjs/conditions/schemas/json.d.ts +13 -13
- package/dist/cjs/conditions/schemas/return-value-test.d.ts +20 -20
- package/dist/cjs/conditions/schemas/variable-operation.d.ts +12 -12
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/sign.d.ts +6 -1
- package/dist/cjs/sign.js.map +1 -1
- package/dist/es/conditions/schemas/context-variable.d.ts +14 -14
- package/dist/es/conditions/schemas/json-api.d.ts +14 -14
- package/dist/es/conditions/schemas/json-rpc.d.ts +18 -18
- package/dist/es/conditions/schemas/json.d.ts +13 -13
- package/dist/es/conditions/schemas/return-value-test.d.ts +20 -20
- package/dist/es/conditions/schemas/variable-operation.d.ts +12 -12
- package/dist/es/index.d.ts +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/index.js.map +1 -1
- package/dist/es/sign.d.ts +6 -1
- package/dist/es/sign.js.map +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.es.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -10,22 +10,22 @@ export declare const contextVariableConditionSchema: z.ZodObject<{} & {
|
|
|
10
10
|
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str"]>;
|
|
11
11
|
value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
13
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
14
14
|
value?: any;
|
|
15
15
|
}, {
|
|
16
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
16
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
17
17
|
value?: any;
|
|
18
18
|
}>, {
|
|
19
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
19
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
20
20
|
value?: any;
|
|
21
21
|
}, {
|
|
22
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
22
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
23
23
|
value?: any;
|
|
24
24
|
}>, {
|
|
25
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
25
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
26
26
|
value?: any;
|
|
27
27
|
}, {
|
|
28
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
28
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
29
29
|
value?: any;
|
|
30
30
|
}>, "many">>;
|
|
31
31
|
} & {
|
|
@@ -35,7 +35,7 @@ export declare const contextVariableConditionSchema: z.ZodObject<{} & {
|
|
|
35
35
|
value?: any;
|
|
36
36
|
index?: number | undefined;
|
|
37
37
|
operations?: {
|
|
38
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
38
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
39
39
|
value?: any;
|
|
40
40
|
}[] | undefined;
|
|
41
41
|
}, {
|
|
@@ -43,7 +43,7 @@ export declare const contextVariableConditionSchema: z.ZodObject<{} & {
|
|
|
43
43
|
value?: any;
|
|
44
44
|
index?: number | undefined;
|
|
45
45
|
operations?: {
|
|
46
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
46
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
47
47
|
value?: any;
|
|
48
48
|
}[] | undefined;
|
|
49
49
|
}>, {
|
|
@@ -51,7 +51,7 @@ export declare const contextVariableConditionSchema: z.ZodObject<{} & {
|
|
|
51
51
|
value?: any;
|
|
52
52
|
index?: number | undefined;
|
|
53
53
|
operations?: {
|
|
54
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
54
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
55
55
|
value?: any;
|
|
56
56
|
}[] | undefined;
|
|
57
57
|
}, {
|
|
@@ -59,33 +59,33 @@ export declare const contextVariableConditionSchema: z.ZodObject<{} & {
|
|
|
59
59
|
value?: any;
|
|
60
60
|
index?: number | undefined;
|
|
61
61
|
operations?: {
|
|
62
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
62
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
63
63
|
value?: any;
|
|
64
64
|
}[] | undefined;
|
|
65
65
|
}>;
|
|
66
66
|
}, "strict", z.ZodTypeAny, {
|
|
67
67
|
conditionType: "context-variable";
|
|
68
|
-
contextVariable: string;
|
|
69
68
|
returnValueTest: {
|
|
70
69
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
71
70
|
value?: any;
|
|
72
71
|
index?: number | undefined;
|
|
73
72
|
operations?: {
|
|
74
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
73
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
75
74
|
value?: any;
|
|
76
75
|
}[] | undefined;
|
|
77
76
|
};
|
|
77
|
+
contextVariable: string;
|
|
78
78
|
}, {
|
|
79
79
|
conditionType: "context-variable";
|
|
80
|
-
contextVariable: string;
|
|
81
80
|
returnValueTest: {
|
|
82
81
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
83
82
|
value?: any;
|
|
84
83
|
index?: number | undefined;
|
|
85
84
|
operations?: {
|
|
86
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
85
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
87
86
|
value?: any;
|
|
88
87
|
}[] | undefined;
|
|
89
88
|
};
|
|
89
|
+
contextVariable: string;
|
|
90
90
|
}>;
|
|
91
91
|
export type ContextVariableConditionProps = z.infer<typeof contextVariableConditionSchema>;
|
|
@@ -14,22 +14,22 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
14
14
|
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str"]>;
|
|
15
15
|
value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
17
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
18
18
|
value?: any;
|
|
19
19
|
}, {
|
|
20
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
20
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
21
21
|
value?: any;
|
|
22
22
|
}>, {
|
|
23
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
23
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
24
24
|
value?: any;
|
|
25
25
|
}, {
|
|
26
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
26
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
27
27
|
value?: any;
|
|
28
28
|
}>, {
|
|
29
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
29
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
30
30
|
value?: any;
|
|
31
31
|
}, {
|
|
32
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
32
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
33
33
|
value?: any;
|
|
34
34
|
}>, "many">>;
|
|
35
35
|
} & {
|
|
@@ -39,7 +39,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
39
39
|
value?: any;
|
|
40
40
|
index?: number | undefined;
|
|
41
41
|
operations?: {
|
|
42
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
42
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
43
43
|
value?: any;
|
|
44
44
|
}[] | undefined;
|
|
45
45
|
}, {
|
|
@@ -47,7 +47,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
47
47
|
value?: any;
|
|
48
48
|
index?: number | undefined;
|
|
49
49
|
operations?: {
|
|
50
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
50
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
51
51
|
value?: any;
|
|
52
52
|
}[] | undefined;
|
|
53
53
|
}>, {
|
|
@@ -55,7 +55,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
55
55
|
value?: any;
|
|
56
56
|
index?: number | undefined;
|
|
57
57
|
operations?: {
|
|
58
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
58
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
59
59
|
value?: any;
|
|
60
60
|
}[] | undefined;
|
|
61
61
|
}, {
|
|
@@ -63,7 +63,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
63
63
|
value?: any;
|
|
64
64
|
index?: number | undefined;
|
|
65
65
|
operations?: {
|
|
66
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
66
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
67
67
|
value?: any;
|
|
68
68
|
}[] | undefined;
|
|
69
69
|
}>;
|
|
@@ -74,7 +74,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
74
74
|
value?: any;
|
|
75
75
|
index?: number | undefined;
|
|
76
76
|
operations?: {
|
|
77
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
77
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
78
78
|
value?: any;
|
|
79
79
|
}[] | undefined;
|
|
80
80
|
};
|
|
@@ -89,7 +89,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
89
89
|
value?: any;
|
|
90
90
|
index?: number | undefined;
|
|
91
91
|
operations?: {
|
|
92
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
92
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
93
93
|
value?: any;
|
|
94
94
|
}[] | undefined;
|
|
95
95
|
};
|
|
@@ -106,7 +106,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
106
106
|
value?: any;
|
|
107
107
|
index?: number | undefined;
|
|
108
108
|
operations?: {
|
|
109
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
109
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
110
110
|
value?: any;
|
|
111
111
|
}[] | undefined;
|
|
112
112
|
};
|
|
@@ -121,7 +121,7 @@ export declare const jsonApiConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
121
121
|
value?: any;
|
|
122
122
|
index?: number | undefined;
|
|
123
123
|
operations?: {
|
|
124
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
124
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
125
125
|
value?: any;
|
|
126
126
|
}[] | undefined;
|
|
127
127
|
};
|
|
@@ -15,22 +15,22 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
15
15
|
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str"]>;
|
|
16
16
|
value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
18
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
19
19
|
value?: any;
|
|
20
20
|
}, {
|
|
21
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
21
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
22
22
|
value?: any;
|
|
23
23
|
}>, {
|
|
24
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
24
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
25
25
|
value?: any;
|
|
26
26
|
}, {
|
|
27
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
27
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
28
28
|
value?: any;
|
|
29
29
|
}>, {
|
|
30
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
30
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
31
31
|
value?: any;
|
|
32
32
|
}, {
|
|
33
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
33
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
34
34
|
value?: any;
|
|
35
35
|
}>, "many">>;
|
|
36
36
|
} & {
|
|
@@ -40,7 +40,7 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
40
40
|
value?: any;
|
|
41
41
|
index?: number | undefined;
|
|
42
42
|
operations?: {
|
|
43
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
43
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
44
44
|
value?: any;
|
|
45
45
|
}[] | undefined;
|
|
46
46
|
}, {
|
|
@@ -48,7 +48,7 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
48
48
|
value?: any;
|
|
49
49
|
index?: number | undefined;
|
|
50
50
|
operations?: {
|
|
51
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
51
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
52
52
|
value?: any;
|
|
53
53
|
}[] | undefined;
|
|
54
54
|
}>, {
|
|
@@ -56,7 +56,7 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
56
56
|
value?: any;
|
|
57
57
|
index?: number | undefined;
|
|
58
58
|
operations?: {
|
|
59
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
59
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
60
60
|
value?: any;
|
|
61
61
|
}[] | undefined;
|
|
62
62
|
}, {
|
|
@@ -64,38 +64,38 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
64
64
|
value?: any;
|
|
65
65
|
index?: number | undefined;
|
|
66
66
|
operations?: {
|
|
67
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
67
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
68
68
|
value?: any;
|
|
69
69
|
}[] | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
72
|
conditionType: "json-rpc";
|
|
73
|
+
method: string;
|
|
73
74
|
returnValueTest: {
|
|
74
75
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
75
76
|
value?: any;
|
|
76
77
|
index?: number | undefined;
|
|
77
78
|
operations?: {
|
|
78
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
79
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
79
80
|
value?: any;
|
|
80
81
|
}[] | undefined;
|
|
81
82
|
};
|
|
82
|
-
method: string;
|
|
83
83
|
endpoint: string;
|
|
84
84
|
params?: unknown[] | Record<string, unknown> | undefined;
|
|
85
85
|
query?: string | undefined;
|
|
86
86
|
authorizationToken?: string | undefined;
|
|
87
87
|
authorizationType?: "Bearer" | "Basic" | "X-API-Key" | undefined;
|
|
88
88
|
}, {
|
|
89
|
+
method: string;
|
|
89
90
|
returnValueTest: {
|
|
90
91
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
91
92
|
value?: any;
|
|
92
93
|
index?: number | undefined;
|
|
93
94
|
operations?: {
|
|
94
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
95
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
95
96
|
value?: any;
|
|
96
97
|
}[] | undefined;
|
|
97
98
|
};
|
|
98
|
-
method: string;
|
|
99
99
|
endpoint: string;
|
|
100
100
|
params?: unknown[] | Record<string, unknown> | undefined;
|
|
101
101
|
conditionType?: "json-rpc" | undefined;
|
|
@@ -104,32 +104,32 @@ export declare const jsonRpcConditionSchema: z.ZodEffects<z.ZodObject<{} & {
|
|
|
104
104
|
authorizationType?: "Bearer" | "Basic" | "X-API-Key" | undefined;
|
|
105
105
|
}>, {
|
|
106
106
|
conditionType: "json-rpc";
|
|
107
|
+
method: string;
|
|
107
108
|
returnValueTest: {
|
|
108
109
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
109
110
|
value?: any;
|
|
110
111
|
index?: number | undefined;
|
|
111
112
|
operations?: {
|
|
112
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
113
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
113
114
|
value?: any;
|
|
114
115
|
}[] | undefined;
|
|
115
116
|
};
|
|
116
|
-
method: string;
|
|
117
117
|
endpoint: string;
|
|
118
118
|
params?: unknown[] | Record<string, unknown> | undefined;
|
|
119
119
|
query?: string | undefined;
|
|
120
120
|
authorizationToken?: string | undefined;
|
|
121
121
|
authorizationType?: "Bearer" | "Basic" | "X-API-Key" | undefined;
|
|
122
122
|
}, {
|
|
123
|
+
method: string;
|
|
123
124
|
returnValueTest: {
|
|
124
125
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
125
126
|
value?: any;
|
|
126
127
|
index?: number | undefined;
|
|
127
128
|
operations?: {
|
|
128
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
129
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
129
130
|
value?: any;
|
|
130
131
|
}[] | undefined;
|
|
131
132
|
};
|
|
132
|
-
method: string;
|
|
133
133
|
endpoint: string;
|
|
134
134
|
params?: unknown[] | Record<string, unknown> | undefined;
|
|
135
135
|
conditionType?: "json-rpc" | undefined;
|
|
@@ -11,22 +11,22 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
11
11
|
operation: z.ZodEnum<["+=", "-=", "*=", "/=", "%=", "index", "round", "abs", "avg", "ceil", "ethToWei", "floor", "len", "max", "min", "sum", "weiToEth", "bool", "float", "int", "str"]>;
|
|
12
12
|
value: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
14
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
15
15
|
value?: any;
|
|
16
16
|
}, {
|
|
17
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
17
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
18
18
|
value?: any;
|
|
19
19
|
}>, {
|
|
20
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
20
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
21
21
|
value?: any;
|
|
22
22
|
}, {
|
|
23
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
23
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
24
24
|
value?: any;
|
|
25
25
|
}>, {
|
|
26
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
26
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
27
27
|
value?: any;
|
|
28
28
|
}, {
|
|
29
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
29
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
30
30
|
value?: any;
|
|
31
31
|
}>, "many">>;
|
|
32
32
|
} & {
|
|
@@ -36,7 +36,7 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
36
36
|
value?: any;
|
|
37
37
|
index?: number | undefined;
|
|
38
38
|
operations?: {
|
|
39
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
39
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
40
40
|
value?: any;
|
|
41
41
|
}[] | undefined;
|
|
42
42
|
}, {
|
|
@@ -44,7 +44,7 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
44
44
|
value?: any;
|
|
45
45
|
index?: number | undefined;
|
|
46
46
|
operations?: {
|
|
47
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
47
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
48
48
|
value?: any;
|
|
49
49
|
}[] | undefined;
|
|
50
50
|
}>, {
|
|
@@ -52,7 +52,7 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
52
52
|
value?: any;
|
|
53
53
|
index?: number | undefined;
|
|
54
54
|
operations?: {
|
|
55
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
55
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
56
56
|
value?: any;
|
|
57
57
|
}[] | undefined;
|
|
58
58
|
}, {
|
|
@@ -60,19 +60,19 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
60
60
|
value?: any;
|
|
61
61
|
index?: number | undefined;
|
|
62
62
|
operations?: {
|
|
63
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
63
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
64
64
|
value?: any;
|
|
65
65
|
}[] | undefined;
|
|
66
66
|
}>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
conditionType: "json";
|
|
69
68
|
data: string;
|
|
69
|
+
conditionType: "json";
|
|
70
70
|
returnValueTest: {
|
|
71
71
|
comparator: "==" | ">" | "<" | ">=" | "<=" | "!=" | "in" | "!in";
|
|
72
72
|
value?: any;
|
|
73
73
|
index?: number | undefined;
|
|
74
74
|
operations?: {
|
|
75
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
75
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
76
76
|
value?: any;
|
|
77
77
|
}[] | undefined;
|
|
78
78
|
};
|
|
@@ -84,7 +84,7 @@ export declare const jsonConditionSchema: z.ZodObject<{} & {
|
|
|
84
84
|
value?: any;
|
|
85
85
|
index?: number | undefined;
|
|
86
86
|
operations?: {
|
|
87
|
-
operation: "float" | "+=" | "-=" | "*=" | "/=" | "%=" | "
|
|
87
|
+
operation: "float" | "index" | "+=" | "-=" | "*=" | "/=" | "%=" | "round" | "abs" | "avg" | "ceil" | "ethToWei" | "floor" | "len" | "max" | "min" | "sum" | "weiToEth" | "bool" | "int" | "str";
|
|
88
88
|
value?: any;
|
|
89
89
|
}[] | undefined;
|
|
90
90
|
};
|