ln-service 54.2.0 → 54.2.1
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
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Versions
|
|
2
2
|
|
|
3
|
+
## 54.2.1
|
|
4
|
+
|
|
5
|
+
- `getWalletInfo`: Add support for LND 0.15.2
|
|
6
|
+
|
|
7
|
+
- Due to LND chain sync failure prior to LND 0.15.2, those versions are no
|
|
8
|
+
longer supported
|
|
9
|
+
|
|
3
10
|
## 54.2.0
|
|
4
11
|
|
|
5
12
|
- `openChannel`, `openChannels`: Add `base_fee_mtokens`, `fee_rate` to set
|
package/README.md
CHANGED
|
@@ -9,10 +9,7 @@ through npm.
|
|
|
9
9
|
|
|
10
10
|
Supported LND versions:
|
|
11
11
|
|
|
12
|
-
- v0.15.
|
|
13
|
-
- v0.14.0-beta to v0.14.3-beta
|
|
14
|
-
- v0.13.0-beta to v0.13.4-beta
|
|
15
|
-
- v0.12.0-beta to v0.12.1-beta
|
|
12
|
+
- v0.15.2-beta
|
|
16
13
|
|
|
17
14
|
For typescript-ready methods, check out https://github.com/alexbosworth/lightning#readme
|
|
18
15
|
|
|
@@ -3571,8 +3568,8 @@ If give_tokens is set, it is a gift and it does not alter the capacity
|
|
|
3571
3568
|
|
|
3572
3569
|
Requires `offchain:write`, `onchain:write`, `peers:write` permissions
|
|
3573
3570
|
|
|
3574
|
-
`base_fee_mtokens` is not supported on LND 0.15.
|
|
3575
|
-
`fee_rate` is not supported on LND 0.15.
|
|
3571
|
+
`base_fee_mtokens` is not supported on LND 0.15.3 and below
|
|
3572
|
+
`fee_rate` is not supported on LND 0.15.3 and below
|
|
3576
3573
|
|
|
3577
3574
|
{
|
|
3578
3575
|
[base_fee_mtokens]: <Routing Base Fee Millitokens Charged String>
|
|
@@ -3624,8 +3621,8 @@ after the funding step.
|
|
|
3624
3621
|
`--protocol.option-scid-alias` and `--protocol.zero-conf` set on both sides
|
|
3625
3622
|
as well as a channel open request listener to accept the trusted funding.
|
|
3626
3623
|
|
|
3627
|
-
`base_fee_mtokens` is not supported on LND 0.15.
|
|
3628
|
-
`fee_rate` is not supported on LND 0.15.
|
|
3624
|
+
`base_fee_mtokens` is not supported on LND 0.15.3 and below
|
|
3625
|
+
`fee_rate` is not supported on LND 0.15.3 and below
|
|
3629
3626
|
|
|
3630
3627
|
{
|
|
3631
3628
|
channels: [{
|
|
@@ -6271,7 +6268,7 @@ Subscribe to outgoing payments
|
|
|
6271
6268
|
|
|
6272
6269
|
Requires `offchain:read` permission
|
|
6273
6270
|
|
|
6274
|
-
Note: Method not supported on LND 0.15.
|
|
6271
|
+
Note: Method not supported on LND 0.15.3 and below
|
|
6275
6272
|
|
|
6276
6273
|
{
|
|
6277
6274
|
lnd: <Authenticated LND API Object>
|
package/package.json
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"bolt07": "1.8.2",
|
|
11
11
|
"cors": "2.8.5",
|
|
12
|
-
"express": "4.18.
|
|
12
|
+
"express": "4.18.2",
|
|
13
13
|
"invoices": "2.2.0",
|
|
14
|
-
"lightning": "6.2.
|
|
14
|
+
"lightning": "6.2.2",
|
|
15
15
|
"macaroon": "3.0.4",
|
|
16
16
|
"morgan": "1.10.0",
|
|
17
17
|
"ws": "8.9.0"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"bn.js": "5.2.1",
|
|
29
29
|
"bs58check": "2.1.2",
|
|
30
30
|
"ecpair": "2.1.0",
|
|
31
|
-
"ln-docker-daemons": "3.1.
|
|
31
|
+
"ln-docker-daemons": "3.1.1",
|
|
32
32
|
"p2tr": "1.3.2",
|
|
33
33
|
"portfinder": "1.0.32",
|
|
34
34
|
"psbt": "2.7.1",
|
|
@@ -56,20 +56,8 @@
|
|
|
56
56
|
"url": "https://github.com/alexbosworth/ln-service.git"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
|
-
"integration-test-0.15.
|
|
60
|
-
"integration-test-0.15.0": "DOCKER_LND_VERSION=v0.15.0-beta npm run test",
|
|
61
|
-
"integration-test-0.14.3": "DOCKER_LND_VERSION=v0.14.3-beta npm run test",
|
|
62
|
-
"integration-test-0.14.2": "DOCKER_LND_VERSION=v0.14.2-beta npm run test",
|
|
63
|
-
"integration-test-0.14.1": "DOCKER_LND_VERSION=v0.14.1-beta npm run test",
|
|
64
|
-
"integration-test-0.14.0": "DOCKER_LND_VERSION=v0.14.0-beta npm run test",
|
|
65
|
-
"integration-test-0.13.4": "DOCKER_LND_VERSION=v0.13.4-beta npm run test",
|
|
66
|
-
"integration-test-0.13.3": "DOCKER_LND_VERSION=v0.13.3-beta npm run test",
|
|
67
|
-
"integration-test-0.13.2": "DOCKER_LND_VERSION=v0.13.2-beta npm run test",
|
|
68
|
-
"integration-test-0.13.1": "DOCKER_LND_VERSION=v0.13.1-beta npm run test",
|
|
69
|
-
"integration-test-0.13.0": "DOCKER_LND_VERSION=v0.13.0-beta npm run test",
|
|
70
|
-
"integration-test-0.12.1": "DOCKER_LND_VERSION=v0.12.1-beta npm run test",
|
|
71
|
-
"integration-test-0.12.0": "DOCKER_LND_VERSION=v0.12.0-beta npm run test",
|
|
59
|
+
"integration-test-0.15.2": "DOCKER_LND_VERSION=v0.15.2-beta npm run test",
|
|
72
60
|
"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/peersrpc-integration/*.js test/routerrpc-integration/*.js test/signerrpc-integration/*.js test/tower_clientrpc-integration/*.js test/tower_serverrpc-integration/*.js test/walletrpc-integration/*.js"
|
|
73
61
|
},
|
|
74
|
-
"version": "54.2.
|
|
62
|
+
"version": "54.2.1"
|
|
75
63
|
}
|
|
@@ -66,7 +66,7 @@ test(`Open channel`, async ({end, equal}) => {
|
|
|
66
66
|
|
|
67
67
|
const policy = policies.find(n => n.public_key === id);
|
|
68
68
|
|
|
69
|
-
// LND 0.15.
|
|
69
|
+
// LND 0.15.3 and below do not support setting fees on open
|
|
70
70
|
if (policy.base_fee_mtokens === defaultBaseFee) {
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
@@ -139,7 +139,7 @@ test(`Open channels`, async ({end, equal}) => {
|
|
|
139
139
|
|
|
140
140
|
const policy = policies.find(n => !!n.cltv_delta);
|
|
141
141
|
|
|
142
|
-
// LND 0.15.
|
|
142
|
+
// LND 0.15.3 and below do not support setting fees on open
|
|
143
143
|
if (policy.base_fee_mtokens === defaultBaseFee) {
|
|
144
144
|
return;
|
|
145
145
|
}
|
|
@@ -43,7 +43,7 @@ test(`Subscribe to payments`, async ({end, rejects, strictSame}) => {
|
|
|
43
43
|
sub.on('error', error => {
|
|
44
44
|
const [,, {err}] = error;
|
|
45
45
|
|
|
46
|
-
// subscribeToPayments is not supported on LND 0.15.
|
|
46
|
+
// subscribeToPayments is not supported on LND 0.15.3 and below
|
|
47
47
|
if (err.details === unsupported) {
|
|
48
48
|
return isLegacy.push(error);
|
|
49
49
|
}
|