@proton/wrap-constants 0.2.36 → 0.2.37

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.
@@ -266,6 +266,20 @@ export declare const syncParser: z.ZodObject<{
266
266
  last_updated: string;
267
267
  }>;
268
268
  export declare type Sync = z.infer<typeof syncParser>;
269
+ export declare const latestSyncParser: z.ZodObject<{
270
+ dbSecondsBehind: z.ZodNumber;
271
+ chronicleSecondsBehind: z.ZodNumber;
272
+ maxSecondsBehind: z.ZodNumber;
273
+ }, "strip", z.ZodTypeAny, {
274
+ dbSecondsBehind: number;
275
+ chronicleSecondsBehind: number;
276
+ maxSecondsBehind: number;
277
+ }, {
278
+ dbSecondsBehind: number;
279
+ chronicleSecondsBehind: number;
280
+ maxSecondsBehind: number;
281
+ }>;
282
+ export declare type LatestSync = z.infer<typeof latestSyncParser>;
269
283
  export declare enum orderType {
270
284
  ORDERBOOK = 0,
271
285
  LIMIT = 1,
@@ -1570,6 +1570,11 @@ var syncParser = /*#__PURE__*/z.object({
1570
1570
  is_master: /*#__PURE__*/z.number(),
1571
1571
  last_updated: /*#__PURE__*/z.string()
1572
1572
  });
1573
+ var latestSyncParser = /*#__PURE__*/z.object({
1574
+ dbSecondsBehind: /*#__PURE__*/z.number(),
1575
+ chronicleSecondsBehind: /*#__PURE__*/z.number(),
1576
+ maxSecondsBehind: /*#__PURE__*/z.number()
1577
+ });
1573
1578
 
1574
1579
  (function (orderType) {
1575
1580
  orderType[orderType["ORDERBOOK"] = 0] = "ORDERBOOK";
@@ -1947,6 +1952,7 @@ exports.initializeCoins = initializeCoins;
1947
1952
  exports.initializeConstants = initializeConstants;
1948
1953
  exports.isInputInvalid = isInputInvalid;
1949
1954
  exports.isSameToken = isSameToken;
1955
+ exports.latestSyncParser = latestSyncParser;
1950
1956
  exports.loginAccountParamsV3Parser = loginAccountParamsV3Parser;
1951
1957
  exports.median = median;
1952
1958
  exports.ohlcvParser = ohlcvParser;