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/caf5bce6aa148abd9f1264600e2895f54605e108d78f521194ee0aff4dd9f00d/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f616e63686f722d636f6e747269622e737667) |
@saberhq/chai-solana |
Chai test helpers |
![npm](https://camo.githubusercontent.com/791645b361baf3e807f2dbb8bfb5139a7d957a57b49d342c914f96575ea2946a/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f636861692d736f6c616e612e737667) |
@saberhq/eslint-config |
ESLint config for TypeScript projects |
![npm](https://camo.githubusercontent.com/b41f5aa095fee114ad814c335bd7e580c88c533fce946b8304110649264904a1/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f65736c696e742d636f6e6669672e737667) |
@saberhq/eslint-config-react |
ESLint config for React projects |
![npm](https://camo.githubusercontent.com/f3d600c0bc2821423593db2e2bcbe16b086fa08e301bffefbfd6573e96913e4b/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f65736c696e742d636f6e6669672d72656163742e737667) |
@saberhq/solana-contrib |
Solana TypeScript utilities |
![npm](https://camo.githubusercontent.com/5850956b65171db00c4c2032ed16241ef48862fa0a74b21554d67f75ef8b86dc/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f736f6c616e612d636f6e747269622e737667) |
@saberhq/stableswap-sdk |
StableSwap SDK |
![npm](https://camo.githubusercontent.com/171ab08de95260392f2c2bc75e9da75e6a576ce9652b29c4c96993c9be313e11/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f737461626c65737761702d73646b2e737667) |
@saberhq/token-utils |
SPL Token arithmetic and types |
![npm](https://camo.githubusercontent.com/01aa5aca68fa739fbc767ab124771bba75746cc3c72c9c2ae089b9ca214d9468/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f40736162657268712f746f6b656e2d7574696c732e737667) |
@saberhq/use-solana |
Solana React library |
![npm](https://camo.githubusercontent.com/f74d1900b4e5fc7416f07e15517c77a2ea8d4e0d4c5b63f6e3a4520553255c94/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