lightning 6.1.0 → 6.1.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,10 @@
1
1
  # Versions
2
2
 
3
- ## 6.1.0
3
+ ## 6.1.2
4
+
5
+ - `subscribeToRpcRequests`: Fix support for LND 0.15.1
6
+
7
+ ## 6.1.1
4
8
 
5
9
  - `subscribeToPayments`: Add method to listen to all outgoing payments
6
10
 
@@ -3655,7 +3655,7 @@ message Payment {
3655
3655
  // Deprecated, use creation_time_ns
3656
3656
  int64 creation_date = 3 [deprecated = true];
3657
3657
 
3658
- reserved 4;
3658
+ repeated string path = 4 [deprecated = true];
3659
3659
 
3660
3660
  // Deprecated, use fee_sat or fee_msat.
3661
3661
  int64 fee = 5 [deprecated = true];
@@ -166,6 +166,11 @@ module.exports = (args, cbk) => {
166
166
  subscription.on('status', n => emitter.emit('status', n));
167
167
 
168
168
  subscription.on('data', update => {
169
+ // Exit early on notification of registration complete
170
+ if (update.intercept_type === 'reg_complete') {
171
+ return;
172
+ }
173
+
169
174
  try {
170
175
  const {accept, data, event} = handleRpcRequestUpdate({
171
176
  subscription,
package/package.json CHANGED
@@ -33,7 +33,7 @@
33
33
  "@alexbosworth/node-fetch": "2.6.2",
34
34
  "@alexbosworth/tap": "15.0.11",
35
35
  "tsd": "0.24.1",
36
- "typescript": "4.8.3",
36
+ "typescript": "4.8.4",
37
37
  "ws": "8.9.0"
38
38
  },
39
39
  "engines": {
@@ -59,5 +59,5 @@
59
59
  "directory": "test/typescript"
60
60
  },
61
61
  "types": "index.d.ts",
62
- "version": "6.1.0"
62
+ "version": "6.1.2"
63
63
  }