@proton/wrap-constants 0.2.11 → 0.2.12

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.
@@ -98,13 +98,16 @@ export declare const orderHistoryParser: z.ZodObject<{
98
98
  export declare type OrderHistory = z.infer<typeof orderHistoryParser>;
99
99
  export declare const getOrderHistoryParser: z.ZodObject<{
100
100
  account: z.ZodString;
101
+ marketId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, number, string>]>>;
101
102
  offset: z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, number, string>]>>;
102
103
  limit: z.ZodEffects<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodString, number, string>]>>, number, string | number | undefined>;
103
104
  }, "strip", z.ZodTypeAny, {
105
+ marketId?: number | undefined;
104
106
  limit: number;
105
107
  account: string;
106
108
  offset: number;
107
109
  }, {
110
+ marketId?: string | number | undefined;
108
111
  limit?: string | number | undefined;
109
112
  offset?: string | number | undefined;
110
113
  account: string;
@@ -1452,6 +1452,7 @@ var orderHistoryParser = /*#__PURE__*/z.z.object({
1452
1452
  });
1453
1453
  var getOrderHistoryParser = /*#__PURE__*/z.z.object({
1454
1454
  account: /*#__PURE__*/z.z.string(),
1455
+ marketId: /*#__PURE__*/z.z.number().or(numTransform).optional(),
1455
1456
  offset: /*#__PURE__*/z.z.number().or(numTransform)["default"](0),
1456
1457
  limit: /*#__PURE__*/z.z.number().or(numTransform)["default"](100).refine(function (n) {
1457
1458
  return n <= 250;