@proton/wrap-constants 0.2.63 → 0.2.65
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/parsers/dex.d.ts +6 -3
- package/dist/wrap-constants.cjs.development.js +2 -1
- package/dist/wrap-constants.cjs.development.js.map +1 -1
- package/dist/wrap-constants.cjs.production.min.js +1 -1
- package/dist/wrap-constants.cjs.production.min.js.map +1 -1
- package/dist/wrap-constants.esm.js +2 -1
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/parsers/dex.ts +2 -1
package/dist/parsers/dex.d.ts
CHANGED
|
@@ -284,18 +284,21 @@ export declare const getOrderHistoryParser: z.ZodObject<{
|
|
|
284
284
|
symbol: z.ZodOptional<z.ZodString>;
|
|
285
285
|
offset: z.ZodDefault<z.ZodString>;
|
|
286
286
|
limit: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
|
|
287
|
-
|
|
287
|
+
trx_id: z.ZodOptional<z.ZodString>;
|
|
288
|
+
status: z.ZodOptional<z.ZodString>;
|
|
288
289
|
}, "strip", z.ZodTypeAny, {
|
|
289
290
|
symbol?: string | undefined;
|
|
290
|
-
|
|
291
|
+
status?: string | undefined;
|
|
292
|
+
trx_id?: string | undefined;
|
|
291
293
|
limit: string;
|
|
292
294
|
account: string;
|
|
293
295
|
offset: string;
|
|
294
296
|
}, {
|
|
295
297
|
symbol?: string | undefined;
|
|
298
|
+
status?: string | undefined;
|
|
296
299
|
limit?: string | undefined;
|
|
300
|
+
trx_id?: string | undefined;
|
|
297
301
|
offset?: string | undefined;
|
|
298
|
-
transaction_id?: string | undefined;
|
|
299
302
|
account: string;
|
|
300
303
|
}>;
|
|
301
304
|
export declare type GetOrderHistory = z.infer<typeof getOrderHistoryParser>;
|
|
@@ -1553,7 +1553,8 @@ var getOrderHistoryParser = /*#__PURE__*/z.object({
|
|
|
1553
1553
|
limit: /*#__PURE__*/z.string()["default"]("100").refine(function (n) {
|
|
1554
1554
|
return +n <= 250;
|
|
1555
1555
|
}, 'Max limit is 250'),
|
|
1556
|
-
|
|
1556
|
+
trx_id: /*#__PURE__*/z.string().optional(),
|
|
1557
|
+
status: /*#__PURE__*/z.string().optional()
|
|
1557
1558
|
});
|
|
1558
1559
|
var getOrderHistoryResponseParser = /*#__PURE__*/z.object({
|
|
1559
1560
|
sync: /*#__PURE__*/z.number(),
|