ln-service 56.5.0 → 56.6.0

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,13 @@
1
1
  # Versions
2
2
 
3
+ ## 56.6.0
4
+
5
+ - `getPendingChannels`: Add `type` to return pending channel type
6
+
7
+ ## 56.5.1
8
+
9
+ - `getPendingChannels`: Fix returning closing transaction id for waiting close
10
+
3
11
  ## 56.5.0
4
12
 
5
13
  - `getWalletInfo`: Add support for LND 0.16.3
package/README.md CHANGED
@@ -2917,6 +2917,7 @@ Requires `offchain:read` permission
2917
2917
  transaction_id: <Channel Funding Transaction Id String>
2918
2918
  transaction_vout: <Channel Funding Transaction Vout Number>
2919
2919
  [transaction_weight]: <Commit Transaction Weight Number>
2920
+ [type]: <Channel Commitment Transaction Type String>
2920
2921
  }]
2921
2922
  }
2922
2923
 
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.3",
14
- "lightning": "9.5.0",
14
+ "lightning": "9.6.0",
15
15
  "macaroon": "3.0.4",
16
16
  "morgan": "1.10.0",
17
17
  "ws": "8.13.0"
@@ -25,7 +25,7 @@
25
25
  "asyncjs-util": "1.2.11",
26
26
  "bip32": "4.0.0",
27
27
  "bip66": "1.1.5",
28
- "bitcoinjs-lib": "6.1.2",
28
+ "bitcoinjs-lib": "6.1.3",
29
29
  "bn.js": "5.2.1",
30
30
  "bs58check": "3.0.1",
31
31
  "ecpair": "2.1.0",
@@ -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 && 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"
71
71
  },
72
- "version": "56.5.0"
72
+ "version": "56.6.0"
73
73
  }
@@ -53,7 +53,6 @@ test(`Get pending channels`, async ({end, equal}) => {
53
53
  }
54
54
 
55
55
  equal(channel.capacity, 1000000, 'Got channel capacity');
56
- equal(channel.close_transaction_id, undefined, 'No close tx id');
57
56
  equal(channel.is_active, false, 'Ended');
58
57
  equal(channel.is_closing, true, 'Closing');
59
58
  equal(channel.is_opening, false, 'Not Opening');
@@ -69,7 +69,6 @@ test(`Get pending channels`, async ({end, equal}) => {
69
69
  }
70
70
 
71
71
  equal(pendingOpen.capacity, 1000000, 'Got channel opening capacity');
72
- equal(pendingOpen.close_transaction_id, undefined, 'Not closing');
73
72
  equal(pendingOpen.is_active, false, 'Not active yet');
74
73
  equal(pendingOpen.is_closing, false, 'Not closing yet');
75
74
  equal(pendingOpen.is_opening, true, 'Channel is opening');
@@ -113,7 +112,6 @@ test(`Get pending channels`, async ({end, equal}) => {
113
112
  }
114
113
 
115
114
  equal(waitClose.capacity, 1000000, 'Got channel closing capacity');
116
- equal(waitClose.close_transaction_id, undefined, 'Waiting for close tx');
117
115
  equal(waitClose.is_active, false, 'Not active yet');
118
116
  equal(waitClose.is_closing, true, 'Channel is closing');
119
117
  equal(waitClose.is_opening, false, 'Not opening channel');