Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ln-service

Package Overview
Dependencies
Maintainers
1
Versions
517
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ln-service - npm Package Compare versions

Comparing version 57.11.0 to 57.12.0

test/walletrpc-integration/test_create_funded_psbt.js

4

CHANGELOG.md
# Versions
## 57.12.0
- `createFundedPsbt`: Add method to create a funded PSBT given inputs/outputs
## 57.11.0

@@ -4,0 +8,0 @@

@@ -13,2 +13,3 @@ const {addAdvertisedFeature} = require('lightning');

const {createChainAddress} = require('lightning');
const {createFundedPsbt} = require('lightning');
const {createHodlInvoice} = require('lightning');

@@ -178,2 +179,3 @@ const {createInvoice} = require('lightning');

createChainAddress,
createFundedPsbt,
createHodlInvoice,

@@ -180,0 +182,0 @@ createInvoice,

8

package.json

@@ -12,3 +12,3 @@ {

"invoices": "3.0.0",
"lightning": "10.11.0",
"lightning": "10.12.0",
"macaroon": "3.0.4"

@@ -28,7 +28,7 @@ },

"ecpair": "2.1.0",
"ln-docker-daemons": "6.0.15",
"ln-docker-daemons": "6.0.16",
"p2tr": "2.0.0",
"portfinder": "1.0.32",
"psbt": "3.0.0",
"rimraf": "5.0.5",
"rimraf": "5.0.7",
"secp256k1": "5.0.0",

@@ -76,3 +76,3 @@ "tiny-secp256k1": "2.2.3",

},
"version": "57.11.0"
"version": "57.12.0"
}

@@ -68,9 +68,2 @@ const {equal} = require('node:assert').strict;

const onlyAfter = await getChainTransactions({
lnd,
after: tx.confirmation_height,
});
equal(onlyAfter.transactions.length, [].length, 'No txs after');
const onlyBefore = await getChainTransactions({lnd, before: 2});

@@ -77,0 +70,0 @@

@@ -50,2 +50,4 @@ const {strictEqual} = require('node:assert').strict;

await generate({});
const heights = await asyncMap(lnds, async lnd => {

@@ -52,0 +54,0 @@ return (await getHeight({lnd})).current_block_height;

@@ -36,10 +36,20 @@ const {deepEqual} = require('node:assert').strict;

await target.generate({count: maturity});
const controlToTargetChan = await setupChannel({generate, lnd, to: target});
const targetToRemoteChan = await setupChannel({
generate: target.generate,
lnd: target.lnd,
to: remote,
await generate({});
await asyncRetry({interval, times}, async () => {
await generate({});
await addPeer({
lnd: target.lnd,
public_key: remote.id,
socket: remote.socket,
});
const targetToRemoteChan = await setupChannel({
generate: target.generate,
lnd: target.lnd,
to: remote,
});
});

@@ -46,0 +56,0 @@

Sorry, the diff of this file is too big to display

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