@tria-sdk/hyperliquid-core 0.1.0 → 6.45.0-beta

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.
@@ -1,2 +1,9 @@
1
- export {};
1
+ export const STREAM_PRIORITY = {
2
+ allMids: 1,
3
+ l2Book: 1,
4
+ activeAssetCtx: 2,
5
+ orderUpdates: 2,
6
+ userFills: 2,
7
+ trades: 3,
8
+ };
2
9
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/websocket/types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/websocket/types.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAC,MAAM,eAAe,GAAqC;IAC/D,OAAO,EAAE,CAAC;IACV,MAAM,EAAE,CAAC;IACT,cAAc,EAAE,CAAC;IACjB,YAAY,EAAE,CAAC;IACf,SAAS,EAAE,CAAC;IACZ,MAAM,EAAE,CAAC;CACV,CAAC"}
package/package.json CHANGED
@@ -1,16 +1,11 @@
1
1
  {
2
2
  "name": "@tria-sdk/hyperliquid-core",
3
- "version": "0.1.0",
3
+ "version": "6.45.0-beta",
4
4
  "description": "Platform-agnostic Hyperliquid API client and types for web and React Native",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "sideEffects": false,
9
- "scripts": {
10
- "build": "rimraf dist && tsc --project tsconfig.json",
11
- "dev": "tsc --watch --project tsconfig.json",
12
- "publish": "npm run build && npm publish"
13
- },
14
9
  "dependencies": {
15
10
  "zod": "^3.24.2",
16
11
  "@nktkas/hyperliquid": "^0.29.1"
@@ -22,7 +17,8 @@
22
17
  "files": [
23
18
  "dist"
24
19
  ],
25
- "publishConfig": {
26
- "access": "public"
20
+ "scripts": {
21
+ "build": "rimraf dist && tsc --project tsconfig.json",
22
+ "dev": "tsc --watch --project tsconfig.json"
27
23
  }
28
- }
24
+ }