ln-service 54.2.3 → 54.2.4

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,6 +1,6 @@
1
1
  # Versions
2
2
 
3
- ## 54.2.3
3
+ ## 54.2.4
4
4
 
5
5
  - `getWalletInfo`: Add support for LND 0.15.3
6
6
 
package/README.md CHANGED
@@ -5463,7 +5463,10 @@ Subscribe to invoices
5463
5463
  Requires `invoices:read` permission
5464
5464
 
5465
5465
  {
5466
+ [added_after]: <Invoice Added After Index Number>
5467
+ [confirmed_after]: <Invoice Confirmed After Index Number>
5466
5468
  lnd: <Authenticated LND API Object>
5469
+ [restart_delay_ms]: <Restart Subscription Delay Milliseconds Number>
5467
5470
  }
5468
5471
 
5469
5472
  @throws
package/package.json CHANGED
@@ -11,10 +11,10 @@
11
11
  "cors": "2.8.5",
12
12
  "express": "4.18.2",
13
13
  "invoices": "2.2.0",
14
- "lightning": "6.2.4",
14
+ "lightning": "6.2.5",
15
15
  "macaroon": "3.0.4",
16
16
  "morgan": "1.10.0",
17
- "ws": "8.9.0"
17
+ "ws": "8.10.0"
18
18
  },
19
19
  "description": "Interaction helper for your Lightning Network daemon",
20
20
  "devDependencies": {
@@ -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.2",
31
+ "ln-docker-daemons": "3.1.3",
32
32
  "p2tr": "1.3.2",
33
33
  "portfinder": "1.0.32",
34
34
  "psbt": "2.7.1",
@@ -61,5 +61,5 @@
61
61
  "integration-test-0.14.4": "DOCKER_LND_VERSION=v0.14.4-beta npm run test",
62
62
  "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"
63
63
  },
64
- "version": "54.2.3"
64
+ "version": "54.2.4"
65
65
  }
@@ -38,7 +38,10 @@ test(`Disconnect watchtower`, async ({end, equal, match}) => {
38
38
 
39
39
  const [disconnected] = (await getConnectedWatchtowers({lnd})).towers;
40
40
 
41
- equal(disconnected.is_active, false, 'Tower is inactive');
41
+ // LND 0.15.3 and below retain the tower
42
+ if (!!disconnected) {
43
+ equal(disconnected.is_active, false, 'Tower is inactive');
44
+ }
42
45
 
43
46
  [client, tower].forEach(n => n.kill());
44
47