@proton/wrap-constants 0.2.138 → 0.2.140
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/index.d.ts +6 -14
- package/dist/index.js +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +2 -2
- package/src/parsers/dex.ts +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -11140,8 +11140,8 @@ declare const getHistoryTransfersParser: z.ZodObject<{
|
|
|
11140
11140
|
amount_max: z.ZodOptional<z.ZodString>;
|
|
11141
11141
|
date_from: z.ZodOptional<z.ZodString>;
|
|
11142
11142
|
date_to: z.ZodOptional<z.ZodString>;
|
|
11143
|
-
|
|
11144
|
-
|
|
11143
|
+
global_seq_from: z.ZodOptional<z.ZodString>;
|
|
11144
|
+
global_seq_to: z.ZodOptional<z.ZodString>;
|
|
11145
11145
|
direction: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
|
|
11146
11146
|
limit: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, number | undefined>;
|
|
11147
11147
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11154,8 +11154,8 @@ declare const getHistoryTransfersParser: z.ZodObject<{
|
|
|
11154
11154
|
amount_max?: string | undefined;
|
|
11155
11155
|
date_from?: string | undefined;
|
|
11156
11156
|
date_to?: string | undefined;
|
|
11157
|
-
|
|
11158
|
-
|
|
11157
|
+
global_seq_from?: string | undefined;
|
|
11158
|
+
global_seq_to?: string | undefined;
|
|
11159
11159
|
direction?: "asc" | "desc" | undefined;
|
|
11160
11160
|
}, {
|
|
11161
11161
|
transfer_from?: string | undefined;
|
|
@@ -11166,8 +11166,8 @@ declare const getHistoryTransfersParser: z.ZodObject<{
|
|
|
11166
11166
|
amount_max?: string | undefined;
|
|
11167
11167
|
date_from?: string | undefined;
|
|
11168
11168
|
date_to?: string | undefined;
|
|
11169
|
-
|
|
11170
|
-
|
|
11169
|
+
global_seq_from?: string | undefined;
|
|
11170
|
+
global_seq_to?: string | undefined;
|
|
11171
11171
|
direction?: "asc" | "desc" | undefined;
|
|
11172
11172
|
limit?: number | undefined;
|
|
11173
11173
|
}>;
|
|
@@ -11177,7 +11177,6 @@ declare const historyTransferParser: z.ZodObject<{
|
|
|
11177
11177
|
block_num: z.ZodNumber;
|
|
11178
11178
|
block_time: z.ZodString;
|
|
11179
11179
|
trx_id: z.ZodString;
|
|
11180
|
-
trx_seq: z.ZodNumber;
|
|
11181
11180
|
account_action_seq: z.ZodNumber;
|
|
11182
11181
|
global_action_seq: z.ZodNumber;
|
|
11183
11182
|
action_trace: z.ZodObject<{
|
|
@@ -11386,7 +11385,6 @@ declare const historyTransferParser: z.ZodObject<{
|
|
|
11386
11385
|
error_code: string | null;
|
|
11387
11386
|
return_value: string;
|
|
11388
11387
|
};
|
|
11389
|
-
trx_seq: number;
|
|
11390
11388
|
}, {
|
|
11391
11389
|
block_time: string;
|
|
11392
11390
|
block_num: number;
|
|
@@ -11430,7 +11428,6 @@ declare const historyTransferParser: z.ZodObject<{
|
|
|
11430
11428
|
error_code: string | null;
|
|
11431
11429
|
return_value: string;
|
|
11432
11430
|
};
|
|
11433
|
-
trx_seq: number;
|
|
11434
11431
|
}>;
|
|
11435
11432
|
declare type HistoryTransfer = z.infer<typeof historyTransferParser>;
|
|
11436
11433
|
declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
@@ -11440,7 +11437,6 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
|
11440
11437
|
block_num: z.ZodNumber;
|
|
11441
11438
|
block_time: z.ZodString;
|
|
11442
11439
|
trx_id: z.ZodString;
|
|
11443
|
-
trx_seq: z.ZodNumber;
|
|
11444
11440
|
account_action_seq: z.ZodNumber;
|
|
11445
11441
|
global_action_seq: z.ZodNumber;
|
|
11446
11442
|
action_trace: z.ZodObject<{
|
|
@@ -11649,7 +11645,6 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
|
11649
11645
|
error_code: string | null;
|
|
11650
11646
|
return_value: string;
|
|
11651
11647
|
};
|
|
11652
|
-
trx_seq: number;
|
|
11653
11648
|
}, {
|
|
11654
11649
|
block_time: string;
|
|
11655
11650
|
block_num: number;
|
|
@@ -11693,7 +11688,6 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
|
11693
11688
|
error_code: string | null;
|
|
11694
11689
|
return_value: string;
|
|
11695
11690
|
};
|
|
11696
|
-
trx_seq: number;
|
|
11697
11691
|
}>, "many">;
|
|
11698
11692
|
}, "strip", z.ZodTypeAny, {
|
|
11699
11693
|
data: {
|
|
@@ -11739,7 +11733,6 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
|
11739
11733
|
error_code: string | null;
|
|
11740
11734
|
return_value: string;
|
|
11741
11735
|
};
|
|
11742
|
-
trx_seq: number;
|
|
11743
11736
|
}[];
|
|
11744
11737
|
sync: number;
|
|
11745
11738
|
last_irreversible_block_num: number;
|
|
@@ -11787,7 +11780,6 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
|
|
|
11787
11780
|
error_code: string | null;
|
|
11788
11781
|
return_value: string;
|
|
11789
11782
|
};
|
|
11790
|
-
trx_seq: number;
|
|
11791
11783
|
}[];
|
|
11792
11784
|
sync: number;
|
|
11793
11785
|
last_irreversible_block_num: number;
|
package/dist/index.js
CHANGED
|
@@ -2370,8 +2370,8 @@ var getHistoryTransfersParser = z11.object({
|
|
|
2370
2370
|
amount_max: z11.string().optional(),
|
|
2371
2371
|
date_from: z11.string().optional(),
|
|
2372
2372
|
date_to: z11.string().optional(),
|
|
2373
|
-
|
|
2374
|
-
|
|
2373
|
+
global_seq_from: z11.string().optional(),
|
|
2374
|
+
global_seq_to: z11.string().optional(),
|
|
2375
2375
|
direction: sortDirectionEnum.optional(),
|
|
2376
2376
|
limit: createLimit(100, 250)
|
|
2377
2377
|
});
|
|
@@ -2379,7 +2379,6 @@ var historyTransferParser = z11.object({
|
|
|
2379
2379
|
block_num: z11.number(),
|
|
2380
2380
|
block_time: z11.string(),
|
|
2381
2381
|
trx_id: z11.string(),
|
|
2382
|
-
trx_seq: z11.number(),
|
|
2383
2382
|
account_action_seq: z11.number(),
|
|
2384
2383
|
global_action_seq: z11.number(),
|
|
2385
2384
|
action_trace: actionTraceParser,
|
package/dist/index.mjs
CHANGED
|
@@ -2218,8 +2218,8 @@ var getHistoryTransfersParser = z11.object({
|
|
|
2218
2218
|
amount_max: z11.string().optional(),
|
|
2219
2219
|
date_from: z11.string().optional(),
|
|
2220
2220
|
date_to: z11.string().optional(),
|
|
2221
|
-
|
|
2222
|
-
|
|
2221
|
+
global_seq_from: z11.string().optional(),
|
|
2222
|
+
global_seq_to: z11.string().optional(),
|
|
2223
2223
|
direction: sortDirectionEnum.optional(),
|
|
2224
2224
|
limit: createLimit(100, 250)
|
|
2225
2225
|
});
|
|
@@ -2227,7 +2227,6 @@ var historyTransferParser = z11.object({
|
|
|
2227
2227
|
block_num: z11.number(),
|
|
2228
2228
|
block_time: z11.string(),
|
|
2229
2229
|
trx_id: z11.string(),
|
|
2230
|
-
trx_seq: z11.number(),
|
|
2231
2230
|
account_action_seq: z11.number(),
|
|
2232
2231
|
global_action_seq: z11.number(),
|
|
2233
2232
|
action_trace: actionTraceParser,
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.2.
|
|
8
|
+
"version": "0.2.140",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"typings": "dist/index.d.ts",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"resolutions": {
|
|
41
41
|
"typescript": "4.5"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "5f643d93a2414ea4301ef51c0f987543af029bd8"
|
|
44
44
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -668,8 +668,8 @@ export const getHistoryTransfersParser = z.object({
|
|
|
668
668
|
amount_max: z.string().optional(),
|
|
669
669
|
date_from: z.string().optional(),
|
|
670
670
|
date_to: z.string().optional(),
|
|
671
|
-
|
|
672
|
-
|
|
671
|
+
global_seq_from: z.string().optional(),
|
|
672
|
+
global_seq_to: z.string().optional(),
|
|
673
673
|
direction: sortDirectionEnum.optional(),
|
|
674
674
|
limit: createLimit(100, 250)
|
|
675
675
|
});
|
|
@@ -680,7 +680,6 @@ export const historyTransferParser = z.object({
|
|
|
680
680
|
block_num: z.number(),
|
|
681
681
|
block_time: z.string(),
|
|
682
682
|
trx_id: z.string(),
|
|
683
|
-
trx_seq: z.number(),
|
|
684
683
|
account_action_seq: z.number(),
|
|
685
684
|
global_action_seq: z.number(),
|
|
686
685
|
action_trace: actionTraceParser,
|