@proton/wrap-constants 0.2.76 → 0.2.78
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 +10 -5
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
- package/src/parsers/dex.ts +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -6868,20 +6868,25 @@ declare type SubmitOrderParser = z.infer<typeof submitOrderParser>;
|
|
|
6868
6868
|
declare const submitOrderResponseParser: z.ZodObject<{
|
|
6869
6869
|
sync: z.ZodNumber;
|
|
6870
6870
|
data: z.ZodObject<{
|
|
6871
|
-
order_ids: z.ZodArray<z.
|
|
6871
|
+
order_ids: z.ZodArray<z.ZodNumber, "many">;
|
|
6872
|
+
trx_id: z.ZodString;
|
|
6872
6873
|
}, "strip", z.ZodTypeAny, {
|
|
6873
|
-
|
|
6874
|
+
trx_id: string;
|
|
6875
|
+
order_ids: number[];
|
|
6874
6876
|
}, {
|
|
6875
|
-
|
|
6877
|
+
trx_id: string;
|
|
6878
|
+
order_ids: number[];
|
|
6876
6879
|
}>;
|
|
6877
6880
|
}, "strip", z.ZodTypeAny, {
|
|
6878
6881
|
data: {
|
|
6879
|
-
|
|
6882
|
+
trx_id: string;
|
|
6883
|
+
order_ids: number[];
|
|
6880
6884
|
};
|
|
6881
6885
|
sync: number;
|
|
6882
6886
|
}, {
|
|
6883
6887
|
data: {
|
|
6884
|
-
|
|
6888
|
+
trx_id: string;
|
|
6889
|
+
order_ids: number[];
|
|
6885
6890
|
};
|
|
6886
6891
|
sync: number;
|
|
6887
6892
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -1877,7 +1877,8 @@ var submitOrderParser = z11.object({
|
|
|
1877
1877
|
var submitOrderResponseParser = z11.object({
|
|
1878
1878
|
sync: z11.number(),
|
|
1879
1879
|
data: z11.object({
|
|
1880
|
-
order_ids: z11.array(z11.
|
|
1880
|
+
order_ids: z11.array(z11.number()),
|
|
1881
|
+
trx_id: z11.string()
|
|
1881
1882
|
})
|
|
1882
1883
|
});
|
|
1883
1884
|
var depthParser = z11.object({
|
package/dist/index.mjs
CHANGED
|
@@ -1747,7 +1747,8 @@ var submitOrderParser = z11.object({
|
|
|
1747
1747
|
var submitOrderResponseParser = z11.object({
|
|
1748
1748
|
sync: z11.number(),
|
|
1749
1749
|
data: z11.object({
|
|
1750
|
-
order_ids: z11.array(z11.
|
|
1750
|
+
order_ids: z11.array(z11.number()),
|
|
1751
|
+
trx_id: z11.string()
|
|
1751
1752
|
})
|
|
1752
1753
|
});
|
|
1753
1754
|
var depthParser = z11.object({
|
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.78",
|
|
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": "2f9aa275f7bdc61ec5bfd041d8abe98f479ae4cc"
|
|
44
44
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -116,7 +116,8 @@ export type SubmitOrderParser = z.infer<typeof submitOrderParser>;
|
|
|
116
116
|
export const submitOrderResponseParser = z.object({
|
|
117
117
|
sync: z.number(),
|
|
118
118
|
data: z.object({
|
|
119
|
-
order_ids: z.array(z.
|
|
119
|
+
order_ids: z.array(z.number()),
|
|
120
|
+
trx_id: z.string(),
|
|
120
121
|
}),
|
|
121
122
|
});
|
|
122
123
|
export type SubmitOrderResponse = z.infer<typeof submitOrderResponseParser>;
|