Skip to content

Releases: getAlby/js-sdk

v5.0.0

14 Apr 13:32
fbcd95b
Compare
Choose a tag to compare

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 to requestPayment 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

03 Mar 14:12
745f1c9
Compare
Choose a tag to compare

What's Changed

  • fix: re-subscribe after relay disconnections in NWAClient by @rolznz in #331

Full Changelog: v4.1.0...v4.1.1

v4.1.0

03 Mar 05:26
7431e39
Compare
Choose a tag to compare

What's Changed

New features

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

19 Feb 08:55
2be1bbf
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v3.9.0...v4.0.0

v3.9.0

13 Jan 07:24
943acf3
Compare
Choose a tag to compare

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

07 Dec 05:40
c8c6b5d
Compare
Choose a tag to compare

What's Changed

  • feat: add state property to Nip47Transaction by @rolznz in #278

Full Changelog: v3.8.1...v3.8.2

v3.8.1

06 Dec 08:36
6058e0c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.8.0...v3.8.1

v3.8.0

29 Nov 19:11
bb3911f
Compare
Choose a tag to compare

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

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

11 Sep 16:34
6e30a3a
Compare
Choose a tag to compare

What's Changed

  • docs: add NWCClient to README by @rolznz in #252
  • fix: make notifications optional in info response by @rolznz in #254
  • fix: add custom error for nwc relay connection by @rolznz in #253

Full Changelog: v3.7.0...v3.7.1

v3.7.0

01 Sep 08:51
830626c
Compare
Choose a tag to compare

What's Changed

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