js: release bolt12-utils v0.1.2#34
Merged
vincenzopalazzo merged 1 commit intoJun 26, 2026
Merged
Conversation
Bump version 0.1.1 -> 0.1.2 and add a changelog. This release ships the payer-proof data-range TLV handling fix (PR rustyrussell#33): the reader excludes the payer-proof data range (1001..=999_999_999) from invoice merkle reconstruction and rejects unknown even TLVs in that range per the BOLT "it's ok to be odd" rule. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bolt12-utils0.1.1->0.1.2(js/package.json,js/package-lock.json).js/CHANGELOG.md(Keep a Changelog format).This is a release-metadata PR for the payer-proof data-range fix that landed in #33. No code changes beyond the version bump and changelog.
Changelog (0.1.2)
Fixed:
1001..=999_999_999) from invoice merkle reconstruction, so an unknown TLV there is no longer mis-counted as an invoice leaf (which wrongly failed theproof_leaf_hashescount). A record is an invoice field only whentype < 240ortype >= 1_000_000_000, mirroring rust-lightning'stlv_stream_iter.proof_signature.Notes
dist/is gitignored;npm publishregenerates it viaprepublishOnly. The actual npm publish will be done after this merges.v0.1.2tag / npm publish to the release step.Test plan
npm run buildcleannpm test— 53 + 36 + 22 + 3 all passnpm pack --dry-run->bolt12-utils@0.1.2, 52 files, 57.6 kB