Skip to content

Commit

Permalink
feat: add metadata field to make_invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jul 27, 2024
1 parent 1621456 commit 7ed1453
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/NWCClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export type Nip47MakeInvoiceRequest = {
description?: string;
description_hash?: string;
expiry?: number; // in seconds
metadata?: unknown;
};

export type Nip47LookupInvoiceRequest = {
Expand Down

0 comments on commit 7ed1453

Please sign in to comment.