@proton/wrap-constants 0.2.44 → 0.2.45

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.
@@ -33,15 +33,15 @@ export declare const getOhlcvParser: z.ZodObject<{
33
33
  from: z.ZodString;
34
34
  to: z.ZodString;
35
35
  symbol: z.ZodString;
36
- limit: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, number | undefined>;
36
+ limit: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
37
37
  }, "strip", z.ZodTypeAny, {
38
38
  symbol: string;
39
39
  interval: string;
40
40
  from: string;
41
41
  to: string;
42
- limit: number;
42
+ limit: string;
43
43
  }, {
44
- limit?: number | undefined;
44
+ limit?: string | undefined;
45
45
  symbol: string;
46
46
  interval: string;
47
47
  from: string;
@@ -160,17 +160,17 @@ export declare type OrderHistory = z.infer<typeof orderHistoryParser>;
160
160
  export declare const getOrderHistoryParser: z.ZodObject<{
161
161
  account: z.ZodString;
162
162
  symbol: z.ZodOptional<z.ZodString>;
163
- offset: z.ZodDefault<z.ZodNumber>;
164
- limit: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, number | undefined>;
163
+ offset: z.ZodDefault<z.ZodString>;
164
+ limit: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
165
165
  }, "strip", z.ZodTypeAny, {
166
166
  symbol?: string | undefined;
167
- limit: number;
167
+ limit: string;
168
168
  account: string;
169
- offset: number;
169
+ offset: string;
170
170
  }, {
171
171
  symbol?: string | undefined;
172
- limit?: number | undefined;
173
- offset?: number | undefined;
172
+ limit?: string | undefined;
173
+ offset?: string | undefined;
174
174
  account: string;
175
175
  }>;
176
176
  export declare type GetOrderHistory = z.infer<typeof getOrderHistoryParser>;
@@ -293,13 +293,13 @@ export declare type Depth = z.infer<typeof depthParser>;
293
293
  export declare const getDepthParser: z.ZodObject<{
294
294
  symbol: z.ZodString;
295
295
  step: z.ZodString;
296
- limit: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, number | undefined>;
296
+ limit: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
297
297
  }, "strip", z.ZodTypeAny, {
298
298
  symbol: string;
299
- limit: number;
299
+ limit: string;
300
300
  step: string;
301
301
  }, {
302
- limit?: number | undefined;
302
+ limit?: string | undefined;
303
303
  symbol: string;
304
304
  step: string;
305
305
  }>;
@@ -788,15 +788,15 @@ export declare const tradeParser: z.ZodObject<{
788
788
  export declare type Trade = z.infer<typeof tradeParser>;
789
789
  export declare const getTradesParser: z.ZodObject<{
790
790
  symbol: z.ZodString;
791
- offset: z.ZodDefault<z.ZodNumber>;
792
- limit: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, number | undefined>;
791
+ offset: z.ZodDefault<z.ZodString>;
792
+ limit: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
793
793
  }, "strip", z.ZodTypeAny, {
794
794
  symbol: string;
795
- limit: number;
796
- offset: number;
795
+ limit: string;
796
+ offset: string;
797
797
  }, {
798
- limit?: number | undefined;
799
- offset?: number | undefined;
798
+ limit?: string | undefined;
799
+ offset?: string | undefined;
800
800
  symbol: string;
801
801
  }>;
802
802
  export declare type GetTrades = z.infer<typeof getTradesParser>;
@@ -1484,8 +1484,8 @@ var getOhlcvParser = /*#__PURE__*/z.object({
1484
1484
  from: /*#__PURE__*/z.string(),
1485
1485
  to: /*#__PURE__*/z.string(),
1486
1486
  symbol: /*#__PURE__*/z.string(),
1487
- limit: /*#__PURE__*/z.number()["default"](500).refine(function (n) {
1488
- return n <= 1000;
1487
+ limit: /*#__PURE__*/z.string()["default"]("500").refine(function (n) {
1488
+ return +n <= 1000;
1489
1489
  }, 'Max limit is 1000')
1490
1490
  });
1491
1491
  var getOhlcvResponseParser = /*#__PURE__*/z.object({
@@ -1513,9 +1513,9 @@ var orderHistoryParser = /*#__PURE__*/z.object({
1513
1513
  var getOrderHistoryParser = /*#__PURE__*/z.object({
1514
1514
  account: /*#__PURE__*/z.string(),
1515
1515
  symbol: /*#__PURE__*/z.string().optional(),
1516
- offset: /*#__PURE__*/z.number()["default"](0),
1517
- limit: /*#__PURE__*/z.number()["default"](100).refine(function (n) {
1518
- return n <= 250;
1516
+ offset: /*#__PURE__*/z.string()["default"]("0"),
1517
+ limit: /*#__PURE__*/z.string()["default"]("100").refine(function (n) {
1518
+ return +n <= 250;
1519
1519
  }, 'Max limit is 250')
1520
1520
  });
1521
1521
  var getOrderHistoryResponseParser = /*#__PURE__*/z.object({
@@ -1532,8 +1532,8 @@ var depthParser = /*#__PURE__*/z.object({
1532
1532
  var getDepthParser = /*#__PURE__*/z.object({
1533
1533
  symbol: /*#__PURE__*/z.string(),
1534
1534
  step: /*#__PURE__*/z.string(),
1535
- limit: /*#__PURE__*/z.number()["default"](100).refine(function (n) {
1536
- return n <= 250;
1535
+ limit: /*#__PURE__*/z.string()["default"]("100").refine(function (n) {
1536
+ return +n <= 250;
1537
1537
  }, 'Max limit is 250')
1538
1538
  });
1539
1539
  var getDepthResponseParser = /*#__PURE__*/z.object({
@@ -1603,9 +1603,9 @@ var tradeParser = /*#__PURE__*/z.object({
1603
1603
  });
1604
1604
  var getTradesParser = /*#__PURE__*/z.object({
1605
1605
  symbol: /*#__PURE__*/z.string(),
1606
- offset: /*#__PURE__*/z.number()["default"](0),
1607
- limit: /*#__PURE__*/z.number()["default"](100).refine(function (n) {
1608
- return n <= 250;
1606
+ offset: /*#__PURE__*/z.string()["default"]("0"),
1607
+ limit: /*#__PURE__*/z.string()["default"]("100").refine(function (n) {
1608
+ return +n <= 250;
1609
1609
  }, 'Max limit is 250')
1610
1610
  });
1611
1611
  var getTradesResponseParser = /*#__PURE__*/z.object({