Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add LNURL verify #10

Merged
merged 2 commits into from
Dec 9, 2024
Merged

feat: add LNURL verify #10

merged 2 commits into from
Dec 9, 2024

Conversation

im-adithya
Copy link
Member

@im-adithya im-adithya commented Nov 23, 2024

Description

Fixes #2

  • Adds LNURL verify at /lnurlp/:username/verify/:payment_hash
  • The callback URL is shifted from /.well-known/lnurlp/:username/callback to /lnurlp/:username/callback
  • Context type is added to avoid ts errors
  • DEBUG is capitalized as LevelName type is defined as type LevelName = "NOTSET" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "CRITICAL"

src/lnurlp.ts Show resolved Hide resolved
src/lnurlp.ts Outdated Show resolved Hide resolved
src/lnurlp.ts Show resolved Hide resolved
@bumi
Copy link

bumi commented Nov 27, 2024

lgtm

Copy link
Collaborator

@rolznz rolznz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice branch name 😆

utACK

@im-adithya im-adithya merged commit 10a2416 into master Dec 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support LNURL-verify
3 participants