@lifi/perps-sdk 0.0.0-preview-320fad6 → 0.0.0-preview-8f94973

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/README.md CHANGED
@@ -74,6 +74,11 @@ Account-specific reads go directly to the venue. `getOrders()` returns the
74
74
  `Order` union with regular, trigger, and TWAP rows. Its default filter includes
75
75
  PENDING, OPEN, PARTIALLY_FILLED, and TRIGGERED. Use `statuses` to read history.
76
76
 
77
+ `getWithdrawableBalances()` returns the `(asset, route)` pairs an address can
78
+ withdraw at the venue. Hyperliquid, Lighter, and Ondo implement it. The client
79
+ joins each row onto the registry `Asset` and drops a row below the per-asset
80
+ venue minimum.
81
+
77
82
  ```ts
78
83
  import { PerpsClient, isTwapOrder } from '@lifi/perps-sdk'
79
84
  import { hyperliquidProvider } from '@lifi/perps-sdk-provider-hyperliquid'
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@lifi/perps-sdk";
2
- export declare const version = "0.0.0-preview-320fad6";
2
+ export declare const version = "0.0.0-preview-8f94973";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = exports.name = void 0;
4
4
  exports.name = '@lifi/perps-sdk';
5
- exports.version = '0.0.0-preview-320fad6';
5
+ exports.version = '0.0.0-preview-8f94973';
6
6
  //# sourceMappingURL=version.js.map
@@ -9,5 +9,5 @@ export declare const name = "@lifi/perps-sdk";
9
9
  *
10
10
  * @public
11
11
  */
12
- export declare const version = "0.0.0-preview-320fad6";
12
+ export declare const version = "0.0.0-preview-8f94973";
13
13
  //# sourceMappingURL=version.d.ts.map
@@ -9,5 +9,5 @@ export const name = '@lifi/perps-sdk';
9
9
  *
10
10
  * @public
11
11
  */
12
- export const version = '0.0.0-preview-320fad6';
12
+ export const version = '0.0.0-preview-8f94973';
13
13
  //# sourceMappingURL=version.js.map
@@ -9,5 +9,5 @@ export declare const name = "@lifi/perps-sdk";
9
9
  *
10
10
  * @public
11
11
  */
12
- export declare const version = "0.0.0-preview-320fad6";
12
+ export declare const version = "0.0.0-preview-8f94973";
13
13
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/perps-sdk",
3
- "version": "0.0.0-preview-320fad6",
3
+ "version": "0.0.0-preview-8f94973",
4
4
  "description": "LI.FI Perps SDK for perpetuals trading",
5
5
  "homepage": "https://github.com/lifinance/perps-sdk",
6
6
  "bugs": {
@@ -46,7 +46,7 @@
46
46
  "big.js": "^7.0.1",
47
47
  "partysocket": "^1.1.19",
48
48
  "viem": "^2.55.18",
49
- "@lifi/perps-types": "^0.0.0-preview-320fad6"
49
+ "@lifi/perps-types": "^0.0.0-preview-8f94973"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"
package/src/version.ts CHANGED
@@ -10,4 +10,4 @@ export const name = '@lifi/perps-sdk'
10
10
  *
11
11
  * @public
12
12
  */
13
- export const version = '0.0.0-preview-320fad6'
13
+ export const version = '0.0.0-preview-8f94973'