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.8 to 1.0.9

2

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

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