ln-service 57.8.0 → 57.8.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,9 @@
1
1
  # Versions
2
2
 
3
+ ## 57.8.1
4
+
5
+ - `pay` and payment via request methods: disallow features 30/31 from payments
6
+
3
7
  ## 57.8.0
4
8
 
5
9
  - `removeAdvertisedFeature`: Add method to remove a feature bit support ad
package/package.json CHANGED
@@ -9,12 +9,12 @@
9
9
  "dependencies": {
10
10
  "bolt07": "1.8.4",
11
11
  "invoices": "3.0.0",
12
- "lightning": "10.8.1",
12
+ "lightning": "10.8.2",
13
13
  "macaroon": "3.0.4"
14
14
  },
15
15
  "description": "Interaction helper for your Lightning Network daemon",
16
16
  "devDependencies": {
17
- "@alexbosworth/blockchain": "1.7.0",
17
+ "@alexbosworth/blockchain": "2.0.0",
18
18
  "@alexbosworth/node-fetch": "2.6.2",
19
19
  "async": "3.2.5",
20
20
  "asyncjs-util": "1.2.12",
@@ -69,5 +69,5 @@
69
69
  "integration-test-0.14.4": "DOCKER_LND_VERSION=v0.14.4-beta npm run test",
70
70
  "test": "echo $DOCKER_LND_VERSION && node test/runner"
71
71
  },
72
- "version": "57.8.0"
72
+ "version": "57.8.1"
73
73
  }
@@ -84,7 +84,11 @@ test('Payment errors', async () => {
84
84
  route.tokens = 1000;
85
85
 
86
86
  await pay({lnd, path: {id, routes: [route]}});
87
+
88
+ await kill({});
87
89
  } catch (err) {
90
+ await kill({});
91
+
88
92
  if (Array.isArray(err)) {
89
93
  const [, code, context] = err;
90
94
 
@@ -94,7 +98,5 @@ test('Payment errors', async () => {
94
98
  }
95
99
  }
96
100
 
97
- await kill({});
98
-
99
101
  return;
100
102
  });
@@ -67,11 +67,13 @@ test(`Cancel back a hodl invoice`, async () => {
67
67
 
68
68
  equal(code, 503, 'Canceled back HODL HTLC results in 404');
69
69
  equal(message, 'PaymentRejectedByDestination', 'Got back 404 error');
70
+
71
+ await kill({});
70
72
  } catch (err) {
73
+ await kill({});
74
+
71
75
  equal(err, null, 'Expected no error');
72
76
  }
73
77
 
74
- await kill({});
75
-
76
78
  return;
77
79
  });
@@ -89,11 +89,13 @@ test('Delete forwarding reputations', async () => {
89
89
 
90
90
  equal(nodes.length, [].length, 'Reputations should be wiped');
91
91
  }
92
+
93
+ await kill({});
92
94
  } catch (err) {
95
+ await kill({});
96
+
93
97
  equal(err, null, 'Expected no error');
94
98
  }
95
99
 
96
- await kill({});
97
-
98
100
  return;
99
101
  });