@proton/wrap-constants 0.2.95 → 0.2.96
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 -6
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
- package/src/parsers/dex.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -6530,19 +6530,19 @@ declare const getOpenOrdersParser: z.ZodObject<{
|
|
|
6530
6530
|
symbol: z.ZodOptional<z.ZodString>;
|
|
6531
6531
|
offset: z.ZodDefault<z.ZodString>;
|
|
6532
6532
|
limit: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
|
|
6533
|
-
|
|
6533
|
+
ordinal_order_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6534
6534
|
}, "strip", z.ZodTypeAny, {
|
|
6535
6535
|
account: string;
|
|
6536
6536
|
limit: string;
|
|
6537
6537
|
offset: string;
|
|
6538
6538
|
symbol?: string | undefined;
|
|
6539
|
-
|
|
6539
|
+
ordinal_order_ids?: string[] | undefined;
|
|
6540
6540
|
}, {
|
|
6541
6541
|
account: string;
|
|
6542
6542
|
symbol?: string | undefined;
|
|
6543
6543
|
offset?: string | undefined;
|
|
6544
6544
|
limit?: string | undefined;
|
|
6545
|
-
|
|
6545
|
+
ordinal_order_ids?: string[] | undefined;
|
|
6546
6546
|
}>;
|
|
6547
6547
|
declare type GetOpenOrders = z.infer<typeof getOpenOrdersParser>;
|
|
6548
6548
|
declare const getOpenOrdersResponseParser: z.ZodObject<{
|
|
@@ -6669,23 +6669,23 @@ declare const getOrderHistoryParser: z.ZodObject<{
|
|
|
6669
6669
|
symbol: z.ZodOptional<z.ZodString>;
|
|
6670
6670
|
offset: z.ZodDefault<z.ZodString>;
|
|
6671
6671
|
limit: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
|
|
6672
|
-
|
|
6672
|
+
ordinal_order_ids: z.ZodArray<z.ZodOptional<z.ZodString>, "many">;
|
|
6673
6673
|
trx_id: z.ZodOptional<z.ZodString>;
|
|
6674
6674
|
status: z.ZodOptional<z.ZodString>;
|
|
6675
6675
|
}, "strip", z.ZodTypeAny, {
|
|
6676
6676
|
account: string;
|
|
6677
6677
|
limit: string;
|
|
6678
6678
|
offset: string;
|
|
6679
|
+
ordinal_order_ids: (string | undefined)[];
|
|
6679
6680
|
symbol?: string | undefined;
|
|
6680
|
-
ordinal_order_id?: string | undefined;
|
|
6681
6681
|
trx_id?: string | undefined;
|
|
6682
6682
|
status?: string | undefined;
|
|
6683
6683
|
}, {
|
|
6684
6684
|
account: string;
|
|
6685
|
+
ordinal_order_ids: (string | undefined)[];
|
|
6685
6686
|
symbol?: string | undefined;
|
|
6686
6687
|
offset?: string | undefined;
|
|
6687
6688
|
limit?: string | undefined;
|
|
6688
|
-
ordinal_order_id?: string | undefined;
|
|
6689
6689
|
trx_id?: string | undefined;
|
|
6690
6690
|
status?: string | undefined;
|
|
6691
6691
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -1918,7 +1918,7 @@ var getOpenOrdersParser = z11.object({
|
|
|
1918
1918
|
symbol: z11.string().optional(),
|
|
1919
1919
|
offset: z11.string().default("0"),
|
|
1920
1920
|
limit: createLimit(100, 250),
|
|
1921
|
-
|
|
1921
|
+
ordinal_order_ids: z11.array(z11.string()).optional()
|
|
1922
1922
|
});
|
|
1923
1923
|
var getOpenOrdersResponseParser = z11.object({
|
|
1924
1924
|
sync: z11.number(),
|
|
@@ -1930,7 +1930,7 @@ var getOrderHistoryParser = z11.object({
|
|
|
1930
1930
|
symbol: z11.string().optional(),
|
|
1931
1931
|
offset: z11.string().default("0"),
|
|
1932
1932
|
limit: createLimit(100, 250),
|
|
1933
|
-
|
|
1933
|
+
ordinal_order_ids: z11.array(z11.string().optional()),
|
|
1934
1934
|
trx_id: z11.string().optional(),
|
|
1935
1935
|
status: z11.string().optional()
|
|
1936
1936
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -1786,7 +1786,7 @@ var getOpenOrdersParser = z11.object({
|
|
|
1786
1786
|
symbol: z11.string().optional(),
|
|
1787
1787
|
offset: z11.string().default("0"),
|
|
1788
1788
|
limit: createLimit(100, 250),
|
|
1789
|
-
|
|
1789
|
+
ordinal_order_ids: z11.array(z11.string()).optional()
|
|
1790
1790
|
});
|
|
1791
1791
|
var getOpenOrdersResponseParser = z11.object({
|
|
1792
1792
|
sync: z11.number(),
|
|
@@ -1798,7 +1798,7 @@ var getOrderHistoryParser = z11.object({
|
|
|
1798
1798
|
symbol: z11.string().optional(),
|
|
1799
1799
|
offset: z11.string().default("0"),
|
|
1800
1800
|
limit: createLimit(100, 250),
|
|
1801
|
-
|
|
1801
|
+
ordinal_order_ids: z11.array(z11.string().optional()),
|
|
1802
1802
|
trx_id: z11.string().optional(),
|
|
1803
1803
|
status: z11.string().optional()
|
|
1804
1804
|
});
|
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.96",
|
|
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": "70294a3adc57e4e4298ed2b596f7c7f56b2602de"
|
|
44
44
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -68,7 +68,7 @@ export const getOpenOrdersParser = z.object({
|
|
|
68
68
|
symbol: z.string().optional(),
|
|
69
69
|
offset: z.string().default("0"),
|
|
70
70
|
limit: createLimit(100, 250),
|
|
71
|
-
|
|
71
|
+
ordinal_order_ids: z.array(z.string()).optional(),
|
|
72
72
|
});
|
|
73
73
|
export type GetOpenOrders = z.infer<typeof getOpenOrdersParser>;
|
|
74
74
|
|
|
@@ -84,7 +84,7 @@ export const getOrderHistoryParser = z.object({
|
|
|
84
84
|
symbol: z.string().optional(),
|
|
85
85
|
offset: z.string().default("0"),
|
|
86
86
|
limit: createLimit(100, 250),
|
|
87
|
-
|
|
87
|
+
ordinal_order_ids: z.array(z.string().optional()),
|
|
88
88
|
trx_id: z.string().optional(),
|
|
89
89
|
status: z.string().optional(),
|
|
90
90
|
});
|