@proton/wrap-constants 0.2.142 → 0.2.145

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
@@ -8386,39 +8386,19 @@ declare const dbHistoryTransactionParser: z.ZodObject<{
8386
8386
  block_num: z.ZodString;
8387
8387
  block_time: z.ZodString;
8388
8388
  trx_id: z.ZodString;
8389
- trace: z.ZodObject<{
8390
- block_num: z.ZodString;
8391
- block_timestamp: z.ZodString;
8392
- trace: z.ZodAny;
8393
- }, "strip", z.ZodTypeAny, {
8394
- block_num: string;
8395
- block_timestamp: string;
8396
- trace?: any;
8397
- }, {
8398
- block_num: string;
8399
- block_timestamp: string;
8400
- trace?: any;
8401
- }>;
8389
+ trace: z.ZodAny;
8402
8390
  }, "strip", z.ZodTypeAny, {
8403
8391
  block_time: string;
8404
8392
  seq: string;
8405
8393
  block_num: string;
8406
8394
  trx_id: string;
8407
- trace: {
8408
- block_num: string;
8409
- block_timestamp: string;
8410
- trace?: any;
8411
- };
8395
+ trace?: any;
8412
8396
  }, {
8413
8397
  block_time: string;
8414
8398
  seq: string;
8415
8399
  block_num: string;
8416
8400
  trx_id: string;
8417
- trace: {
8418
- block_num: string;
8419
- block_timestamp: string;
8420
- trace?: any;
8421
- };
8401
+ trace?: any;
8422
8402
  }>;
8423
8403
  declare type DbHistoryTransaction = z.infer<typeof dbHistoryTransactionParser>;
8424
8404
  declare const historyPartialParser: z.ZodObject<{
@@ -9551,11 +9531,13 @@ declare const historyTransactionParser: z.ZodObject<{
9551
9531
  };
9552
9532
  block_timestamp: string;
9553
9533
  }>;
9534
+ irreversible: z.ZodBoolean;
9554
9535
  }, "strip", z.ZodTypeAny, {
9555
9536
  block_time: string;
9556
9537
  seq: string;
9557
9538
  block_num: string;
9558
9539
  trx_id: string;
9540
+ irreversible: boolean;
9559
9541
  trace: {
9560
9542
  block_num: string;
9561
9543
  trace: {
@@ -9630,6 +9612,7 @@ declare const historyTransactionParser: z.ZodObject<{
9630
9612
  seq: string;
9631
9613
  block_num: string;
9632
9614
  trx_id: string;
9615
+ irreversible: boolean;
9633
9616
  trace: {
9634
9617
  block_num: string;
9635
9618
  trace: {
@@ -10200,11 +10183,13 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10200
10183
  };
10201
10184
  block_timestamp: string;
10202
10185
  }>;
10186
+ irreversible: z.ZodBoolean;
10203
10187
  }, "strip", z.ZodTypeAny, {
10204
10188
  block_time: string;
10205
10189
  seq: string;
10206
10190
  block_num: string;
10207
10191
  trx_id: string;
10192
+ irreversible: boolean;
10208
10193
  trace: {
10209
10194
  block_num: string;
10210
10195
  trace: {
@@ -10279,6 +10264,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10279
10264
  seq: string;
10280
10265
  block_num: string;
10281
10266
  trx_id: string;
10267
+ irreversible: boolean;
10282
10268
  trace: {
10283
10269
  block_num: string;
10284
10270
  trace: {
@@ -10355,6 +10341,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10355
10341
  seq: string;
10356
10342
  block_num: string;
10357
10343
  trx_id: string;
10344
+ irreversible: boolean;
10358
10345
  trace: {
10359
10346
  block_num: string;
10360
10347
  trace: {
@@ -10431,6 +10418,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10431
10418
  seq: string;
10432
10419
  block_num: string;
10433
10420
  trx_id: string;
10421
+ irreversible: boolean;
10434
10422
  trace: {
10435
10423
  block_num: string;
10436
10424
  trace: {
package/dist/index.js CHANGED
@@ -2264,11 +2264,7 @@ var dbHistoryTransactionParser = z11.object({
2264
2264
  block_num: z11.string(),
2265
2265
  block_time: z11.string(),
2266
2266
  trx_id: z11.string(),
2267
- trace: z11.object({
2268
- block_num: z11.string(),
2269
- block_timestamp: z11.string(),
2270
- trace: z11.any()
2271
- })
2267
+ trace: z11.any()
2272
2268
  });
2273
2269
  var historyPartialParser = z11.object({
2274
2270
  expiration: z11.object({ utc_seconds: z11.string() }),
@@ -2336,7 +2332,8 @@ var historyTransactionParser = z11.object({
2336
2332
  block_num: z11.string(),
2337
2333
  block_timestamp: z11.string(),
2338
2334
  trace: traceParser
2339
- })
2335
+ }),
2336
+ irreversible: z11.boolean()
2340
2337
  });
2341
2338
  var getHistoryTransactionResponseParser = z11.object({
2342
2339
  data: historyTransactionParser.nullable()
package/dist/index.mjs CHANGED
@@ -2112,11 +2112,7 @@ var dbHistoryTransactionParser = z11.object({
2112
2112
  block_num: z11.string(),
2113
2113
  block_time: z11.string(),
2114
2114
  trx_id: z11.string(),
2115
- trace: z11.object({
2116
- block_num: z11.string(),
2117
- block_timestamp: z11.string(),
2118
- trace: z11.any()
2119
- })
2115
+ trace: z11.any()
2120
2116
  });
2121
2117
  var historyPartialParser = z11.object({
2122
2118
  expiration: z11.object({ utc_seconds: z11.string() }),
@@ -2184,7 +2180,8 @@ var historyTransactionParser = z11.object({
2184
2180
  block_num: z11.string(),
2185
2181
  block_timestamp: z11.string(),
2186
2182
  trace: traceParser
2187
- })
2183
+ }),
2184
+ irreversible: z11.boolean()
2188
2185
  });
2189
2186
  var getHistoryTransactionResponseParser = z11.object({
2190
2187
  data: historyTransactionParser.nullable()
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.142",
8
+ "version": "0.2.145",
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": "4ac41833a791f82afce7d2fd719659b95f2f79a3"
43
+ "gitHead": "3c557bce19b6e65db30ee6f11456972167bb947a"
44
44
  }
@@ -531,11 +531,7 @@ export const dbHistoryTransactionParser = z.object({
531
531
  block_num: z.string(),
532
532
  block_time: z.string(),
533
533
  trx_id: z.string(),
534
- trace: z.object({
535
- block_num: z.string(),
536
- block_timestamp: z.string(),
537
- trace: z.any()
538
- }),
534
+ trace: z.any(),
539
535
  });
540
536
  export type DbHistoryTransaction = z.infer<typeof dbHistoryTransactionParser>;
541
537
 
@@ -616,6 +612,7 @@ export const historyTransactionParser = z.object({
616
612
  block_timestamp: z.string(),
617
613
  trace: traceParser,
618
614
  }),
615
+ irreversible: z.boolean()
619
616
  });
620
617
  export type HistoryTransaction = z.infer<typeof historyTransactionParser>;
621
618