Skip to content

Releases: getAlby/js-sdk

v2.7.0

23 Nov 09:08
1294131
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v2.6.0...v2.7.0

v2.6.0

16 Nov 16:37
a3b253c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.0...v2.6.0

v2.5.0

17 Oct 10:29
2991b04
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.4.0...v2.5.0

v2.4.0

02 Sep 02:03
9f65d52
Compare
Choose a tag to compare

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

28 Aug 11:39
332682d
Compare
Choose a tag to compare

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 or code_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 and tokenRefreshFailed events by @pavanjoshi914 in #42
  • 🚀 feat: Add makeInvoice function to allow creation of invoice in NostrWeblnProvider 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 and make-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

12 Aug 03:35
23653f4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.2...v2.2.3

NWC getBalance

12 Aug 03:29
dfa9d4c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.1...v2.2.2

Fix: default condition should be last one

10 Aug 06:07
f92ba8b
Compare
Choose a tag to compare
Merge pull request #58 from getAlby/chore/bump-version

chore: bump version

v2.2.0

09 Aug 11:38
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.0.0

05 Jun 05:11
Compare
Choose a tag to compare

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