Skip to content

Releases: pyth-network/pyth-client-js

Move solana/web3 to peer dependencies

21 Jun 13:51
Compare
Choose a tag to compare

Add timestamp field

18 May 17:44
Compare
Choose a tag to compare

Add timestamp fields to the Price struct

Document PythHttpClient

02 May 16:52
Compare
Choose a tag to compare

Document PythHttpClient, which lets you make one-off requests to read the current prices of assets.

Add new field to Products

18 Mar 14:13
c90a49e
Compare
Choose a tag to compare

What's Changed

  • remove unused 'assert' dependency by @ChALkeR in #24
  • Support price tracking for a given set of price account keys by @jeff-delonge in #27

New Contributors

Full Changelog: v2.6.1...v2.6.2

v2.6.1

07 Mar 06:57
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.6.0...v2.6.1

v2.6.0

18 Feb 08:23
f8fd7ba
Compare
Choose a tag to compare
  • Checks current slot when parsing a Price account and set status to unknown if price is stale. Being stale means it is not updated in MAX_SLOT_DIFFERENCE slots (currently 25).
  • Adds status field in PriceData to access the current status (considering price getting stale) easier.
  • Converts Some type/status structs to enums to be able to use them in a cleaner way. It's backward compatible.

v2.5.3

02 Feb 17:24
34aac82
Compare
Choose a tag to compare
  • Fix unit tests to handle updated on-chain symbol names
  • Add PythHttpClient to enable users to read on-chain data without subscribing to continuous updates.

v2.5.2

02 Feb 17:14
3de7232
Compare
Choose a tag to compare

Add PythHttpClient to read Pyth prices once without subscribing to the websocket for continuous updates.

v2.5.1

10 Nov 17:06
Compare
Choose a tag to compare

Update an error message to be more descriptive

v2.5.0

04 Nov 15:26
d14e733
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.0...v2.5.0