pyth-crosschain/price_service/sdk/js
Ali Behjati 4c5d0d5e1b
[refactor] Add global lerna (#546)
* Move lerna to the top

* Set version to independent

Packages are versioned independently

* Update packages and the lock

* Add build cache and better reference

* Add lerna docker base

* Add wormhole_attester sdk and some minor impr

* Update tsconfig to fix outDir impact by composite

* Update eth package

* Update p2w to use solidity-sdk

* Change xc-admin CI to lerna CI action

* Add more packages to the list + bugfixes

* Update dockerfiles to have tilt working

* Format the code

* Fix some issues

* Fix the change of usePyth.ts

* lerna build fix

* Fix foundry
2023-01-31 17:09:31 +01:00
..
src [price-service] Add price service client and sdk to this repo (#525) 2023-01-25 17:17:32 +01:00
.eslintignore [price-service] Add price service client and sdk to this repo (#525) 2023-01-25 17:17:32 +01:00
.eslintrc.js [price-service] Add price service client and sdk to this repo (#525) 2023-01-25 17:17:32 +01:00
.gitignore [price-service] Add price service client and sdk to this repo (#525) 2023-01-25 17:17:32 +01:00
README.md [price-service] Add price service client and sdk to this repo (#525) 2023-01-25 17:17:32 +01:00
jest.config.js [price-service] Add price service client and sdk to this repo (#525) 2023-01-25 17:17:32 +01:00
package.json [refactor] Add global lerna (#546) 2023-01-31 17:09:31 +01:00
tsconfig.json [refactor] Add global lerna (#546) 2023-01-31 17:09:31 +01:00

README.md

Pyth SDK JS

The Pyth JavaScript SDK provides definitions and utilities for Pyth data structures.

Please see the pyth.network documentation for more information on how to use Pyth prices in various blockchains.

Releases

We use Semantic Versioning for our releases. In order to release a new version of this package and publish it to npm, follow these steps:

  1. Run npm version <new version number> --no-git-tag-version. This command will update the version of the package. Then push your changes to github.
  2. Once your change is merged into main, create a release with tag v<new version number> like v1.5.2, and a github action will automatically publish the new version of this package to npm.