🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@getalby/cli

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getalby/cli - npm Package Compare versions

Comparing version
0.2.2
to
0.2.3
+6
-7
build/tools/lightning/fetch_l402.js

@@ -16,10 +16,9 @@ import { fetchWithL402 } from "@getalby/lightning-tools";

}
const webln = {
sendPayment: async (invoice) => {
const result = await client.payInvoice({ invoice });
return { preimage: result.preimage };
const result = await fetchWithL402(params.url, requestOptions, {
wallet: {
sendPayment: async (invoice) => {
const result = await client.payInvoice({ invoice });
return { preimage: result.preimage };
},
},
};
const result = await fetchWithL402(params.url, requestOptions, {
webln: webln,
});

@@ -26,0 +25,0 @@ const responseContent = await result.text();

@@ -5,3 +5,3 @@ {

"repository": "https://github.com/getAlby/cli.git",
"version": "0.2.2",
"version": "0.2.3",
"type": "module",

@@ -38,3 +38,3 @@ "main": "build/index.js",

"dependencies": {
"@getalby/lightning-tools": "^6.1.0",
"@getalby/lightning-tools": "^7.0.2",
"@getalby/sdk": "^7.0.0",

@@ -41,0 +41,0 @@ "commander": "^13.1.0"