@proton/wrap-constants 0.2.38 → 0.2.39
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 +2 -2
- package/dist/wrap-constants.cjs.development.js +2 -2
- 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 -2
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/parsers/dex.ts +2 -2
package/dist/parsers/dex.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare const getOhlcvParser: z.ZodObject<{
|
|
|
49
49
|
marketId: string | number;
|
|
50
50
|
}>;
|
|
51
51
|
export declare type GetOHLCV = z.infer<typeof getOhlcvParser>;
|
|
52
|
-
export declare const
|
|
52
|
+
export declare const getOhlcvResponseParser: z.ZodObject<{
|
|
53
53
|
sync: z.ZodNumber;
|
|
54
54
|
data: z.ZodArray<z.ZodObject<{
|
|
55
55
|
time: z.ZodNumber;
|
|
@@ -104,7 +104,7 @@ export declare const getOhlcvResponse: z.ZodObject<{
|
|
|
104
104
|
}[];
|
|
105
105
|
sync: number;
|
|
106
106
|
}>;
|
|
107
|
-
export declare type GetOHLCVResponse = z.infer<typeof
|
|
107
|
+
export declare type GetOHLCVResponse = z.infer<typeof getOhlcvResponseParser>;
|
|
108
108
|
export declare const orderHistoryParser: z.ZodObject<{
|
|
109
109
|
seq: z.ZodNumber;
|
|
110
110
|
block_num: z.ZodNumber;
|
|
@@ -1489,7 +1489,7 @@ var getOhlcvParser = /*#__PURE__*/z.object({
|
|
|
1489
1489
|
return n <= 1000;
|
|
1490
1490
|
}, 'Max limit is 1000')
|
|
1491
1491
|
});
|
|
1492
|
-
var
|
|
1492
|
+
var getOhlcvResponseParser = /*#__PURE__*/z.object({
|
|
1493
1493
|
sync: /*#__PURE__*/z.number(),
|
|
1494
1494
|
data: /*#__PURE__*/z.array(ohlcvParser)
|
|
1495
1495
|
});
|
|
@@ -1972,7 +1972,7 @@ exports.getDailyResponseParser = getDailyResponseParser;
|
|
|
1972
1972
|
exports.getDepthParser = getDepthParser;
|
|
1973
1973
|
exports.getDepthResponseParser = getDepthResponseParser;
|
|
1974
1974
|
exports.getOhlcvParser = getOhlcvParser;
|
|
1975
|
-
exports.
|
|
1975
|
+
exports.getOhlcvResponseParser = getOhlcvResponseParser;
|
|
1976
1976
|
exports.getOrderHistoryParser = getOrderHistoryParser;
|
|
1977
1977
|
exports.getOrderHistoryResponseParser = getOrderHistoryResponseParser;
|
|
1978
1978
|
exports.getSyncResponseParser = getSyncResponseParser;
|