Feat/privacy mode - #5
Merged
Merged
Conversation
Re-indent the payment-mode and LNURL setup markup to match the 6-space section base indent (with +2 per nesting level) used by the surrounding form. Formatting only; no behavior change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collapse the LNURL label/input pairs back to the single-line style used by the adjacent BOLT12 and password inputs in the same form. Attributes unchanged; no behavior change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Drop the spurious whitespace-only line introduced after getCookie(), restoring a single clean blank line. No behavior change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Re-indent updatePaymentModeUi() and the paymentModeInputs change listener to the 4-space convention used by the surrounding script, drop a trailing space, and restore the blank line separating the DNS field group from the Cloudflare group. No behavior change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Use two blank lines before the newly added get_payment_mode() top-level function, matching the convention used elsewhere in the module. No behavior change. Co-Authored-By: Claude Opus 4.8 (1M context) <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
Adds an optional Privacy Mode to BOLT12 Pay.
When enabled:
Compatibility Mode remains the default and preserves existing behavior.
Motivation
Some users prefer pure BOLT12/BIP353 payment flows and do not want LNURL fallback endpoints exposed, as LNURL may reveal additional node information depending on wallet behavior.
Privacy Mode allows users to opt into a BOLT12-only experience without affecting existing installations.
Tested