Releases: getAlby/js-sdk
v5.0.0
In this release, we introduce a new LN
class which makes it even easier to get quickly started sending and receiving bitcoin payments. We also add a NWCWalletService
class which allows wallet developers to add NWC support without having to implement the low-level NWC code of creating and signing events, relay connection, etc.
Breaking changes: some imports have been slightly changed.
What's Changed
- feat: add NWC Wallet Service by @rolznz in #346
- feat: add simpler LNClient class by @rolznz in #344
- docs: fix typo in oauth README by @rolznz in #360
- docs: fix more typos by @rolznz in #361
- chore: add missing fees_paid and total_count fields to nwc response types by @rolznz in #339
- chore(deps-dev): bump @types/node from 22.13.5 to 22.13.10 by @dependabot in #341
- chore: rename LNClient
receive
method torequestPayment
by @rolznz in #359 - chore(deps-dev): bump eslint-config-prettier from 10.0.1 to 10.1.2 by @dependabot in #358
- chore(deps-dev): bump typescript from 5.7.3 to 5.8.3 by @dependabot in #354
- chore: bump version to 5.0.0 by @rolznz in #363
Full Changelog: v4.1.1...v5.0.0
v4.1.1
v4.1.0
What's Changed
New features
- feat: NWA by @rolznz in #298
- feat: add sign message method to Alby OAuth Client by @pavanjoshi914 in #323
Misc
- fix: nwc auth docs, husky commit by @rolznz in #325
- chore: switch to encryption tag from versioning by @im-adithya in #309
- chore(deps-dev): bump @types/node from 22.13.4 to 22.13.5 by @dependabot in #327
- chore(deps-dev): bump ts-jest from 29.2.5 to 29.2.6 by @dependabot in #328
- chore(deps-dev): bump @commitlint/config-conventional from 19.6.0 to 19.7.1 by @dependabot in #326
- chore(deps-dev): bump @commitlint/cli from 19.4.1 to 19.7.1 by @dependabot in #316
- chore: bump version to 4.1.0 by @rolznz in #330
Full Changelog: v4.0.0...v4.1.0
v4.0.0
In this release the NWC deeplink flow is improved to better support different kinds of http-accessible wallets.
We also remove a dependency on an ESM event emitter package which was causing build errors in some projects.
Breaking Changes
Many deprecated methods since 3.x have now been removed. Please see this commit for more details in case you have trouble updating, or create an issue if you need help.
What's Changed
New features
- feat: new NWC deeplink flow to support other relays and wallet pubkeys by @rolznz in #297
- feat: add custom-timeout-values-for-requester-method by @Dayvvo in #299
- feat: custom EventEmitter classes by @pavanjoshi914 in #308
- feat: add optional metadata field to get_info response by @rolznz in #287
Misc
- docs: Update README.md by @pratik227 in #311
- chore(deps-dev): bump husky from 8.0.3 to 9.1.7 by @dependabot in #301
- chore(deps-dev): bump ts-node from 10.9.1 to 10.9.2 by @dependabot in #290
- docs: Update readme by @pratik227 and @rolznz in #313
- chore(deps-dev): bump eslint-config-prettier from 9.0.0 to 10.0.1 by @dependabot in #294
- chore(deps-dev): bump ts-jest from 29.1.1 to 29.2.5 by @dependabot in #292
- chore(deps-dev): bump @types/node from 20.8.6 to 22.13.4 by @dependabot in #310
- chore: fix default auth URLs by @rolznz in #319
- chore(deps-dev): bump prettier from 3.4.1 to 3.5.1 by @dependabot in #318
- chore(deps-dev): bump lint-staged from 15.2.10 to 15.4.3 by @dependabot in #317
- chore: remove unused browserify dependency by @rolznz in #321
- chore: update version in readme to 4.0.0 by @rolznz in #322
New Contributors
- @pratik227 made their first contribution in #311
- @Dayvvo made their first contribution in #299
Full Changelog: v3.9.0...v4.0.0
v3.9.0
What's Changed
- feat: add nip 44 and versioning support by @im-adithya in #273
- chore(deps-dev): bump typescript from 5.5.4 to 5.7.3 by @dependabot in #285
- chore(deps-dev): bump @getalby/lightning-tools from 5.0.1 to 5.1.2 by @dependabot in #282
- chore(deps-dev): bump express from 4.21.1 to 4.21.2 by @dependabot in #283
- chore(deps): bump nanoid from 3.3.6 to 3.3.8 by @dependabot in #279
- chore(deps-dev): bump @commitlint/config-conventional from 19.4.1 to 19.6.0 by @dependabot in #280
Full Changelog: v3.8.2...v3.9.0
v3.8.2
v3.8.1
What's Changed
- chore(deps): update nostr-tools package by @im-adithya in #275
Full Changelog: v3.8.0...v3.8.1
v3.8.0
What's Changed
New features
- feat: add get_budget to NWCClient by @rolznz in #264
- feat: allow passing metadata in nwc pay_invoice and multi_pay_invoice by @rolznz in #270
Fixes
- feat: event emitter that works in browser by @pavanjoshi914 in #267
Misc
- chore(deps-dev): bump prettier from 3.0.2 to 3.4.1 by @dependabot in #271
- chore(deps-dev): bump lint-staged from 15.0.1 to 15.2.10 by @dependabot in #246
- chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in #268
- chore(deps): bump elliptic from 6.5.7 to 6.6.1 by @dependabot in #272
- chore(deps-dev): bump @types/jest from 29.5.5 to 29.5.14 by @dependabot in #265
- chore(deps): bump rollup from 2.79.1 to 2.79.2 by @dependabot in #260
- chore(deps-dev): bump express from 4.19.2 to 4.21.1 by @dependabot in #262
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.21.0 to 7.0.0 by @dependabot in #248
- chore: bump version by @rolznz in #274
Full Changelog: v3.7.1...v3.8.0
v3.7.1
v3.7.0
What's Changed
- feat: parse nwc url lud16 by @rolznz in #235
- feat: add metadata field to make_invoice by @rolznz in #232
Dependency Updates
- chore(deps-dev): bump @commitlint/config-conventional from 17.7.0 to 19.4.1 by @dependabot in #236
- chore(deps): bump elliptic from 6.5.4 to 6.5.7 by @dependabot in #241
- chore(deps-dev): bump typescript from 5.1.6 to 5.5.4 by @dependabot in #243
- chore(deps-dev): bump express from 4.18.2 to 4.19.2 by @dependabot in #237
- chore: add lud16 property to nwc client by @rolznz in #244
- chore(deps-dev): bump eslint from 8.47.0 to 8.57.0 by @dependabot in #242
- chore(deps): bump ejs from 3.1.8 to 3.1.10 by @dependabot in #240
- chore(deps): bump es5-ext from 0.10.62 to 0.10.64 by @dependabot in #239
- chore(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in #238
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.4.0 to 6.21.0 by @dependabot in #199
- chore(deps-dev): bump @typescript-eslint/parser from 6.4.0 to 6.21.0 by @dependabot in #198
- chore: bump version by @rolznz in #245
Full Changelog: v3.6.1...v3.7.0