ln-service 57.12.0 → 57.13.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Versions
2
2
 
3
+ ## 57.13.0
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>
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "dependencies": {
10
10
  "bolt07": "1.8.4",
11
11
  "invoices": "3.0.0",
12
- "lightning": "10.12.0",
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.16",
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.12.0"
75
+ "version": "57.13.0"
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],