@proton/wrap-constants 0.2.111 → 0.2.113

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
@@ -7104,7 +7104,6 @@ declare const serializeOrderParser: z.ZodObject<{
7104
7104
  }>;
7105
7105
  declare type SerializeOrderParser = z.infer<typeof serializeOrderParser>;
7106
7106
  declare const serializeOrderResponseParser: z.ZodObject<{
7107
- sync: z.ZodNumber;
7108
7107
  data: z.ZodObject<{
7109
7108
  serialized_tx_hex: z.ZodString;
7110
7109
  digest_hex: z.ZodString;
@@ -7120,13 +7119,11 @@ declare const serializeOrderResponseParser: z.ZodObject<{
7120
7119
  serialized_tx_hex: string;
7121
7120
  digest_hex: string;
7122
7121
  };
7123
- sync: number;
7124
7122
  }, {
7125
7123
  data: {
7126
7124
  serialized_tx_hex: string;
7127
7125
  digest_hex: string;
7128
7126
  };
7129
- sync: number;
7130
7127
  }>;
7131
7128
  declare type SerializeOrderResponse = z.infer<typeof serializeOrderResponseParser>;
7132
7129
  /**
@@ -7964,17 +7961,14 @@ declare const syncParser: z.ZodObject<{
7964
7961
  declare type Sync = z.infer<typeof syncParser>;
7965
7962
  declare const getSyncResponseParser: z.ZodObject<{
7966
7963
  dbSecondsBehind: z.ZodNumber;
7967
- historyDbSecondsBehind: z.ZodNumber;
7968
7964
  chronicleSecondsBehind: z.ZodNumber;
7969
7965
  maxSecondsBehind: z.ZodNumber;
7970
7966
  }, "strip", z.ZodTypeAny, {
7971
7967
  dbSecondsBehind: number;
7972
- historyDbSecondsBehind: number;
7973
7968
  chronicleSecondsBehind: number;
7974
7969
  maxSecondsBehind: number;
7975
7970
  }, {
7976
7971
  dbSecondsBehind: number;
7977
- historyDbSecondsBehind: number;
7978
7972
  chronicleSecondsBehind: number;
7979
7973
  maxSecondsBehind: number;
7980
7974
  }>;
@@ -9457,7 +9451,7 @@ declare const historyTransactionParser: z.ZodObject<{
9457
9451
  }>;
9458
9452
  declare type HistoryTransaction = z.infer<typeof historyTransactionParser>;
9459
9453
  declare const getHistoryTransactionResponseParser: z.ZodObject<{
9460
- transaction: z.ZodNullable<z.ZodObject<{
9454
+ data: z.ZodNullable<z.ZodObject<{
9461
9455
  seq: z.ZodString;
9462
9456
  block_num: z.ZodString;
9463
9457
  block_time: z.ZodString;
@@ -10105,7 +10099,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10105
10099
  };
10106
10100
  }>>;
10107
10101
  }, "strip", z.ZodTypeAny, {
10108
- transaction: {
10102
+ data: {
10109
10103
  block_num: string;
10110
10104
  block_time: string;
10111
10105
  seq: string;
@@ -10181,7 +10175,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10181
10175
  };
10182
10176
  } | null;
10183
10177
  }, {
10184
- transaction: {
10178
+ data: {
10185
10179
  block_num: string;
10186
10180
  block_time: string;
10187
10181
  seq: string;
package/dist/index.js CHANGED
@@ -2004,7 +2004,6 @@ var serializeOrderParser = z11.object({
2004
2004
  })
2005
2005
  });
2006
2006
  var serializeOrderResponseParser = z11.object({
2007
- sync: z11.number(),
2008
2007
  data: z11.object({
2009
2008
  serialized_tx_hex: z11.string(),
2010
2009
  digest_hex: z11.string()
@@ -2134,7 +2133,6 @@ var syncParser = z11.object({
2134
2133
  });
2135
2134
  var getSyncResponseParser = z11.object({
2136
2135
  dbSecondsBehind: z11.number(),
2137
- historyDbSecondsBehind: z11.number(),
2138
2136
  chronicleSecondsBehind: z11.number(),
2139
2137
  maxSecondsBehind: z11.number()
2140
2138
  });
@@ -2252,7 +2250,7 @@ var historyTransactionParser = z11.object({
2252
2250
  })
2253
2251
  });
2254
2252
  var getHistoryTransactionResponseParser = z11.object({
2255
- transaction: historyTransactionParser.nullable()
2253
+ data: historyTransactionParser.nullable()
2256
2254
  });
2257
2255
  var orderType = /* @__PURE__ */ ((orderType2) => {
2258
2256
  orderType2[orderType2["ORDERBOOK"] = 0] = "ORDERBOOK";
package/dist/index.mjs CHANGED
@@ -1862,7 +1862,6 @@ var serializeOrderParser = z11.object({
1862
1862
  })
1863
1863
  });
1864
1864
  var serializeOrderResponseParser = z11.object({
1865
- sync: z11.number(),
1866
1865
  data: z11.object({
1867
1866
  serialized_tx_hex: z11.string(),
1868
1867
  digest_hex: z11.string()
@@ -1992,7 +1991,6 @@ var syncParser = z11.object({
1992
1991
  });
1993
1992
  var getSyncResponseParser = z11.object({
1994
1993
  dbSecondsBehind: z11.number(),
1995
- historyDbSecondsBehind: z11.number(),
1996
1994
  chronicleSecondsBehind: z11.number(),
1997
1995
  maxSecondsBehind: z11.number()
1998
1996
  });
@@ -2110,7 +2108,7 @@ var historyTransactionParser = z11.object({
2110
2108
  })
2111
2109
  });
2112
2110
  var getHistoryTransactionResponseParser = z11.object({
2113
- transaction: historyTransactionParser.nullable()
2111
+ data: historyTransactionParser.nullable()
2114
2112
  });
2115
2113
  var orderType = /* @__PURE__ */ ((orderType2) => {
2116
2114
  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.111",
8
+ "version": "0.2.113",
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": "06f573ed611c29f50a81d4d2c58fe1bfe392d31f"
43
+ "gitHead": "1441d0dc2ed863d2aae818d442a9f5b7ab13854f"
44
44
  }
@@ -164,7 +164,6 @@ export const serializeOrderParser = z.object({
164
164
  export type SerializeOrderParser = z.infer<typeof serializeOrderParser>;
165
165
 
166
166
  export const serializeOrderResponseParser = z.object({
167
- sync: z.number(),
168
167
  data: z.object({
169
168
  serialized_tx_hex: z.string(),
170
169
  digest_hex: z.string(),
@@ -346,7 +345,6 @@ export type Sync = z.infer<typeof syncParser>;
346
345
 
347
346
  export const getSyncResponseParser = z.object({
348
347
  dbSecondsBehind: z.number(),
349
- historyDbSecondsBehind: z.number(),
350
348
  chronicleSecondsBehind: z.number(),
351
349
  maxSecondsBehind: z.number(),
352
350
  });
@@ -517,7 +515,7 @@ export const historyTransactionParser = z.object({
517
515
  export type HistoryTransaction = z.infer<typeof historyTransactionParser>;
518
516
 
519
517
  export const getHistoryTransactionResponseParser = z.object({
520
- transaction: historyTransactionParser.nullable(),
518
+ data: historyTransactionParser.nullable(),
521
519
  });
522
520
  export type GetHistoryTransaction = z.infer<
523
521
  typeof getHistoryTransactionResponseParser