This project maintains two parallel versions to support different cryptographic library preferences while moving towards the modern @bsv/sdk.
| Branch | Crypto Lib | Version Range | NPM Tag | Use Case |
|---|---|---|---|---|
master |
bsv2 |
3.x.x |
legacy |
Legacy support, bsv2 compatibility. |
migrate-to-bsv-sdk |
@bsv/sdk |
4.x.x |
latest |
Modern applications, enhanced security. |
When you make a change to the master branch:
- Ensure you are on
master. - Update version (e.g.,
3.1.0):npm version minor
- Publish with the
legacytag:Users can install this via:npm publish --tag legacy
npm install bitbeam@legacyornpm install bitbeam@3.
When you are ready to release the new SDK version:
- Switch to
migrate-to-bsv-sdk. - Set version to
4.0.0(Breaking Change):npm version 4.0.0
- Publish normally (defaults to
latesttag):Users will get this by default via:npm publish
npm install bitbeam.
- Bug Fixes: Critical security fixes should be backported to the
masterbranch when possible. - New Features: New features should primarily target the
migrate-to-bsv-sdkbranch (v4+).