@webbtc/webln-types
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "@webbtc/webln-types", | ||
"description": "Type definitions for WebLN", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"types": "types/index.d.ts", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -15,3 +15,3 @@ # webln-types | ||
2. Type definitions are now available through `window.webln` and importing from `"@webbtc/webln-types"` | ||
2. Type definitions are now available for `window.webln` and by importing from `"@webbtc/webln-types"` | ||
@@ -18,0 +18,0 @@ ```javascript |
@@ -66,3 +66,2 @@ // Workaround for code completion to account for values this library doesn't know about yet. | ||
getInfo(): Promise<GetInfoResponse>; | ||
sendPayment(paymentRequest: string): Promise<SendPaymentResponse>; | ||
keysend(args: KeysendArgs): Promise<SendPaymentResponse>; | ||
@@ -72,5 +71,6 @@ makeInvoice( | ||
): Promise<RequestInvoiceResponse>; | ||
request(method: RequestMethod, args?: unknown): Promise<unknown>; | ||
sendPayment(paymentRequest: string): Promise<SendPaymentResponse>; | ||
signMessage(message: string): Promise<SignMessageResponse>; | ||
verifyMessage(signature: string, message: string): Promise<void>; | ||
request(method: RequestMethod, args?: unknown): Promise<unknown>; | ||
} | ||
@@ -77,0 +77,0 @@ |
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
5308