Common libraries across Saber projects.
The best way to learn is by example. Some examples:
Package |
Description |
Version |
@saberhq/anchor-contrib |
TypeScript client for Anchor programs |
![npm](https://camo.githubusercontent.com/c34ce5325c37d101a613428bbac8c9a88e05c49a63db1c350a21ceeef6e81d48/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f616e63686f722d636f6e747269622e737667) |
@saberhq/chai-solana |
Chai test helpers |
![npm](https://camo.githubusercontent.com/00ca3964923a5d4763d23af86e389e110610e83da43307c4ecf19d16e2bdf8aa/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f636861692d736f6c616e612e737667) |
@saberhq/eslint-config |
ESLint config for TypeScript projects |
![npm](https://camo.githubusercontent.com/7a3baccff498d1c2bb53c60a87a4fe34e30bc89b26c516a1cf72279decfed7b0/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f65736c696e742d636f6e6669672e737667) |
@saberhq/eslint-config-react |
ESLint config for React projects |
![npm](https://camo.githubusercontent.com/c5e3c9f18fb283e52678ae5dc26f6d3651c9271a66ecf229da8346127155201c/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f65736c696e742d636f6e6669672d72656163742e737667) |
@saberhq/solana-contrib |
Solana TypeScript utilities |
![npm](https://camo.githubusercontent.com/bc8b51a9cd99f67971437f5cd9be839c506a5a35600cefba0931f257dae6cbab/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f736f6c616e612d636f6e747269622e737667) |
@saberhq/stableswap-sdk |
StableSwap SDK |
![npm](https://camo.githubusercontent.com/3d44c08266ce6cf8366949c6ec07cf6ab9b2481d2e65d4c496c24ff6b5f88e0a/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f737461626c65737761702d73646b2e737667) |
@saberhq/token-utils |
SPL Token arithmetic and types |
![npm](https://camo.githubusercontent.com/ab049e792e622b3fbbb5c3fa7c38117a467a8010020ba7e3d00ae2ac52357328/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f746f6b656e2d7574696c732e737667) |
@saberhq/use-solana |
Solana React library |
![npm](https://camo.githubusercontent.com/3b9d87e29754ae74bd8371078db7d5d37518b29f2431285a4562d0c00cd0e1f7/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f7573652d736f6c616e612e737667) |
To release a new version of Saber Common, navigate to the release action page and click "Run workflow".
There, you may specify patch
, minor
, or major
.
Apache 2.0