@proton/wrap-constants 0.2.93 → 0.2.94
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 +7 -5
- package/dist/index.mjs +7 -5
- package/package.json +2 -2
- package/src/parsers/dex.ts +7 -5
package/dist/index.d.ts
CHANGED
|
@@ -6954,7 +6954,7 @@ declare const submitOrderResponseParser: z.ZodObject<{
|
|
|
6954
6954
|
data: z.ZodObject<{
|
|
6955
6955
|
trx_id: z.ZodString;
|
|
6956
6956
|
block_time: z.ZodString;
|
|
6957
|
-
orders: z.ZodObject<{
|
|
6957
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
6958
6958
|
ordinal_order_id: z.ZodString;
|
|
6959
6959
|
order_id: z.ZodString;
|
|
6960
6960
|
status: z.ZodString;
|
|
@@ -6966,7 +6966,7 @@ declare const submitOrderResponseParser: z.ZodObject<{
|
|
|
6966
6966
|
status: string;
|
|
6967
6967
|
order_id: string;
|
|
6968
6968
|
ordinal_order_id: string;
|
|
6969
|
-
}>;
|
|
6969
|
+
}>, "many">;
|
|
6970
6970
|
}, "strip", z.ZodTypeAny, {
|
|
6971
6971
|
block_time: string;
|
|
6972
6972
|
trx_id: string;
|
|
@@ -6974,7 +6974,7 @@ declare const submitOrderResponseParser: z.ZodObject<{
|
|
|
6974
6974
|
status: string;
|
|
6975
6975
|
order_id: string;
|
|
6976
6976
|
ordinal_order_id: string;
|
|
6977
|
-
};
|
|
6977
|
+
}[];
|
|
6978
6978
|
}, {
|
|
6979
6979
|
block_time: string;
|
|
6980
6980
|
trx_id: string;
|
|
@@ -6982,7 +6982,7 @@ declare const submitOrderResponseParser: z.ZodObject<{
|
|
|
6982
6982
|
status: string;
|
|
6983
6983
|
order_id: string;
|
|
6984
6984
|
ordinal_order_id: string;
|
|
6985
|
-
};
|
|
6985
|
+
}[];
|
|
6986
6986
|
}>;
|
|
6987
6987
|
}, "strip", z.ZodTypeAny, {
|
|
6988
6988
|
data: {
|
|
@@ -6992,7 +6992,7 @@ declare const submitOrderResponseParser: z.ZodObject<{
|
|
|
6992
6992
|
status: string;
|
|
6993
6993
|
order_id: string;
|
|
6994
6994
|
ordinal_order_id: string;
|
|
6995
|
-
};
|
|
6995
|
+
}[];
|
|
6996
6996
|
};
|
|
6997
6997
|
sync: number;
|
|
6998
6998
|
}, {
|
|
@@ -7003,7 +7003,7 @@ declare const submitOrderResponseParser: z.ZodObject<{
|
|
|
7003
7003
|
status: string;
|
|
7004
7004
|
order_id: string;
|
|
7005
7005
|
ordinal_order_id: string;
|
|
7006
|
-
};
|
|
7006
|
+
}[];
|
|
7007
7007
|
};
|
|
7008
7008
|
sync: number;
|
|
7009
7009
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -1918,11 +1918,13 @@ var submitOrderResponseParser = z11.object({
|
|
|
1918
1918
|
data: z11.object({
|
|
1919
1919
|
trx_id: z11.string(),
|
|
1920
1920
|
block_time: z11.string(),
|
|
1921
|
-
orders: z11.
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1921
|
+
orders: z11.array(
|
|
1922
|
+
z11.object({
|
|
1923
|
+
ordinal_order_id: z11.string(),
|
|
1924
|
+
order_id: z11.string(),
|
|
1925
|
+
status: z11.string()
|
|
1926
|
+
})
|
|
1927
|
+
)
|
|
1926
1928
|
})
|
|
1927
1929
|
});
|
|
1928
1930
|
var serializeOrderParser = z11.object({
|
package/dist/index.mjs
CHANGED
|
@@ -1786,11 +1786,13 @@ var submitOrderResponseParser = z11.object({
|
|
|
1786
1786
|
data: z11.object({
|
|
1787
1787
|
trx_id: z11.string(),
|
|
1788
1788
|
block_time: z11.string(),
|
|
1789
|
-
orders: z11.
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1789
|
+
orders: z11.array(
|
|
1790
|
+
z11.object({
|
|
1791
|
+
ordinal_order_id: z11.string(),
|
|
1792
|
+
order_id: z11.string(),
|
|
1793
|
+
status: z11.string()
|
|
1794
|
+
})
|
|
1795
|
+
)
|
|
1794
1796
|
})
|
|
1795
1797
|
});
|
|
1796
1798
|
var serializeOrderParser = 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.94",
|
|
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": "f1b4063af136e30ca0a5439692038a77ae125de8"
|
|
44
44
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -127,11 +127,13 @@ export const submitOrderResponseParser = z.object({
|
|
|
127
127
|
data: z.object({
|
|
128
128
|
trx_id: z.string(),
|
|
129
129
|
block_time: z.string(),
|
|
130
|
-
orders: z.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
orders: z.array(
|
|
131
|
+
z.object({
|
|
132
|
+
ordinal_order_id: z.string(),
|
|
133
|
+
order_id: z.string(),
|
|
134
|
+
status: z.string(),
|
|
135
|
+
})
|
|
136
|
+
),
|
|
135
137
|
}),
|
|
136
138
|
});
|
|
137
139
|
export type SubmitOrderResponse = z.infer<typeof submitOrderResponseParser>;
|