cryptobot-types 1.0.8 → 1.0.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
@@ -1,18 +1,16 @@
1
1
  {
2
2
  "name": "cryptobot-types",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "types": "types/index.d.ts",
6
- "main": "index.js",
7
6
  "registry": "https://registry.npmjs.org/",
8
7
  "scripts": {
9
8
  "build": "tsc -b"
10
9
  },
11
10
  "files": [
12
- "types",
13
- "*.ts"
11
+ "types"
14
12
  ],
15
- "author": "Sebastian Boehler",
13
+ "author": "",
16
14
  "license": "ISC",
17
15
  "dependencies": {
18
16
  "@types/node": "^20.8.3",
package/types/okx.d.ts CHANGED
@@ -140,21 +140,3 @@ export type OrderUpdateEvent = Omit<WsDataEvent, "data"> & {
140
140
  data: OrderUpdateData[];
141
141
  wsKey: string;
142
142
  };
143
-
144
- export const isTickerUpdateEvent = (
145
- event: WsDataEvent
146
- ): event is TickerUpdateEvent => {
147
- return event.arg.channel === "tickers";
148
- };
149
-
150
- export const isPositionUpdateEvent = (
151
- event: WsDataEvent
152
- ): event is PositionUpdateEvent => {
153
- return event.arg.channel === "positions";
154
- };
155
-
156
- export const isOrderUpdateEvent = (
157
- event: WsDataEvent
158
- ): event is OrderUpdateEvent => {
159
- return event.arg.channel === "orders";
160
- };
package/index.js DELETED
File without changes