Releases: getAlby/js-lightning-tools
v5.1.2
What's Changed
- fix: decode 0-amount invoices by @rolznz in #181
- chore(deps-dev): bump eslint-config-prettier from 9.0.0 to 9.1.0 by @dependabot in #182
- chore(deps-dev): bump prettier from 3.0.2 to 3.4.2 by @dependabot in #183
- chore(deps-dev): bump husky from 8.0.3 to 9.1.7 by @dependabot in #184
- chore(deps-dev): bump @types/jest from 29.5.13 to 29.5.14 by @dependabot in #185
- chore(deps): bump nanoid from 3.3.6 to 3.3.8 by @dependabot in #187
- chore(deps-dev): bump @types/node from 20.8.2 to 22.10.1 by @dependabot in #186
Full Changelog: v5.1.1...v5.1.2
v5.1.1
What's Changed
- fix: correct readme instructions on how to access fiat methods by @Toheeb-Ojuolape in #173
- chore: migrate to latest version of nostr-tools by @im-adithya in #177
- chore: remove crypto dependency by @im-adithya in #179
- chore(deps-dev): bump typescript from 5.3.3 to 5.7.2 by @dependabot in #175
- chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in #174
- chore(deps-dev): bump ts-jest from 29.1.1 to 29.2.5 by @dependabot in #166
- chore(deps-dev): bump @typescript-eslint/parser from 6.4.0 to 6.21.0 by @dependabot in #167
- chore(deps-dev): bump lint-staged from 14.0.1 to 15.2.10 by @dependabot in #163
- chore: bump version to 5.1.1 by @rolznz in #180
Full Changelog: v5.1.0...v5.1.1
v5.1.0
What's Changed
New features
- feat: added invoice.hasExpired() by @matjaz in #151
- feat: lud-16 text/email parsing by @matjaz in #149
- feat: lazy parallel loading of lightning address data by @matjaz in #150
Bug fixes
- fix: implement network error handling for verify payment by @Toheeb-Ojuolape in #154
Misc
- chore: update light bolt 11 decoder dependency version by @rolznz in #152
- chore: fix tests failing in node 20 by @rolznz in #156
- chore(deps-dev): bump typescript from 5.1.6 to 5.3.3 by @dependabot in #123
- chore(deps-dev): bump jest and @types/jest by @dependabot in #160
- chore(deps): bump rollup from 2.79.1 to 2.79.2 by @dependabot in #159
- chore(deps): bump ejs from 3.1.8 to 3.1.10 by @dependabot in #157
- chore(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in #158
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.4.0 to 6.21.0 by @dependabot in #144
- chore(deps-dev): bump @commitlint/cli from 17.7.1 to 19.5.0 by @dependabot in #161
- chore: bump version by @rolznz in #162
New Contributors
- @matjaz made their first contribution in #151
- @Toheeb-Ojuolape made their first contribution in #154
Full Changelog: v5.0.3...v5.1.0
v5.0.3
v5.0.2
What's Changed
- fix: typos by @Thabokani in #139
- fix(keysend): don't throw error if no custom key/values exist by @im-adithya in #146
New Contributors
- @Thabokani made their first contribution in #139
Full Changelog: v5.0.1...v5.0.2
v5.0.1
v5.0.0
This release significantly reduces the bundle size by removing the deprecated crypto-js library, removing unnecessary source maps from the build output and replacing browserify with Javascript Modules.
Breaking Changes: Invoice.validatePreimage
, nostr.getEventHash
are now async methods. In NodeJS you may now also need to set a global crypto object. See the README for more details.
What's Changed
Full Changelog: v4.2.1...v5.0.0
v4.2.1
v4.2.0
This release improves the Invoice class with additional invoice decoding (with an example in the README), also some code refactoring and dependency updates.
What's Changed
- feat: basic invoice decoding by @rolznz in #107
- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 by @dependabot in #100
- chore(deps): bump browserify-sign from 4.2.1 to 4.2.2 by @dependabot in #101
- chore(deps): bump @babel/traverse from 7.19.4 to 7.23.2 by @dependabot in #95
- fix: linting errors by @abhiShandy in #84
New Contributors
- @abhiShandy made their first contribution in #84
Full Changelog: v4.1.0...v4.2.0
v4.1.0
This release has some bug fixes and dependency updates, and some internal improvements. It also points lightning tools at new Alby lightning details proxy URL.
What's Changed
- feat: add linters by @pavanjoshi914 in #57
- feat: format files by @pavanjoshi914 in #59
- Fix incorrect usage type by @IroncladDev in #75
- chore: minor improvement by @im-adithya in #71
- chore: update proxy address to api.getalby.com by @im-adithya in #87
- chore(deps-dev): bump lint-staged from 14.0.0 to 14.0.1 by @dependabot in #60
- chore(deps): bump postcss from 8.4.18 to 8.4.31 by @dependabot in #88
- chore(deps-dev): bump @types/node from 18.11.0 to 20.8.2 by @dependabot in #85
- fix: use latest webln if available in globalThis after init by @im-adithya in #96
- chore: bump version to 4.1.0 by @rolznz in #97
New Contributors
- @pavanjoshi914 made their first contribution in #57
- @IroncladDev made their first contribution in #75
Full Changelog: v4.0.2...v4.1.0