v1.0.0-beta.27
Pre-release
Pre-release
·
7 commits
to main
since this release
Major Changes
- f05af49: Replace market websocket subscribe/unsubscribe methods with per-consumer subscription leases. Use
client.market.acquireL1BookSubscription()andclient.market.acquireFundingRateSubscription()to obtain aMarketSubscriptionLease, awaitlease.readyfor the first snapshot, and calllease.close()to release only that consumer. L1 book and funding rate streams now ref-count active leases independently and only close the underlying websocket stream after the final lease is closed.