diff --git a/src/webln/NostrWeblnProvider.ts b/src/webln/NostrWeblnProvider.ts index afe4dd3..a062ee1 100644 --- a/src/webln/NostrWeblnProvider.ts +++ b/src/webln/NostrWeblnProvider.ts @@ -298,6 +298,17 @@ export class NostrWebLNProvider implements WebLNProvider, Nip07Provider { return result; } + async sendPaymentAsync(invoice: string): Promise> { + await this.checkEnabled(); + + // don't wait for the response' + this.client.payInvoice({ invoice }); + + this.notify("sendPaymentAsync", {}); + + return {}; + } + async keysend(args: KeysendArgs): Promise { await this.checkEnabled();