@webbtc/webln-types
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "@webbtc/webln-types", | ||
"description": "Type definitions for WebLN", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"types": "types/index.d.ts", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -63,2 +63,9 @@ // Workaround for code completion to account for values this library doesn't know about yet. | ||
} | ||
type LNURLResponse = | ||
| { | ||
status: "OK"; | ||
} | ||
| { status: "ERROR"; reason: string }; | ||
interface WebLNProvider { | ||
@@ -68,2 +75,3 @@ enable(): Promise<{ enabled: boolean; remember: boolean }>; | ||
keysend(args: KeysendArgs): Promise<SendPaymentResponse>; | ||
lnurl(lnurl: string): Promise<LNURLResponse>; | ||
makeInvoice( | ||
@@ -70,0 +78,0 @@ args: string | number | RequestInvoiceArgs |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5173
94