ln-service 54.3.1 → 54.3.2

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.3.1
3
+ ## 54.3.2
4
4
 
5
5
  - `createUnsignedRequest`: Fix support for empty description requests
6
6
 
package/README.md CHANGED
@@ -199,7 +199,6 @@ for `unlocker` methods.
199
199
  - [payViaRoutes](#payviaroutes) - Make a payment over specified routes
200
200
  - [prepareForChannelProposal](#prepareforchannelproposal) - setup for a channel
201
201
  proposal
202
- - [probe](#probe) - Find a payable route by attempting a fake payment
203
202
  - [probeForRoute](#probeforroute) - Actively probe to find a payable route
204
203
  - [proposeChannel](#proposechannel) - Offer a channel proposal to a peer
205
204
  - [recoverFundsFromChannel](#recoverfundsfromchannel) - Restore a channel
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "cors": "2.8.5",
12
12
  "express": "4.18.2",
13
13
  "invoices": "2.2.2",
14
- "lightning": "6.3.0",
14
+ "lightning": "6.3.1",
15
15
  "macaroon": "3.0.4",
16
16
  "morgan": "1.10.0",
17
17
  "ws": "8.11.0"
@@ -63,5 +63,5 @@
63
63
  "integration-test-0.14.4": "DOCKER_LND_VERSION=v0.14.4-beta npm run test",
64
64
  "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"
65
65
  },
66
- "version": "54.3.1"
66
+ "version": "54.3.2"
67
67
  }
@@ -47,7 +47,7 @@ test(`Subscribe to requests`, async ({end, equal, rejects, strictSame}) => {
47
47
 
48
48
  const sub = subscribeToForwardRequests({lnd: target.lnd});
49
49
 
50
- sub.on('forward_request', forward => forward.reject());
50
+ sub.on('forward_request', async forward => await forward.reject());
51
51
 
52
52
  await rejects(
53
53
  payViaPaymentRequest({lnd, request: invoice.request}),
@@ -198,7 +198,7 @@ test(`Subscribe to requests`, async ({end, equal, rejects, strictSame}) => {
198
198
  equal(forward.timeout, info.current_block_height + 83, 'Has timeout');
199
199
  equal(forward.tokens, invoice.tokens, 'Forward has invoiced tokens');
200
200
 
201
- return forward.accept();
201
+ return await forward.accept();
202
202
  });
203
203
 
204
204
  await payViaPaymentRequest({lnd, request: invoice.request});
@@ -210,7 +210,7 @@ test(`Subscribe to requests`, async ({end, equal, rejects, strictSame}) => {
210
210
  const {secret} = invoice;
211
211
  const sub = subscribeToForwardRequests({lnd: target.lnd});
212
212
 
213
- sub.on('forward_request', async ({settle}) => settle({secret}));
213
+ sub.on('forward_request', async ({settle}) => await settle({secret}));
214
214
 
215
215
  const paid = await payViaPaymentRequest({lnd, request: invoice.request});
216
216