@proton/wrap-constants 0.2.96 → 0.2.98

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/index.d.ts CHANGED
@@ -6669,23 +6669,23 @@ declare const getOrderHistoryParser: z.ZodObject<{
6669
6669
  symbol: z.ZodOptional<z.ZodString>;
6670
6670
  offset: z.ZodDefault<z.ZodString>;
6671
6671
  limit: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
6672
- ordinal_order_ids: z.ZodArray<z.ZodOptional<z.ZodString>, "many">;
6672
+ ordinal_order_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6673
6673
  trx_id: z.ZodOptional<z.ZodString>;
6674
6674
  status: z.ZodOptional<z.ZodString>;
6675
6675
  }, "strip", z.ZodTypeAny, {
6676
6676
  account: string;
6677
6677
  limit: string;
6678
6678
  offset: string;
6679
- ordinal_order_ids: (string | undefined)[];
6680
6679
  symbol?: string | undefined;
6680
+ ordinal_order_ids?: string[] | undefined;
6681
6681
  trx_id?: string | undefined;
6682
6682
  status?: string | undefined;
6683
6683
  }, {
6684
6684
  account: string;
6685
- ordinal_order_ids: (string | undefined)[];
6686
6685
  symbol?: string | undefined;
6687
6686
  offset?: string | undefined;
6688
6687
  limit?: string | undefined;
6688
+ ordinal_order_ids?: string[] | undefined;
6689
6689
  trx_id?: string | undefined;
6690
6690
  status?: string | undefined;
6691
6691
  }>;
@@ -7754,19 +7754,19 @@ declare const getTradeHistoryParser: z.ZodObject<{
7754
7754
  account: z.ZodString;
7755
7755
  symbol: z.ZodOptional<z.ZodString>;
7756
7756
  offset: z.ZodDefault<z.ZodString>;
7757
- ordinal_order_id: z.ZodOptional<z.ZodString>;
7757
+ ordinal_order_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7758
7758
  limit: z.ZodEffects<z.ZodDefault<z.ZodString>, string, string | undefined>;
7759
7759
  }, "strip", z.ZodTypeAny, {
7760
7760
  account: string;
7761
7761
  limit: string;
7762
7762
  offset: string;
7763
7763
  symbol?: string | undefined;
7764
- ordinal_order_id?: string | undefined;
7764
+ ordinal_order_ids?: string[] | undefined;
7765
7765
  }, {
7766
7766
  account: string;
7767
7767
  symbol?: string | undefined;
7768
7768
  offset?: string | undefined;
7769
- ordinal_order_id?: string | undefined;
7769
+ ordinal_order_ids?: string[] | undefined;
7770
7770
  limit?: string | undefined;
7771
7771
  }>;
7772
7772
  declare type GetTradeHistory = z.infer<typeof getTradeHistoryParser>;
package/dist/index.js CHANGED
@@ -1930,7 +1930,7 @@ var getOrderHistoryParser = z11.object({
1930
1930
  symbol: z11.string().optional(),
1931
1931
  offset: z11.string().default("0"),
1932
1932
  limit: createLimit(100, 250),
1933
- ordinal_order_ids: z11.array(z11.string().optional()),
1933
+ ordinal_order_ids: z11.array(z11.string()).optional(),
1934
1934
  trx_id: z11.string().optional(),
1935
1935
  status: z11.string().optional()
1936
1936
  });
@@ -2081,7 +2081,7 @@ var getTradeHistoryParser = z11.object({
2081
2081
  account: z11.string(),
2082
2082
  symbol: z11.string().optional(),
2083
2083
  offset: z11.string().default("0"),
2084
- ordinal_order_id: z11.string().optional(),
2084
+ ordinal_order_ids: z11.array(z11.string()).optional(),
2085
2085
  limit: createLimit(100, 250)
2086
2086
  });
2087
2087
  var getTradeHistoryResponseParser = z11.object({
package/dist/index.mjs CHANGED
@@ -1798,7 +1798,7 @@ var getOrderHistoryParser = z11.object({
1798
1798
  symbol: z11.string().optional(),
1799
1799
  offset: z11.string().default("0"),
1800
1800
  limit: createLimit(100, 250),
1801
- ordinal_order_ids: z11.array(z11.string().optional()),
1801
+ ordinal_order_ids: z11.array(z11.string()).optional(),
1802
1802
  trx_id: z11.string().optional(),
1803
1803
  status: z11.string().optional()
1804
1804
  });
@@ -1949,7 +1949,7 @@ var getTradeHistoryParser = z11.object({
1949
1949
  account: z11.string(),
1950
1950
  symbol: z11.string().optional(),
1951
1951
  offset: z11.string().default("0"),
1952
- ordinal_order_id: z11.string().optional(),
1952
+ ordinal_order_ids: z11.array(z11.string()).optional(),
1953
1953
  limit: createLimit(100, 250)
1954
1954
  });
1955
1955
  var getTradeHistoryResponseParser = z11.object({
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.96",
8
+ "version": "0.2.98",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
@@ -40,5 +40,5 @@
40
40
  "resolutions": {
41
41
  "typescript": "4.5"
42
42
  },
43
- "gitHead": "70294a3adc57e4e4298ed2b596f7c7f56b2602de"
43
+ "gitHead": "cef00a2b860a9b8b9ad83aec5f121992edac97e3"
44
44
  }
@@ -84,7 +84,7 @@ export const getOrderHistoryParser = z.object({
84
84
  symbol: z.string().optional(),
85
85
  offset: z.string().default("0"),
86
86
  limit: createLimit(100, 250),
87
- ordinal_order_ids: z.array(z.string().optional()),
87
+ ordinal_order_ids: z.array(z.string()).optional(),
88
88
  trx_id: z.string().optional(),
89
89
  status: z.string().optional(),
90
90
  });
@@ -296,7 +296,7 @@ export const getTradeHistoryParser = z.object({
296
296
  account: z.string(),
297
297
  symbol: z.string().optional(),
298
298
  offset: z.string().default("0"),
299
- ordinal_order_id: z.string().optional(),
299
+ ordinal_order_ids: z.array(z.string()).optional(),
300
300
  limit: createLimit(100, 250),
301
301
  });
302
302
  export type GetTradeHistory = z.infer<typeof getTradeHistoryParser>;