Releases: pyth-network/pyth-client-js
Releases · pyth-network/pyth-client-js
Move solana/web3 to peer dependencies
v2.7.1 2.7.1
Add timestamp field
Add timestamp fields to the Price struct
Document PythHttpClient
Document PythHttpClient
, which lets you make one-off requests to read the current prices of assets.
Add new field to Products
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
- @ChALkeR made their first contribution in #24
- @jeff-delonge made their first contribution in #27
Full Changelog: v2.6.1...v2.6.2
v2.6.1
v2.6.0
- 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
v2.5.2
v2.5.1
v2.5.0
What's Changed
- Update dependencies by @jayantk in #12
- restructure drv2 and add minPublishers field to PriceData by @cctdaniel in #13
New Contributors
- @cctdaniel made their first contribution in #13
Full Changelog: v2.4.0...v2.5.0