@rabby-wallet/hyperliquid-sdk 1.0.2 → 1.0.4

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.
@@ -322,13 +322,12 @@ export interface ActiveAssetData {
322
322
  markPx: string;
323
323
  }
324
324
  export interface WebData2 {
325
- assetPositions: AssetPosition[];
326
- marginSummary: MarginSummary;
327
- crossMarginSummary: MarginSummary;
328
- crossMaintenanceMarginUsed: string;
329
- openOrders: WsOrder[];
330
- totalNtlPos: string;
331
- time: number;
325
+ clearinghouseState: ClearinghouseState;
326
+ assetCtxs: AssetCtx[];
327
+ meta: Meta;
328
+ openOrders: OpenOrder[];
329
+ serverTime: number;
330
+ user: string;
332
331
  }
333
332
  export interface FeeResponse {
334
333
  userCrossRate: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/hyperliquid-sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Simplified Hyperliquid Perpetuals Trading SDK for Frontend Applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",