@proton/wrap-constants 0.2.105 → 0.2.107

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
@@ -7447,10 +7447,10 @@ declare const dbMarketParser: z.ZodObject<{
7447
7447
  ask_oracle_index: z.ZodString;
7448
7448
  bid_token_c: z.ZodString;
7449
7449
  bid_token_s: z.ZodString;
7450
- bid_token_m: z.ZodNumber;
7450
+ bid_token_m: z.ZodString;
7451
7451
  ask_token_c: z.ZodString;
7452
7452
  ask_token_s: z.ZodString;
7453
- ask_token_m: z.ZodNumber;
7453
+ ask_token_m: z.ZodString;
7454
7454
  created_at: z.ZodDate;
7455
7455
  updated_at: z.ZodDate;
7456
7456
  }, "strip", z.ZodTypeAny, {
@@ -7460,10 +7460,10 @@ declare const dbMarketParser: z.ZodObject<{
7460
7460
  ask_oracle_index: string;
7461
7461
  bid_token_c: string;
7462
7462
  bid_token_s: string;
7463
- bid_token_m: number;
7463
+ bid_token_m: string;
7464
7464
  ask_token_c: string;
7465
7465
  ask_token_s: string;
7466
- ask_token_m: number;
7466
+ ask_token_m: string;
7467
7467
  created_at: Date;
7468
7468
  updated_at: Date;
7469
7469
  }, {
@@ -7473,10 +7473,10 @@ declare const dbMarketParser: z.ZodObject<{
7473
7473
  ask_oracle_index: string;
7474
7474
  bid_token_c: string;
7475
7475
  bid_token_s: string;
7476
- bid_token_m: number;
7476
+ bid_token_m: string;
7477
7477
  ask_token_c: string;
7478
7478
  ask_token_s: string;
7479
- ask_token_m: number;
7479
+ ask_token_m: string;
7480
7480
  created_at: Date;
7481
7481
  updated_at: Date;
7482
7482
  }>;
@@ -9454,7 +9454,7 @@ declare const historyTransactionParser: z.ZodObject<{
9454
9454
  }>;
9455
9455
  declare type HistoryTransaction = z.infer<typeof historyTransactionParser>;
9456
9456
  declare const getHistoryTransactionResponseParser: z.ZodObject<{
9457
- transaction: z.ZodObject<{
9457
+ transaction: z.ZodNullable<z.ZodObject<{
9458
9458
  seq: z.ZodString;
9459
9459
  block_num: z.ZodString;
9460
9460
  block_time: z.ZodString;
@@ -10100,7 +10100,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10100
10100
  };
10101
10101
  block_timestamp: string;
10102
10102
  };
10103
- }>;
10103
+ }>>;
10104
10104
  }, "strip", z.ZodTypeAny, {
10105
10105
  transaction: {
10106
10106
  block_num: string;
@@ -10176,7 +10176,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10176
10176
  };
10177
10177
  block_timestamp: string;
10178
10178
  };
10179
- };
10179
+ } | null;
10180
10180
  }, {
10181
10181
  transaction: {
10182
10182
  block_num: string;
@@ -10252,7 +10252,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10252
10252
  };
10253
10253
  block_timestamp: string;
10254
10254
  };
10255
- };
10255
+ } | null;
10256
10256
  }>;
10257
10257
  declare type GetHistoryTransaction = z.infer<typeof getHistoryTransactionResponseParser>;
10258
10258
  /**
package/dist/index.js CHANGED
@@ -2059,10 +2059,10 @@ var dbMarketParser = z11.object({
2059
2059
  ask_oracle_index: z11.string(),
2060
2060
  bid_token_c: z11.string(),
2061
2061
  bid_token_s: z11.string(),
2062
- bid_token_m: z11.number(),
2062
+ bid_token_m: z11.string(),
2063
2063
  ask_token_c: z11.string(),
2064
2064
  ask_token_s: z11.string(),
2065
- ask_token_m: z11.number(),
2065
+ ask_token_m: z11.string(),
2066
2066
  created_at: z11.date(),
2067
2067
  updated_at: z11.date()
2068
2068
  });
@@ -2239,7 +2239,7 @@ var historyTransactionParser = z11.object({
2239
2239
  })
2240
2240
  });
2241
2241
  var getHistoryTransactionResponseParser = z11.object({
2242
- transaction: historyTransactionParser
2242
+ transaction: historyTransactionParser.nullable()
2243
2243
  });
2244
2244
  var orderType = /* @__PURE__ */ ((orderType2) => {
2245
2245
  orderType2[orderType2["ORDERBOOK"] = 0] = "ORDERBOOK";
package/dist/index.mjs CHANGED
@@ -1917,10 +1917,10 @@ var dbMarketParser = z11.object({
1917
1917
  ask_oracle_index: z11.string(),
1918
1918
  bid_token_c: z11.string(),
1919
1919
  bid_token_s: z11.string(),
1920
- bid_token_m: z11.number(),
1920
+ bid_token_m: z11.string(),
1921
1921
  ask_token_c: z11.string(),
1922
1922
  ask_token_s: z11.string(),
1923
- ask_token_m: z11.number(),
1923
+ ask_token_m: z11.string(),
1924
1924
  created_at: z11.date(),
1925
1925
  updated_at: z11.date()
1926
1926
  });
@@ -2097,7 +2097,7 @@ var historyTransactionParser = z11.object({
2097
2097
  })
2098
2098
  });
2099
2099
  var getHistoryTransactionResponseParser = z11.object({
2100
- transaction: historyTransactionParser
2100
+ transaction: historyTransactionParser.nullable()
2101
2101
  });
2102
2102
  var orderType = /* @__PURE__ */ ((orderType2) => {
2103
2103
  orderType2[orderType2["ORDERBOOK"] = 0] = "ORDERBOOK";
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.105",
8
+ "version": "0.2.107",
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": "2a46a328bc6118129ce8282ca9126695a1d1fbd8"
43
+ "gitHead": "42f54e1bc0ae12f785ea58e1ac6b5bc4176a0be7"
44
44
  }
@@ -256,10 +256,10 @@ export const dbMarketParser = z.object({
256
256
  ask_oracle_index: z.string(),
257
257
  bid_token_c: z.string(),
258
258
  bid_token_s: z.string(),
259
- bid_token_m: z.number(),
259
+ bid_token_m: z.string(),
260
260
  ask_token_c: z.string(),
261
261
  ask_token_s: z.string(),
262
- ask_token_m: z.number(),
262
+ ask_token_m: z.string(),
263
263
  created_at: z.date(),
264
264
  updated_at: z.date(),
265
265
  });
@@ -516,7 +516,7 @@ export const historyTransactionParser = z.object({
516
516
  export type HistoryTransaction = z.infer<typeof historyTransactionParser>;
517
517
 
518
518
  export const getHistoryTransactionResponseParser = z.object({
519
- transaction: historyTransactionParser,
519
+ transaction: historyTransactionParser.nullable(),
520
520
  });
521
521
  export type GetHistoryTransaction = z.infer<
522
522
  typeof getHistoryTransactionResponseParser