Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.99 KB

CHANGELOG.md

File metadata and controls

37 lines (21 loc) · 1.99 KB

Changelog

16-12-2024

  • allow React 19 as peer dependency
  • correct type declaration for useAssetList hook

04-12-2024

  • passing disable parameter to the ObservableQuery will cause the ws unsubscribe event

@ston-fi/omniston-example-next-js-app

  • the QuotePreview component was extended with the quote resolver information
  • b2ffcab5 improve demo app by calling the quote track API only after accepting the quote
  • 25e7ebce improve demo app by disabling the RFQ query when any quote tracking is in process

26-11-2024

Starting from this moment Omniston API can send Unsubscribed messages to the client. Receiving such an event in the QuoteEvent or TradeStatus stream means that no other events will ever be sent in response.

  • the return type of the requestForQuote method was changed. Now it will be an observable stream of events instead of Quote | null as it was before.
  • the return type of Omniston methods was changed from RxJS Observable to narrowed type to provide decuple Omniston SDK from a specific package interface. It is still comparable with the RxJS, so you can easily make an RxJS observable out of an observable returned from the SDK if you need the entire RxJS API. Otherwise, no changes are needed
  • the return type of the useRfq hook was changed. Now it will be an observable stream of events instead of Quote | null as it was before.

@ston-fi/omniston-example-next-js-app