@proton/wrap-constants 0.2.60 → 0.2.61
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 +3 -0
- 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 +1 -0
package/dist/parsers/dex.d.ts
CHANGED
|
@@ -168,8 +168,10 @@ export declare const getOrderHistoryParser: z.ZodObject<{
|
|
|
168
168
|
symbol: z.ZodOptional<z.ZodString>;
|
|
169
169
|
offset: z.ZodDefault<z.ZodString>;
|
|
170
170
|
limit: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
|
|
171
|
+
transaction_id: z.ZodOptional<z.ZodString>;
|
|
171
172
|
}, "strip", z.ZodTypeAny, {
|
|
172
173
|
symbol?: string | undefined;
|
|
174
|
+
transaction_id?: string | undefined;
|
|
173
175
|
limit: string;
|
|
174
176
|
account: string;
|
|
175
177
|
offset: string;
|
|
@@ -177,6 +179,7 @@ export declare const getOrderHistoryParser: z.ZodObject<{
|
|
|
177
179
|
symbol?: string | undefined;
|
|
178
180
|
limit?: string | undefined;
|
|
179
181
|
offset?: string | undefined;
|
|
182
|
+
transaction_id?: string | undefined;
|
|
180
183
|
account: string;
|
|
181
184
|
}>;
|
|
182
185
|
export declare type GetOrderHistory = z.infer<typeof getOrderHistoryParser>;
|
|
@@ -1539,7 +1539,8 @@ var getOrderHistoryParser = /*#__PURE__*/z.object({
|
|
|
1539
1539
|
offset: /*#__PURE__*/z.string()["default"]("0"),
|
|
1540
1540
|
limit: /*#__PURE__*/z.string()["default"]("100").refine(function (n) {
|
|
1541
1541
|
return +n <= 250;
|
|
1542
|
-
}, 'Max limit is 250')
|
|
1542
|
+
}, 'Max limit is 250'),
|
|
1543
|
+
transaction_id: /*#__PURE__*/z.string().optional()
|
|
1543
1544
|
});
|
|
1544
1545
|
var getOrderHistoryResponseParser = /*#__PURE__*/z.object({
|
|
1545
1546
|
sync: /*#__PURE__*/z.number(),
|