ln-service 57.12.0 → 57.13.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 +6 -0
- package/README.md +12 -0
- package/package.json +5 -4
- package/test/integration/test_subscribe_to_graph.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Versions
|
|
2
2
|
|
|
3
|
+
## 57.13.1
|
|
4
|
+
|
|
5
|
+
- `getWalletInfo`: Add support for LND 0.18.0
|
|
6
|
+
- `subscribeToGraph`: Add support for `inbound_base_discount_mtokens` and
|
|
7
|
+
`inbound_rate_discount`
|
|
8
|
+
|
|
3
9
|
## 57.12.0
|
|
4
10
|
|
|
5
11
|
- `createFundedPsbt`: Add method to create a funded PSBT given inputs/outputs
|
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@ through npm.
|
|
|
9
9
|
|
|
10
10
|
Supported LND versions:
|
|
11
11
|
|
|
12
|
+
- v0.18.0-beta
|
|
12
13
|
- v0.17.0-beta to v0.17.5-beta
|
|
13
14
|
- v0.16.0-beta to v0.16.4-beta
|
|
14
15
|
- v0.15.2-beta to v0.15.5-beta
|
|
@@ -5870,6 +5871,9 @@ Subscribe to graph updates
|
|
|
5870
5871
|
|
|
5871
5872
|
Requires `info:read` permission
|
|
5872
5873
|
|
|
5874
|
+
`inbound_base_discount_mtokens` is not supported on LND 0.17.5 and below
|
|
5875
|
+
`inbound_rate_discount` is not supported on LND 0.17.5 and below
|
|
5876
|
+
|
|
5873
5877
|
{
|
|
5874
5878
|
lnd: <Authenticated LND API Object>
|
|
5875
5879
|
}
|
|
@@ -5887,6 +5891,8 @@ Requires `info:read` permission
|
|
|
5887
5891
|
cltv_delta: <Channel CLTV Delta Number>
|
|
5888
5892
|
fee_rate: <Channel Fee Rate In Millitokens Per Million Number>
|
|
5889
5893
|
id: <Standard Format Channel Id String>
|
|
5894
|
+
inbound_base_discount_mtokens: <Source Specific Base Fee Reduction String>
|
|
5895
|
+
inbound_rate_discount: <Source Specific Per Million Rate Reduction Number>
|
|
5890
5896
|
is_disabled: <Channel Is Disabled Bool>
|
|
5891
5897
|
[max_htlc_mtokens]: <Channel Maximum HTLC Millitokens String>
|
|
5892
5898
|
min_htlc_mtokens: <Channel Minimum HTLC Millitokens String>
|
|
@@ -7699,11 +7705,17 @@ Requires `offchain:write` permission
|
|
|
7699
7705
|
|
|
7700
7706
|
`failures` are not returned on LND 0.13.4 and below
|
|
7701
7707
|
|
|
7708
|
+
`inbound_base_discount_mtokens` is not supported on LND 0.17.5 and below
|
|
7709
|
+
|
|
7710
|
+
`inbound_rate_discount` is not supported on LND 0.17.5 and below
|
|
7711
|
+
|
|
7702
7712
|
{
|
|
7703
7713
|
[base_fee_mtokens]: <Base Fee Millitokens Charged String>
|
|
7704
7714
|
[base_fee_tokens]: <Base Fee Tokens Charged Number>
|
|
7705
7715
|
[cltv_delta]: <HTLC CLTV Delta Number>
|
|
7706
7716
|
[fee_rate]: <Fee Rate In Millitokens Per Million Number>
|
|
7717
|
+
[inbound_base_discount_mtokens]: <Inbound Fee Millitokens Reduction String>
|
|
7718
|
+
[inbound_rate_discount]: <Source Millitokens Per Million Discount Number>
|
|
7707
7719
|
lnd: <Authenticated LND API Object>
|
|
7708
7720
|
[max_htlc_mtokens]: <Maximum HTLC Millitokens to Forward String>
|
|
7709
7721
|
[min_htlc_mtokens]: <Minimum HTLC Millitokens to Forward String>
|
package/package.json
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
"url": "https://github.com/alexbosworth/ln-service/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"bolt07": "1.
|
|
10
|
+
"bolt07": "1.9.0",
|
|
11
11
|
"invoices": "3.0.0",
|
|
12
|
-
"lightning": "10.
|
|
12
|
+
"lightning": "10.13.1",
|
|
13
13
|
"macaroon": "3.0.4"
|
|
14
14
|
},
|
|
15
15
|
"description": "Interaction helper for your Lightning Network daemon",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"bn.js": "5.2.1",
|
|
25
25
|
"bs58check": "3.0.1",
|
|
26
26
|
"ecpair": "2.1.0",
|
|
27
|
-
"ln-docker-daemons": "6.0.
|
|
27
|
+
"ln-docker-daemons": "6.0.17",
|
|
28
28
|
"p2tr": "2.0.0",
|
|
29
29
|
"portfinder": "1.0.32",
|
|
30
30
|
"psbt": "3.0.0",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"url": "https://github.com/alexbosworth/ln-service.git"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
|
+
"integration-test-0.18.0": "DOCKER_LND_VERSION=v0.18.0-beta npm run test",
|
|
55
56
|
"integration-test-0.17.5": "DOCKER_LND_VERSION=v0.17.5-beta npm run test",
|
|
56
57
|
"integration-test-0.17.4": "DOCKER_LND_VERSION=v0.17.4-beta npm run test",
|
|
57
58
|
"integration-test-0.17.3": "DOCKER_LND_VERSION=v0.17.3-beta npm run test",
|
|
@@ -71,5 +72,5 @@
|
|
|
71
72
|
"integration-test-0.14.4": "DOCKER_LND_VERSION=v0.14.4-beta npm run test",
|
|
72
73
|
"test": "echo $DOCKER_LND_VERSION && node test/runner"
|
|
73
74
|
},
|
|
74
|
-
"version": "57.
|
|
75
|
+
"version": "57.13.1"
|
|
75
76
|
}
|
|
@@ -106,6 +106,8 @@ test('Subscribe to channels', async t => {
|
|
|
106
106
|
cltv_delta: policy.cltv_delta,
|
|
107
107
|
fee_rate: policy.fee_rate,
|
|
108
108
|
is_disabled: policy.is_disabled,
|
|
109
|
+
inbound_base_discount_mtokens: policy.inbound_base_discount_mtokens,
|
|
110
|
+
inbound_rate_discount: policy.inbound_rate_discount,
|
|
109
111
|
max_htlc_mtokens: policy.max_htlc_mtokens,
|
|
110
112
|
min_htlc_mtokens: policy.min_htlc_mtokens,
|
|
111
113
|
public_keys: [policy.public_key, peer.public_key],
|