@proton/wrap-constants 0.2.139 → 0.2.141

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
@@ -8849,7 +8849,7 @@ declare const traceParser: z.ZodObject<{
8849
8849
  error_code: string | null;
8850
8850
  return_value: string;
8851
8851
  }>, "many">;
8852
- account_ram_delta: z.ZodArray<z.ZodObject<{
8852
+ account_ram_delta: z.ZodNullable<z.ZodArray<z.ZodObject<{
8853
8853
  account: z.ZodString;
8854
8854
  delta: z.ZodString;
8855
8855
  }, "strip", z.ZodTypeAny, {
@@ -8858,7 +8858,7 @@ declare const traceParser: z.ZodObject<{
8858
8858
  }, {
8859
8859
  account: string;
8860
8860
  delta: string;
8861
- }>, "many">;
8861
+ }>, "many">>;
8862
8862
  except: z.ZodString;
8863
8863
  error_code: z.ZodNullable<z.ZodString>;
8864
8864
  failed_dtrx_trace: z.ZodArray<z.ZodUnknown, "many">;
@@ -8952,7 +8952,7 @@ declare const traceParser: z.ZodObject<{
8952
8952
  account_ram_delta: {
8953
8953
  account: string;
8954
8954
  delta: string;
8955
- }[];
8955
+ }[] | null;
8956
8956
  failed_dtrx_trace: unknown[];
8957
8957
  partial: {
8958
8958
  expiration: {
@@ -9016,7 +9016,7 @@ declare const traceParser: z.ZodObject<{
9016
9016
  account_ram_delta: {
9017
9017
  account: string;
9018
9018
  delta: string;
9019
- }[];
9019
+ }[] | null;
9020
9020
  failed_dtrx_trace: unknown[];
9021
9021
  partial: {
9022
9022
  expiration: {
@@ -9211,7 +9211,7 @@ declare const historyTransactionParser: z.ZodObject<{
9211
9211
  error_code: string | null;
9212
9212
  return_value: string;
9213
9213
  }>, "many">;
9214
- account_ram_delta: z.ZodArray<z.ZodObject<{
9214
+ account_ram_delta: z.ZodNullable<z.ZodArray<z.ZodObject<{
9215
9215
  account: z.ZodString;
9216
9216
  delta: z.ZodString;
9217
9217
  }, "strip", z.ZodTypeAny, {
@@ -9220,7 +9220,7 @@ declare const historyTransactionParser: z.ZodObject<{
9220
9220
  }, {
9221
9221
  account: string;
9222
9222
  delta: string;
9223
- }>, "many">;
9223
+ }>, "many">>;
9224
9224
  except: z.ZodString;
9225
9225
  error_code: z.ZodNullable<z.ZodString>;
9226
9226
  failed_dtrx_trace: z.ZodArray<z.ZodUnknown, "many">;
@@ -9314,7 +9314,7 @@ declare const historyTransactionParser: z.ZodObject<{
9314
9314
  account_ram_delta: {
9315
9315
  account: string;
9316
9316
  delta: string;
9317
- }[];
9317
+ }[] | null;
9318
9318
  failed_dtrx_trace: unknown[];
9319
9319
  partial: {
9320
9320
  expiration: {
@@ -9378,7 +9378,7 @@ declare const historyTransactionParser: z.ZodObject<{
9378
9378
  account_ram_delta: {
9379
9379
  account: string;
9380
9380
  delta: string;
9381
- }[];
9381
+ }[] | null;
9382
9382
  failed_dtrx_trace: unknown[];
9383
9383
  partial: {
9384
9384
  expiration: {
@@ -9445,7 +9445,7 @@ declare const historyTransactionParser: z.ZodObject<{
9445
9445
  account_ram_delta: {
9446
9446
  account: string;
9447
9447
  delta: string;
9448
- }[];
9448
+ }[] | null;
9449
9449
  failed_dtrx_trace: unknown[];
9450
9450
  partial: {
9451
9451
  expiration: {
@@ -9513,7 +9513,7 @@ declare const historyTransactionParser: z.ZodObject<{
9513
9513
  account_ram_delta: {
9514
9514
  account: string;
9515
9515
  delta: string;
9516
- }[];
9516
+ }[] | null;
9517
9517
  failed_dtrx_trace: unknown[];
9518
9518
  partial: {
9519
9519
  expiration: {
@@ -9587,7 +9587,7 @@ declare const historyTransactionParser: z.ZodObject<{
9587
9587
  account_ram_delta: {
9588
9588
  account: string;
9589
9589
  delta: string;
9590
- }[];
9590
+ }[] | null;
9591
9591
  failed_dtrx_trace: unknown[];
9592
9592
  partial: {
9593
9593
  expiration: {
@@ -9661,7 +9661,7 @@ declare const historyTransactionParser: z.ZodObject<{
9661
9661
  account_ram_delta: {
9662
9662
  account: string;
9663
9663
  delta: string;
9664
- }[];
9664
+ }[] | null;
9665
9665
  failed_dtrx_trace: unknown[];
9666
9666
  partial: {
9667
9667
  expiration: {
@@ -9860,7 +9860,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
9860
9860
  error_code: string | null;
9861
9861
  return_value: string;
9862
9862
  }>, "many">;
9863
- account_ram_delta: z.ZodArray<z.ZodObject<{
9863
+ account_ram_delta: z.ZodNullable<z.ZodArray<z.ZodObject<{
9864
9864
  account: z.ZodString;
9865
9865
  delta: z.ZodString;
9866
9866
  }, "strip", z.ZodTypeAny, {
@@ -9869,7 +9869,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
9869
9869
  }, {
9870
9870
  account: string;
9871
9871
  delta: string;
9872
- }>, "many">;
9872
+ }>, "many">>;
9873
9873
  except: z.ZodString;
9874
9874
  error_code: z.ZodNullable<z.ZodString>;
9875
9875
  failed_dtrx_trace: z.ZodArray<z.ZodUnknown, "many">;
@@ -9963,7 +9963,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
9963
9963
  account_ram_delta: {
9964
9964
  account: string;
9965
9965
  delta: string;
9966
- }[];
9966
+ }[] | null;
9967
9967
  failed_dtrx_trace: unknown[];
9968
9968
  partial: {
9969
9969
  expiration: {
@@ -10027,7 +10027,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10027
10027
  account_ram_delta: {
10028
10028
  account: string;
10029
10029
  delta: string;
10030
- }[];
10030
+ }[] | null;
10031
10031
  failed_dtrx_trace: unknown[];
10032
10032
  partial: {
10033
10033
  expiration: {
@@ -10094,7 +10094,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10094
10094
  account_ram_delta: {
10095
10095
  account: string;
10096
10096
  delta: string;
10097
- }[];
10097
+ }[] | null;
10098
10098
  failed_dtrx_trace: unknown[];
10099
10099
  partial: {
10100
10100
  expiration: {
@@ -10162,7 +10162,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10162
10162
  account_ram_delta: {
10163
10163
  account: string;
10164
10164
  delta: string;
10165
- }[];
10165
+ }[] | null;
10166
10166
  failed_dtrx_trace: unknown[];
10167
10167
  partial: {
10168
10168
  expiration: {
@@ -10236,7 +10236,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10236
10236
  account_ram_delta: {
10237
10237
  account: string;
10238
10238
  delta: string;
10239
- }[];
10239
+ }[] | null;
10240
10240
  failed_dtrx_trace: unknown[];
10241
10241
  partial: {
10242
10242
  expiration: {
@@ -10310,7 +10310,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10310
10310
  account_ram_delta: {
10311
10311
  account: string;
10312
10312
  delta: string;
10313
- }[];
10313
+ }[] | null;
10314
10314
  failed_dtrx_trace: unknown[];
10315
10315
  partial: {
10316
10316
  expiration: {
@@ -10386,7 +10386,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10386
10386
  account_ram_delta: {
10387
10387
  account: string;
10388
10388
  delta: string;
10389
- }[];
10389
+ }[] | null;
10390
10390
  failed_dtrx_trace: unknown[];
10391
10391
  partial: {
10392
10392
  expiration: {
@@ -10462,7 +10462,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10462
10462
  account_ram_delta: {
10463
10463
  account: string;
10464
10464
  delta: string;
10465
- }[];
10465
+ }[] | null;
10466
10466
  failed_dtrx_trace: unknown[];
10467
10467
  partial: {
10468
10468
  expiration: {
@@ -11140,8 +11140,8 @@ declare const getHistoryTransfersParser: z.ZodObject<{
11140
11140
  amount_max: z.ZodOptional<z.ZodString>;
11141
11141
  date_from: z.ZodOptional<z.ZodString>;
11142
11142
  date_to: z.ZodOptional<z.ZodString>;
11143
- trx_seq_from: z.ZodOptional<z.ZodString>;
11144
- trx_seq_to: z.ZodOptional<z.ZodString>;
11143
+ global_seq_from: z.ZodOptional<z.ZodString>;
11144
+ global_seq_to: z.ZodOptional<z.ZodString>;
11145
11145
  direction: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
11146
11146
  limit: z.ZodEffects<z.ZodDefault<z.ZodNumber>, number, number | undefined>;
11147
11147
  }, "strip", z.ZodTypeAny, {
@@ -11154,8 +11154,8 @@ declare const getHistoryTransfersParser: z.ZodObject<{
11154
11154
  amount_max?: string | undefined;
11155
11155
  date_from?: string | undefined;
11156
11156
  date_to?: string | undefined;
11157
- trx_seq_from?: string | undefined;
11158
- trx_seq_to?: string | undefined;
11157
+ global_seq_from?: string | undefined;
11158
+ global_seq_to?: string | undefined;
11159
11159
  direction?: "asc" | "desc" | undefined;
11160
11160
  }, {
11161
11161
  transfer_from?: string | undefined;
@@ -11166,8 +11166,8 @@ declare const getHistoryTransfersParser: z.ZodObject<{
11166
11166
  amount_max?: string | undefined;
11167
11167
  date_from?: string | undefined;
11168
11168
  date_to?: string | undefined;
11169
- trx_seq_from?: string | undefined;
11170
- trx_seq_to?: string | undefined;
11169
+ global_seq_from?: string | undefined;
11170
+ global_seq_to?: string | undefined;
11171
11171
  direction?: "asc" | "desc" | undefined;
11172
11172
  limit?: number | undefined;
11173
11173
  }>;
@@ -11177,7 +11177,6 @@ declare const historyTransferParser: z.ZodObject<{
11177
11177
  block_num: z.ZodNumber;
11178
11178
  block_time: z.ZodString;
11179
11179
  trx_id: z.ZodString;
11180
- trx_seq: z.ZodNumber;
11181
11180
  account_action_seq: z.ZodNumber;
11182
11181
  global_action_seq: z.ZodNumber;
11183
11182
  action_trace: z.ZodObject<{
@@ -11386,7 +11385,6 @@ declare const historyTransferParser: z.ZodObject<{
11386
11385
  error_code: string | null;
11387
11386
  return_value: string;
11388
11387
  };
11389
- trx_seq: number;
11390
11388
  }, {
11391
11389
  block_time: string;
11392
11390
  block_num: number;
@@ -11430,7 +11428,6 @@ declare const historyTransferParser: z.ZodObject<{
11430
11428
  error_code: string | null;
11431
11429
  return_value: string;
11432
11430
  };
11433
- trx_seq: number;
11434
11431
  }>;
11435
11432
  declare type HistoryTransfer = z.infer<typeof historyTransferParser>;
11436
11433
  declare const getHistoryTransfersResponseParser: z.ZodObject<{
@@ -11440,7 +11437,6 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
11440
11437
  block_num: z.ZodNumber;
11441
11438
  block_time: z.ZodString;
11442
11439
  trx_id: z.ZodString;
11443
- trx_seq: z.ZodNumber;
11444
11440
  account_action_seq: z.ZodNumber;
11445
11441
  global_action_seq: z.ZodNumber;
11446
11442
  action_trace: z.ZodObject<{
@@ -11649,7 +11645,6 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
11649
11645
  error_code: string | null;
11650
11646
  return_value: string;
11651
11647
  };
11652
- trx_seq: number;
11653
11648
  }, {
11654
11649
  block_time: string;
11655
11650
  block_num: number;
@@ -11693,7 +11688,6 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
11693
11688
  error_code: string | null;
11694
11689
  return_value: string;
11695
11690
  };
11696
- trx_seq: number;
11697
11691
  }>, "many">;
11698
11692
  }, "strip", z.ZodTypeAny, {
11699
11693
  data: {
@@ -11739,7 +11733,6 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
11739
11733
  error_code: string | null;
11740
11734
  return_value: string;
11741
11735
  };
11742
- trx_seq: number;
11743
11736
  }[];
11744
11737
  sync: number;
11745
11738
  last_irreversible_block_num: number;
@@ -11787,7 +11780,6 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
11787
11780
  error_code: string | null;
11788
11781
  return_value: string;
11789
11782
  };
11790
- trx_seq: number;
11791
11783
  }[];
11792
11784
  sync: number;
11793
11785
  last_irreversible_block_num: number;
package/dist/index.js CHANGED
@@ -2317,7 +2317,7 @@ var traceParser = z11.object({
2317
2317
  net_usage: z11.string(),
2318
2318
  scheduled: z11.string(),
2319
2319
  action_traces: z11.array(actionTraceParser),
2320
- account_ram_delta: z11.array(accountRamDeltaParser),
2320
+ account_ram_delta: z11.array(accountRamDeltaParser).nullable(),
2321
2321
  except: z11.string(),
2322
2322
  error_code: z11.string().nullable(),
2323
2323
  failed_dtrx_trace: z11.array(z11.unknown()),
@@ -2370,8 +2370,8 @@ var getHistoryTransfersParser = z11.object({
2370
2370
  amount_max: z11.string().optional(),
2371
2371
  date_from: z11.string().optional(),
2372
2372
  date_to: z11.string().optional(),
2373
- trx_seq_from: z11.string().optional(),
2374
- trx_seq_to: z11.string().optional(),
2373
+ global_seq_from: z11.string().optional(),
2374
+ global_seq_to: z11.string().optional(),
2375
2375
  direction: sortDirectionEnum.optional(),
2376
2376
  limit: createLimit(100, 250)
2377
2377
  });
@@ -2379,7 +2379,6 @@ var historyTransferParser = z11.object({
2379
2379
  block_num: z11.number(),
2380
2380
  block_time: z11.string(),
2381
2381
  trx_id: z11.string(),
2382
- trx_seq: z11.number(),
2383
2382
  account_action_seq: z11.number(),
2384
2383
  global_action_seq: z11.number(),
2385
2384
  action_trace: actionTraceParser,
package/dist/index.mjs CHANGED
@@ -2165,7 +2165,7 @@ var traceParser = z11.object({
2165
2165
  net_usage: z11.string(),
2166
2166
  scheduled: z11.string(),
2167
2167
  action_traces: z11.array(actionTraceParser),
2168
- account_ram_delta: z11.array(accountRamDeltaParser),
2168
+ account_ram_delta: z11.array(accountRamDeltaParser).nullable(),
2169
2169
  except: z11.string(),
2170
2170
  error_code: z11.string().nullable(),
2171
2171
  failed_dtrx_trace: z11.array(z11.unknown()),
@@ -2218,8 +2218,8 @@ var getHistoryTransfersParser = z11.object({
2218
2218
  amount_max: z11.string().optional(),
2219
2219
  date_from: z11.string().optional(),
2220
2220
  date_to: z11.string().optional(),
2221
- trx_seq_from: z11.string().optional(),
2222
- trx_seq_to: z11.string().optional(),
2221
+ global_seq_from: z11.string().optional(),
2222
+ global_seq_to: z11.string().optional(),
2223
2223
  direction: sortDirectionEnum.optional(),
2224
2224
  limit: createLimit(100, 250)
2225
2225
  });
@@ -2227,7 +2227,6 @@ var historyTransferParser = z11.object({
2227
2227
  block_num: z11.number(),
2228
2228
  block_time: z11.string(),
2229
2229
  trx_id: z11.string(),
2230
- trx_seq: z11.number(),
2231
2230
  account_action_seq: z11.number(),
2232
2231
  global_action_seq: z11.number(),
2233
2232
  action_trace: actionTraceParser,
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.139",
8
+ "version": "0.2.141",
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": "67ca40b7a699e5ade513923f6998468ce6cb8bff"
43
+ "gitHead": "298c679a438ce5bac3902047cb248d4580052661"
44
44
  }
@@ -594,7 +594,7 @@ export const traceParser = z.object({
594
594
  net_usage: z.string(),
595
595
  scheduled: z.string(),
596
596
  action_traces: z.array(actionTraceParser),
597
- account_ram_delta: z.array(accountRamDeltaParser),
597
+ account_ram_delta: z.array(accountRamDeltaParser).nullable(),
598
598
  except: z.string(),
599
599
  error_code: z.string().nullable(),
600
600
  failed_dtrx_trace: z.array(z.unknown()),
@@ -668,8 +668,8 @@ export const getHistoryTransfersParser = z.object({
668
668
  amount_max: z.string().optional(),
669
669
  date_from: z.string().optional(),
670
670
  date_to: z.string().optional(),
671
- trx_seq_from: z.string().optional(),
672
- trx_seq_to: z.string().optional(),
671
+ global_seq_from: z.string().optional(),
672
+ global_seq_to: z.string().optional(),
673
673
  direction: sortDirectionEnum.optional(),
674
674
  limit: createLimit(100, 250)
675
675
  });
@@ -680,7 +680,6 @@ export const historyTransferParser = z.object({
680
680
  block_num: z.number(),
681
681
  block_time: z.string(),
682
682
  trx_id: z.string(),
683
- trx_seq: z.number(),
684
683
  account_action_seq: z.number(),
685
684
  global_action_seq: z.number(),
686
685
  action_trace: actionTraceParser,