@proton/wrap-constants 0.2.75 → 0.2.76
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 +16 -3
- package/dist/index.js +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +2 -2
- package/src/parsers/dex.ts +4 -1
package/dist/index.d.ts
CHANGED
|
@@ -6866,11 +6866,24 @@ declare const submitOrderParser: z.ZodObject<{
|
|
|
6866
6866
|
}>;
|
|
6867
6867
|
declare type SubmitOrderParser = z.infer<typeof submitOrderParser>;
|
|
6868
6868
|
declare const submitOrderResponseParser: z.ZodObject<{
|
|
6869
|
-
|
|
6869
|
+
sync: z.ZodNumber;
|
|
6870
|
+
data: z.ZodObject<{
|
|
6871
|
+
order_ids: z.ZodArray<z.ZodString, "many">;
|
|
6872
|
+
}, "strip", z.ZodTypeAny, {
|
|
6873
|
+
order_ids: string[];
|
|
6874
|
+
}, {
|
|
6875
|
+
order_ids: string[];
|
|
6876
|
+
}>;
|
|
6870
6877
|
}, "strip", z.ZodTypeAny, {
|
|
6871
|
-
|
|
6878
|
+
data: {
|
|
6879
|
+
order_ids: string[];
|
|
6880
|
+
};
|
|
6881
|
+
sync: number;
|
|
6872
6882
|
}, {
|
|
6873
|
-
|
|
6883
|
+
data: {
|
|
6884
|
+
order_ids: string[];
|
|
6885
|
+
};
|
|
6886
|
+
sync: number;
|
|
6874
6887
|
}>;
|
|
6875
6888
|
declare type SubmitOrderResponse = z.infer<typeof submitOrderResponseParser>;
|
|
6876
6889
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1875,7 +1875,10 @@ var submitOrderParser = z11.object({
|
|
|
1875
1875
|
signatures: z11.array(z11.string())
|
|
1876
1876
|
});
|
|
1877
1877
|
var submitOrderResponseParser = z11.object({
|
|
1878
|
-
|
|
1878
|
+
sync: z11.number(),
|
|
1879
|
+
data: z11.object({
|
|
1880
|
+
order_ids: z11.array(z11.string())
|
|
1881
|
+
})
|
|
1879
1882
|
});
|
|
1880
1883
|
var depthParser = z11.object({
|
|
1881
1884
|
level: z11.number(),
|
package/dist/index.mjs
CHANGED
|
@@ -1745,7 +1745,10 @@ var submitOrderParser = z11.object({
|
|
|
1745
1745
|
signatures: z11.array(z11.string())
|
|
1746
1746
|
});
|
|
1747
1747
|
var submitOrderResponseParser = z11.object({
|
|
1748
|
-
|
|
1748
|
+
sync: z11.number(),
|
|
1749
|
+
data: z11.object({
|
|
1750
|
+
order_ids: z11.array(z11.string())
|
|
1751
|
+
})
|
|
1749
1752
|
});
|
|
1750
1753
|
var depthParser = z11.object({
|
|
1751
1754
|
level: z11.number(),
|
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.76",
|
|
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": "5013039f6c3821203eb39a516d51f7f8b0f90130"
|
|
44
44
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -114,7 +114,10 @@ export const submitOrderParser = z.object({
|
|
|
114
114
|
export type SubmitOrderParser = z.infer<typeof submitOrderParser>;
|
|
115
115
|
|
|
116
116
|
export const submitOrderResponseParser = z.object({
|
|
117
|
-
|
|
117
|
+
sync: z.number(),
|
|
118
|
+
data: z.object({
|
|
119
|
+
order_ids: z.array(z.string()),
|
|
120
|
+
}),
|
|
118
121
|
});
|
|
119
122
|
export type SubmitOrderResponse = z.infer<typeof submitOrderResponseParser>;
|
|
120
123
|
|