@proton/wrap-constants 0.2.77 → 0.2.79
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 +8 -3
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +2 -2
- package/src/parsers/dex.ts +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -6855,32 +6855,37 @@ declare const getOrderResponseParser: z.ZodObject<{
|
|
|
6855
6855
|
}>;
|
|
6856
6856
|
declare type GetOrderResponse = z.infer<typeof getOrderResponseParser>;
|
|
6857
6857
|
declare const submitOrderParser: z.ZodObject<{
|
|
6858
|
-
|
|
6858
|
+
serialized_tx_hex: z.ZodString;
|
|
6859
6859
|
signatures: z.ZodArray<z.ZodString, "many">;
|
|
6860
6860
|
}, "strip", z.ZodTypeAny, {
|
|
6861
6861
|
signatures: string[];
|
|
6862
|
-
|
|
6862
|
+
serialized_tx_hex: string;
|
|
6863
6863
|
}, {
|
|
6864
6864
|
signatures: string[];
|
|
6865
|
-
|
|
6865
|
+
serialized_tx_hex: string;
|
|
6866
6866
|
}>;
|
|
6867
6867
|
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
6871
|
order_ids: z.ZodArray<z.ZodNumber, "many">;
|
|
6872
|
+
trx_id: z.ZodString;
|
|
6872
6873
|
}, "strip", z.ZodTypeAny, {
|
|
6874
|
+
trx_id: string;
|
|
6873
6875
|
order_ids: number[];
|
|
6874
6876
|
}, {
|
|
6877
|
+
trx_id: string;
|
|
6875
6878
|
order_ids: number[];
|
|
6876
6879
|
}>;
|
|
6877
6880
|
}, "strip", z.ZodTypeAny, {
|
|
6878
6881
|
data: {
|
|
6882
|
+
trx_id: string;
|
|
6879
6883
|
order_ids: number[];
|
|
6880
6884
|
};
|
|
6881
6885
|
sync: number;
|
|
6882
6886
|
}, {
|
|
6883
6887
|
data: {
|
|
6888
|
+
trx_id: string;
|
|
6884
6889
|
order_ids: number[];
|
|
6885
6890
|
};
|
|
6886
6891
|
sync: number;
|
package/dist/index.js
CHANGED
|
@@ -1871,13 +1871,14 @@ var getOrderResponseParser = z11.object({
|
|
|
1871
1871
|
data: z11.array(orderHistoryParser)
|
|
1872
1872
|
});
|
|
1873
1873
|
var submitOrderParser = z11.object({
|
|
1874
|
-
|
|
1874
|
+
serialized_tx_hex: z11.string(),
|
|
1875
1875
|
signatures: z11.array(z11.string())
|
|
1876
1876
|
});
|
|
1877
1877
|
var submitOrderResponseParser = z11.object({
|
|
1878
1878
|
sync: z11.number(),
|
|
1879
1879
|
data: z11.object({
|
|
1880
|
-
order_ids: z11.array(z11.number())
|
|
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
|
@@ -1741,13 +1741,14 @@ var getOrderResponseParser = z11.object({
|
|
|
1741
1741
|
data: z11.array(orderHistoryParser)
|
|
1742
1742
|
});
|
|
1743
1743
|
var submitOrderParser = z11.object({
|
|
1744
|
-
|
|
1744
|
+
serialized_tx_hex: z11.string(),
|
|
1745
1745
|
signatures: z11.array(z11.string())
|
|
1746
1746
|
});
|
|
1747
1747
|
var submitOrderResponseParser = z11.object({
|
|
1748
1748
|
sync: z11.number(),
|
|
1749
1749
|
data: z11.object({
|
|
1750
|
-
order_ids: z11.array(z11.number())
|
|
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.79",
|
|
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": "7568a0da9b23f794f2ab2770187b655d944f9cfb"
|
|
44
44
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -108,7 +108,7 @@ export const getOrderResponseParser = z.object({
|
|
|
108
108
|
export type GetOrderResponse = z.infer<typeof getOrderResponseParser>;
|
|
109
109
|
|
|
110
110
|
export const submitOrderParser = z.object({
|
|
111
|
-
|
|
111
|
+
serialized_tx_hex: z.string(),
|
|
112
112
|
signatures: z.array(z.string()),
|
|
113
113
|
});
|
|
114
114
|
export type SubmitOrderParser = z.infer<typeof submitOrderParser>;
|
|
@@ -117,6 +117,7 @@ export const submitOrderResponseParser = z.object({
|
|
|
117
117
|
sync: z.number(),
|
|
118
118
|
data: z.object({
|
|
119
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>;
|