Skip to content

Commit

Permalink
chore: update LNURLPayServiceResponse type
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Nov 5, 2024
1 parent 31845d4 commit d9c4a71
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions lib/lnurl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ export interface LNURLPayServiceResponse {
metadata: string; // Metadata json which must be presented as raw string here, this is required to pass signature verification at a later step
tag: "payRequest"; // Type of LNURL
payerData?: {
name: { mandatory: boolean };
pubkey: { mandatory: boolean };
identifier: { mandatory: boolean };
email: { mandatory: boolean };
auth: { mandatory: boolean; k1: string };
name?: { mandatory: boolean };
pubkey?: { mandatory: boolean };
identifier?: { mandatory: boolean };
email?: { mandatory: boolean };
auth?: { mandatory: boolean; k1: string };
};
commentAllowed?: number;
url: string;
allowsNostr?: boolean;
nostrPubkey?: string;
}

export interface LNURLWithdrawServiceResponse {
Expand Down

0 comments on commit d9c4a71

Please sign in to comment.