@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.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.8",
8
+ "version": "0.2.9",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
@@ -44,5 +44,5 @@
44
44
  "resolutions": {
45
45
  "typescript": "4.5"
46
46
  },
47
- "gitHead": "aff61e415dad0e367d7df110a6caef7b493e92ff"
47
+ "gitHead": "b6863a23441f7dc2b7055ca8d626c671785d51f3"
48
48
  }
@@ -168,4 +168,18 @@ export interface DbMarket {
168
168
  ask_token_m: number
169
169
  created_at: string
170
170
  updated_at: string
171
+ }
172
+
173
+ export enum ITopics {
174
+ TRADES = "TRADES",
175
+ ORDERS = "ORDERS",
176
+ }
177
+
178
+ export const TOPICS = {
179
+ [ITopics.TRADES]: {
180
+ topic: ITopics.TRADES,
181
+ },
182
+ [ITopics.ORDERS]: {
183
+ topic: ITopics.ORDERS,
184
+ }
171
185
  }