@proton/wrap-constants 0.2.8 → 0.2.9

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.
@@ -301,3 +301,15 @@ export interface DbMarket {
301
301
  created_at: string;
302
302
  updated_at: string;
303
303
  }
304
+ export declare enum ITopics {
305
+ TRADES = "TRADES",
306
+ ORDERS = "ORDERS"
307
+ }
308
+ export declare const TOPICS: {
309
+ TRADES: {
310
+ topic: ITopics;
311
+ };
312
+ ORDERS: {
313
+ topic: ITopics;
314
+ };
315
+ };
@@ -1352,6 +1352,7 @@ var wrapParser = /*#__PURE__*/z.z.object({
1352
1352
  confirmations: /*#__PURE__*/z.z.number()
1353
1353
  });
1354
1354
 
1355
+ var _TOPICS;
1355
1356
  var numTransform = /*#__PURE__*/z.z.string().regex(/\d+/).transform(Number);
1356
1357
  var ohlcvParser = /*#__PURE__*/z.z.object({
1357
1358
  time: /*#__PURE__*/z.z.number(),
@@ -1463,6 +1464,17 @@ var syncParser = /*#__PURE__*/z.z.object({
1463
1464
  logStatus["DELETE"] = "delete";
1464
1465
  })(exports.logStatus || (exports.logStatus = {}));
1465
1466
 
1467
+ (function (ITopics) {
1468
+ ITopics["TRADES"] = "TRADES";
1469
+ ITopics["ORDERS"] = "ORDERS";
1470
+ })(exports.ITopics || (exports.ITopics = {}));
1471
+
1472
+ var TOPICS = (_TOPICS = {}, _TOPICS[exports.ITopics.TRADES] = {
1473
+ topic: exports.ITopics.TRADES
1474
+ }, _TOPICS[exports.ITopics.ORDERS] = {
1475
+ topic: exports.ITopics.ORDERS
1476
+ }, _TOPICS);
1477
+
1466
1478
  var isSameToken = function isSameToken(token1, token2) {
1467
1479
  return token1.xtokenSymbol === token2.xtokenSymbol && token1.xtokenPrecision === token2.xtokenPrecision && token1.xtokenContract === token2.xtokenContract;
1468
1480
  };
@@ -1764,6 +1776,7 @@ exports.FEE_FACTOR = FEE_FACTOR;
1764
1776
  exports.Graph = Graph;
1765
1777
  exports.ILink = ILink;
1766
1778
  exports.INode = INode;
1779
+ exports.TOPICS = TOPICS;
1767
1780
  exports.WRAP_AUTH_ACTION = WRAP_AUTH_ACTION;
1768
1781
  exports.WRAP_CONTRACT = WRAP_CONTRACT;
1769
1782
  exports.accountParser = accountParser;