Skip to content

v1.0.0-beta.27

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Jun 06:23
· 7 commits to main since this release
39026d1

Major Changes

  • f05af49: Replace market websocket subscribe/unsubscribe methods with per-consumer subscription leases. Use client.market.acquireL1BookSubscription() and client.market.acquireFundingRateSubscription() to obtain a MarketSubscriptionLease, await lease.ready for the first snapshot, and call lease.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.