@proton/wrap-constants 0.2.76 → 0.2.77
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 +5 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/src/parsers/dex.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6868,20 +6868,20 @@ 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
6872
|
}, "strip", z.ZodTypeAny, {
|
|
6873
|
-
order_ids:
|
|
6873
|
+
order_ids: number[];
|
|
6874
6874
|
}, {
|
|
6875
|
-
order_ids:
|
|
6875
|
+
order_ids: number[];
|
|
6876
6876
|
}>;
|
|
6877
6877
|
}, "strip", z.ZodTypeAny, {
|
|
6878
6878
|
data: {
|
|
6879
|
-
order_ids:
|
|
6879
|
+
order_ids: number[];
|
|
6880
6880
|
};
|
|
6881
6881
|
sync: number;
|
|
6882
6882
|
}, {
|
|
6883
6883
|
data: {
|
|
6884
|
-
order_ids:
|
|
6884
|
+
order_ids: number[];
|
|
6885
6885
|
};
|
|
6886
6886
|
sync: number;
|
|
6887
6887
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -1877,7 +1877,7 @@ 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
1881
|
})
|
|
1882
1882
|
});
|
|
1883
1883
|
var depthParser = z11.object({
|
package/dist/index.mjs
CHANGED
|
@@ -1747,7 +1747,7 @@ 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
1751
|
})
|
|
1752
1752
|
});
|
|
1753
1753
|
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.77",
|
|
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": "4005705b793187515fefd098c1e0fc3392e2b580"
|
|
44
44
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -116,7 +116,7 @@ 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
120
|
}),
|
|
121
121
|
});
|
|
122
122
|
export type SubmitOrderResponse = z.infer<typeof submitOrderResponseParser>;
|