lightning 5.1.0 → 5.1.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
+ ## 5.1.1
4
+
5
+ - `openChannels`: Fix `cooperative_close_address` not being set on channels
6
+
3
7
  ## 5.1.0
4
8
 
5
9
  - Add support for LND 0.14.1
@@ -43,7 +43,7 @@ const type = 'default';
43
43
  [partner_csv_delay]: <Peer Output CSV Delay Number>
44
44
  [partner_socket]: <Peer Connection Host:Port String>
45
45
  }]
46
- is_avoiding_broadcast: <Avoid Broadcast of All Channels Bool>
46
+ [is_avoiding_broadcast]: <Avoid Broadcast of All Channels Bool>
47
47
  lnd: <Authenticated LND API Object>
48
48
  }
49
49
 
@@ -108,6 +108,7 @@ module.exports = (args, cbk) => {
108
108
  const isSelfPublish = !!args.is_avoiding_broadcast;
109
109
 
110
110
  const channelOpen = args.lnd[type][method]({
111
+ close_address: channel.cooperative_close_address || undefined,
111
112
  funding_shim: {
112
113
  psbt_shim: {
113
114
  no_publish: !!isSelfPublish || !channel.id.equals(lastChannel),
package/package.json CHANGED
@@ -10,9 +10,9 @@
10
10
  "@grpc/grpc-js": "1.4.4",
11
11
  "@grpc/proto-loader": "0.6.7",
12
12
  "@types/express": "4.17.13",
13
- "@types/node": "16.11.10",
13
+ "@types/node": "16.11.11",
14
14
  "@types/request": "2.48.7",
15
- "@types/ws": "8.2.0",
15
+ "@types/ws": "8.2.1",
16
16
  "async": "3.2.2",
17
17
  "asyncjs-util": "1.2.7",
18
18
  "bitcoinjs-lib": "6.0.1",
@@ -24,7 +24,7 @@
24
24
  "express": "4.17.1",
25
25
  "invoices": "2.0.2",
26
26
  "psbt": "1.1.10",
27
- "type-fest": "2.6.0"
27
+ "type-fest": "2.8.0"
28
28
  },
29
29
  "description": "Lightning Network client library",
30
30
  "devDependencies": {
@@ -35,7 +35,7 @@
35
35
  "ws": "8.3.0"
36
36
  },
37
37
  "engines": {
38
- "node": ">=12"
38
+ "node": ">=12.20"
39
39
  },
40
40
  "keywords": [
41
41
  "grpc",
@@ -57,5 +57,5 @@
57
57
  "directory": "test/typescript"
58
58
  },
59
59
  "types": "index.d.ts",
60
- "version": "5.1.0"
60
+ "version": "5.1.1"
61
61
  }