ln-service 53.10.0 → 53.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/README.md +14 -6
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -4621,10 +4621,14 @@ const {transaction} = await signPsbt({lnd, psbt});
|
|
|
4621
4621
|
|
|
4622
4622
|
Sign transaction
|
|
4623
4623
|
|
|
4624
|
-
|
|
4624
|
+
`spending` is required for non-internal inputs for a Taproot signature
|
|
4625
|
+
|
|
4626
|
+
Requires LND built with `signrpc` build tag
|
|
4625
4627
|
|
|
4626
4628
|
Requires `signer:generate` permission
|
|
4627
4629
|
|
|
4630
|
+
`spending` is not supported in LND 0.14.3 and below
|
|
4631
|
+
|
|
4628
4632
|
{
|
|
4629
4633
|
inputs: [{
|
|
4630
4634
|
key_family: <Key Family Number>
|
|
@@ -4636,14 +4640,13 @@ Requires `signer:generate` permission
|
|
|
4636
4640
|
witness_script: <Witness Script Hex String>
|
|
4637
4641
|
}]
|
|
4638
4642
|
lnd: <Authenticated LND API Object>
|
|
4643
|
+
[spending]: [{
|
|
4644
|
+
output_script: <Non-Internal Spend Output Script Hex String>
|
|
4645
|
+
output_tokens: <Non-Internal Spend Output Tokens Number>
|
|
4646
|
+
}]
|
|
4639
4647
|
transaction: <Unsigned Transaction Hex String>
|
|
4640
4648
|
}
|
|
4641
4649
|
|
|
4642
|
-
@returns via cbk or Promise
|
|
4643
|
-
{
|
|
4644
|
-
signatures: [<Signature Hex String>]
|
|
4645
|
-
}
|
|
4646
|
-
|
|
4647
4650
|
Example:
|
|
4648
4651
|
|
|
4649
4652
|
```node
|
|
@@ -4790,10 +4793,15 @@ Subscribe to confirmations of a spend
|
|
|
4790
4793
|
|
|
4791
4794
|
A chain address or raw output script is required
|
|
4792
4795
|
|
|
4796
|
+
When specifying a P2TR output script, `transaction_id` and `transaction_vout`
|
|
4797
|
+
are required.
|
|
4798
|
+
|
|
4793
4799
|
Requires LND built with `chainrpc` build tag
|
|
4794
4800
|
|
|
4795
4801
|
Requires `onchain:read` permission
|
|
4796
4802
|
|
|
4803
|
+
Subscribing to P2TR outputs is not supported in LND 0.14.3 and below
|
|
4804
|
+
|
|
4797
4805
|
{
|
|
4798
4806
|
[bech32_address]: <Bech32 P2WPKH or P2WSH Address String>
|
|
4799
4807
|
lnd: <Authenticated LND API Object>
|
package/package.json
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"url": "https://github.com/alexbosworth/ln-service/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"bolt07": "1.8.
|
|
10
|
+
"bolt07": "1.8.1",
|
|
11
11
|
"cors": "2.8.5",
|
|
12
12
|
"express": "4.17.3",
|
|
13
|
-
"invoices": "2.0.
|
|
14
|
-
"lightning": "5.
|
|
13
|
+
"invoices": "2.0.5",
|
|
14
|
+
"lightning": "5.10.1",
|
|
15
15
|
"macaroon": "3.0.4",
|
|
16
16
|
"morgan": "1.10.0",
|
|
17
17
|
"ws": "8.5.0"
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"@alexbosworth/tap": "15.0.11",
|
|
22
22
|
"@alexbosworth/node-fetch": "2.6.2",
|
|
23
23
|
"async": "3.2.3",
|
|
24
|
-
"asyncjs-util": "1.2.
|
|
24
|
+
"asyncjs-util": "1.2.9",
|
|
25
25
|
"bip32": "3.0.1",
|
|
26
26
|
"bip66": "1.1.5",
|
|
27
27
|
"bitcoinjs-lib": "6.0.1",
|
|
28
28
|
"bn.js": "5.2.0",
|
|
29
29
|
"bs58check": "2.1.2",
|
|
30
30
|
"ecpair": "2.0.1",
|
|
31
|
-
"ln-docker-daemons": "2.2.
|
|
32
|
-
"p2tr": "1.3.
|
|
31
|
+
"ln-docker-daemons": "2.2.7",
|
|
32
|
+
"p2tr": "1.3.1",
|
|
33
33
|
"portfinder": "1.0.28",
|
|
34
|
-
"psbt": "2.0.
|
|
34
|
+
"psbt": "2.0.1",
|
|
35
35
|
"rimraf": "3.0.2",
|
|
36
36
|
"secp256k1": "4.0.3",
|
|
37
37
|
"tiny-secp256k1": "2.2.1",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"integration-test-0.12.0": "DOCKER_LND_VERSION=v0.12.0-beta npm run test",
|
|
70
70
|
"test": "echo $DOCKER_LND_VERSION && tap -j 2 --branches=1 --functions=1 --lines=1 --statements=1 -t 200 test/autopilotrpc-integration/*.js test/chainrpc-integration/*.js test/integration/*.js test/invoicesrpc-integration/*.js test/routerrpc-integration/*.js test/signerrpc-integration/*.js test/tower_clientrpc-integration/*.js test/tower_serverrpc-integration/*.js test/walletrpc-integration/*.js"
|
|
71
71
|
},
|
|
72
|
-
"version": "53.
|
|
72
|
+
"version": "53.11.0"
|
|
73
73
|
}
|