@proton/wrap-constants 0.2.146 → 0.2.148

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
@@ -8341,14 +8341,17 @@ declare const getLeaderboardParser: z.ZodObject<{
8341
8341
  market_ids: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodNumber]>, number[], number | number[]>, number[], number | number[]>;
8342
8342
  from: z.ZodString;
8343
8343
  to: z.ZodString;
8344
+ exclude_zero_fee: z.ZodDefault<z.ZodBoolean>;
8344
8345
  }, "strip", z.ZodTypeAny, {
8345
8346
  from: string;
8346
8347
  to: string;
8347
8348
  market_ids: number[];
8349
+ exclude_zero_fee: boolean;
8348
8350
  }, {
8349
8351
  from: string;
8350
8352
  to: string;
8351
8353
  market_ids: (number | number[]) & (number | number[] | undefined);
8354
+ exclude_zero_fee?: boolean | undefined;
8352
8355
  }>;
8353
8356
  declare type GetLeaderboard = z.input<typeof getLeaderboardParser>;
8354
8357
  declare type GetLeaderboardParsed = z.output<typeof getLeaderboardParser>;
@@ -11144,7 +11147,7 @@ declare const getHistoryTransfersParser: z.ZodObject<{
11144
11147
  transfer_to: z.ZodOptional<z.ZodString>;
11145
11148
  contract: z.ZodOptional<z.ZodString>;
11146
11149
  symbol: z.ZodOptional<z.ZodString>;
11147
- precision: z.ZodOptional<z.ZodString>;
11150
+ amount_precision: z.ZodOptional<z.ZodString>;
11148
11151
  amount_min: z.ZodOptional<z.ZodString>;
11149
11152
  amount_max: z.ZodOptional<z.ZodString>;
11150
11153
  date_from: z.ZodOptional<z.ZodString>;
@@ -11159,7 +11162,7 @@ declare const getHistoryTransfersParser: z.ZodObject<{
11159
11162
  transfer_to?: string | undefined;
11160
11163
  contract?: string | undefined;
11161
11164
  symbol?: string | undefined;
11162
- precision?: string | undefined;
11165
+ amount_precision?: string | undefined;
11163
11166
  amount_min?: string | undefined;
11164
11167
  amount_max?: string | undefined;
11165
11168
  date_from?: string | undefined;
@@ -11172,7 +11175,7 @@ declare const getHistoryTransfersParser: z.ZodObject<{
11172
11175
  transfer_to?: string | undefined;
11173
11176
  contract?: string | undefined;
11174
11177
  symbol?: string | undefined;
11175
- precision?: string | undefined;
11178
+ amount_precision?: string | undefined;
11176
11179
  amount_min?: string | undefined;
11177
11180
  amount_max?: string | undefined;
11178
11181
  date_from?: string | undefined;
package/dist/index.js CHANGED
@@ -2253,7 +2253,8 @@ var leaderboardParser = z11.object({
2253
2253
  var getLeaderboardParser = z11.object({
2254
2254
  market_ids: marketIdsParser,
2255
2255
  from: z11.string(),
2256
- to: z11.string()
2256
+ to: z11.string(),
2257
+ exclude_zero_fee: z11.boolean().default(true)
2257
2258
  });
2258
2259
  var getLeaderboardResponseParser = z11.object({
2259
2260
  sync: z11.number(),
@@ -2367,7 +2368,7 @@ var getHistoryTransfersParser = z11.object({
2367
2368
  transfer_to: z11.string().optional(),
2368
2369
  contract: z11.string().optional(),
2369
2370
  symbol: z11.string().optional(),
2370
- precision: z11.string().optional(),
2371
+ amount_precision: z11.string().optional(),
2371
2372
  amount_min: z11.string().optional(),
2372
2373
  amount_max: z11.string().optional(),
2373
2374
  date_from: z11.string().optional(),
package/dist/index.mjs CHANGED
@@ -2101,7 +2101,8 @@ var leaderboardParser = z11.object({
2101
2101
  var getLeaderboardParser = z11.object({
2102
2102
  market_ids: marketIdsParser,
2103
2103
  from: z11.string(),
2104
- to: z11.string()
2104
+ to: z11.string(),
2105
+ exclude_zero_fee: z11.boolean().default(true)
2105
2106
  });
2106
2107
  var getLeaderboardResponseParser = z11.object({
2107
2108
  sync: z11.number(),
@@ -2215,7 +2216,7 @@ var getHistoryTransfersParser = z11.object({
2215
2216
  transfer_to: z11.string().optional(),
2216
2217
  contract: z11.string().optional(),
2217
2218
  symbol: z11.string().optional(),
2218
- precision: z11.string().optional(),
2219
+ amount_precision: z11.string().optional(),
2219
2220
  amount_min: z11.string().optional(),
2220
2221
  amount_max: z11.string().optional(),
2221
2222
  date_from: z11.string().optional(),
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.146",
8
+ "version": "0.2.148",
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": "f3f4d3abf59d8e76bdc18b6af0a9b5ca24395c6a"
43
+ "gitHead": "529bce32270de97ba3fadcb31a9e5c196fbbb6f0"
44
44
  }
@@ -511,6 +511,7 @@ export const getLeaderboardParser = z.object({
511
511
  market_ids: marketIdsParser,
512
512
  from: z.string(),
513
513
  to: z.string(),
514
+ exclude_zero_fee: z.boolean().default(true),
514
515
  });
515
516
  export type GetLeaderboard = z.input<typeof getLeaderboardParser>;
516
517
  export type GetLeaderboardParsed = z.output<typeof getLeaderboardParser>;
@@ -665,7 +666,7 @@ export const getHistoryTransfersParser = z.object({
665
666
  transfer_to: z.string().optional(),
666
667
  contract: z.string().optional(),
667
668
  symbol: z.string().optional(),
668
- precision: z.string().optional(),
669
+ amount_precision: z.string().optional(),
669
670
  amount_min: z.string().optional(),
670
671
  amount_max: z.string().optional(),
671
672
  date_from: z.string().optional(),