Socket
Socket
Sign inDemoInstall

@webbtc/webln-types

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webbtc/webln-types - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc