Releases: getAlby/js-sdk
Releases · getAlby/js-sdk
v2.7.0
This release adds the ability to use the Alby API to decode invoices. It also has one bugfix to make the preimage field in invoices optional (it won't exist for unsettled invoices, which may be returned in future versions), plus some documentation improvements and dependency updates.
DEPRECATION NOTICE: sendToAlbyAccount has been renamed to sendBoostagramToAlbyAccount.
What's Changed
- feat: decode invoice by @rolznz in #140
- fix: make preimage optional by @rolznz in #136
- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 by @dependabot in #117
- chore(deps): bump browserify-sign from 4.2.1 to 4.2.2 by @dependabot in #118
- chore: fix example NWC URL prompt in examples by @rolznz in #138
- chore: update nostr tools by @rolznz in #137
- chore: rename sendToAlbyAccount to sendBoostagramToAlbyAccount by @rolznz in #139
- chore: add sendToAlbyAccount deprecation console warning by @rolznz in #141
- Update README.md by @itstomekk in #143
- chore: bump version to 2.7.0 by @rolznz in #149
- docs: add invoice decoding section to README by @rolznz in #135
New Contributors
- @itstomekk made their first contribution in #143
Full Changelog: v2.6.0...v2.7.0
v2.6.0
What's Changed
- doc: update NWC docs to mention additional supported webln methods by @rolznz in #128
- docs: add react native project link by @rolznz in #129
- feat: add preimage by @reneaaron in #132
- chore: bump version by @rolznz in #134
Full Changelog: v2.5.0...v2.6.0
v2.5.0
What's Changed
- 🚀 feat: Add
invoices
function that fetchs all invoices(incoming + outgoing) at once by @pavanjoshi914 in #101 - 🔄 chore(deps-dev): bump lint-staged from 13.3.0 to 15.0.1 by https://github.com/dependabot in #103
- 🔄 chore(deps-dev): bump @types/node from 18.11.0 to 20.8.6 by https://github.com/dependabot in #105
- 🔄 chore(deps): bump @babel/traverse from 7.19.4 to 7.23.2 by https://github.com/dependabot in #106
- 🔄 chore(deps): bump postcss from 8.4.18 to 8.4.31 by https://github.com/dependabot in #98
- 🔄 chore: bump jest and jest types by @pavanjoshi914 in #107
- 🔄 chore: bump js-sdk version by @pavanjoshi914 in #108
Full Changelog: v2.4.0...v2.5.0
v2.4.0
What's Changed
This release includes a fix for the breaking change in the NWC getBalance RPC method (not yet part of NIP-47)
- feat: add lookup invoice to nwc webln provider by @rolznz in #73
- fix: use msat for makeInvoice by @rolznz in #70
- feat: convert balance from msat by @rolznz in #82
- chore: bump version by @rolznz in #83
Full Changelog: v2.3.0...v2.4.0
v2.3.0
What's Changed
- 🐛 fix: Improved
buildQueryString
function to filter out empty parameter entries when generating query strings by @rolznz in #39 - 🐛 fix: Add checks, if
client_secret
orcode_verifier
is provided or not by @rolznz in #40 - 🚀 feat: Add events system to subscribe to the automatic token refresh happening in the library via
tokenRefreshed
andtokenRefreshFailed
events by @pavanjoshi914 in #42 - 🚀 feat: Add
makeInvoice
function to allow creation of invoice inNostrWeblnProvider
by @rolznz in #67 - 🚀 feat: Add linters (prettier, eslint), add husky and precommit hooks along with custom npm scripts and serialization config for eslint and prettier by @pavanjoshi914 in #60
- 🔄 chore: Format codebase via prettier by @pavanjoshi914 in #68
- 🔄 chore: Example code indicating use case of
get-balance
andmake-invoice
by @rolznz in #59 - 🔄 chore: Bump version by @pavanjoshi914 in #81
Full Changelog: v2.2.3...v2.3.0
Patch: NWC getBalance response type
NWC getBalance
What's Changed
- feat: add getbalance to nwc provider by @im-adithya in #35
- chore: bump version by @rolznz in #61
Full Changelog: v2.2.1...v2.2.2
Fix: default condition should be last one
Merge pull request #58 from getAlby/chore/bump-version chore: bump version
v2.2.0
What's Changed
- browserify by @bumi in #29
- feat: make alby oauth url customizable by @pavanjoshi914 in #37
- fix: fix nostr tools version by @rolznz in #41
- chore: rename alby js sdk package by @rolznz in #36
- feat: add publish by @reneaaron in #44
- feat: ci by @reneaaron in #46
- chore(deps-dev): bump ts-jest from 29.1.0 to 29.1.1 by @dependabot in #51
- chore(deps): bump loader-utils from 3.2.0 to 3.2.1 by @dependabot in #48
- chore(deps): bump json5 from 2.2.1 to 2.2.3 by @dependabot in #49
- chore(deps): bump semver from 6.3.0 to 6.3.1 by @dependabot in #47
- feat: swaps by @reneaaron in #33
New Contributors
- @pavanjoshi914 made their first contribution in #37
- @reneaaron made their first contribution in #44
- @dependabot made their first contribution in #51
Full Changelog: v2.1.0...v2.2.0
v2.0.0
What's Changed
- add Nostr Wallet Connect WebLN provider
- add Alby webhook api methods
- BREAKING CHANGE: Remove cross-fetch. Cross-fetch is unmaintained and breaks in serverless and service worker environments. If you do not have a global fetch, please add a polyfill (see the README for more info)
Full Changelog: v1.3.0...v2.0.0