Releases: pyth-network/pyth-client-js
Releases · pyth-network/pyth-client-js
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
v2.4.0
This minor version increment changes the behavior of the price
and confidence
fields so that they are only defined if the product currently has a valid price. This change should prevent downstream users from accidentally using these fields when the trading status indicates that they are invalid. It also includes an update to the solana web3 version that fixes a memory leak in an underlying library.
What's Changed
- Document CD process by @jayantk in #10
- Make the default usage check the price status by @jayantk in #11
Full Changelog: v2.3.2...v2.4.0