lightning 6.2.5 → 6.2.7
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 +8 -0
- package/lnd_methods/address/create_chain_address.js +1 -1
- package/lnd_methods/info/constants.json +2 -0
- package/lnd_methods/info/get_route_to_destination.js +1 -1
- package/lnd_methods/offchain/is_destination_payable.js +1 -1
- package/lnd_methods/offchain/pay.js +1 -1
- package/lnd_methods/offchain/pay_via_payment_details.js +1 -1
- package/lnd_methods/offchain/pay_via_payment_request.js +1 -1
- package/lnd_methods/offchain/probe_for_route.js +1 -1
- package/lnd_methods/offchain/subscribe_to_pay.js +1 -1
- package/lnd_methods/offchain/subscribe_to_pay_via_details.js +1 -1
- package/lnd_methods/offchain/subscribe_to_pay_via_request.js +1 -1
- package/lnd_methods/offchain/subscribe_to_payments.d.ts +1 -1
- package/lnd_methods/offchain/subscribe_to_payments.js +1 -1
- package/lnd_methods/offchain/subscribe_to_probe_for_route.js +1 -1
- package/lnd_methods/onchain/open_channel.d.ts +2 -2
- package/lnd_methods/onchain/open_channel.js +2 -2
- package/lnd_methods/onchain/open_channels.d.ts +2 -2
- package/lnd_methods/onchain/open_channels.js +2 -2
- package/lnd_methods/onchain/subscribe_to_chain_spend.js +1 -1
- package/lnd_methods/peers/add_external_socket.d.ts +1 -1
- package/lnd_methods/peers/add_external_socket.js +1 -1
- package/lnd_methods/peers/remove_external_socket.d.ts +1 -1
- package/lnd_methods/peers/remove_external_socket.js +1 -1
- package/lnd_methods/peers/update_alias.js +1 -1
- package/lnd_methods/peers/update_color.js +1 -1
- package/lnd_methods/signer/begin_group_signing_session.js +1 -1
- package/lnd_methods/signer/end_group_signing_session.js +1 -1
- package/lnd_methods/signer/sign_transaction.d.ts +1 -1
- package/lnd_methods/signer/sign_transaction.js +2 -2
- package/lnd_methods/signer/update_group_signing_session.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -17,7 +17,7 @@ const type = 'default';
|
|
|
17
17
|
|
|
18
18
|
Requires `address:write` permission
|
|
19
19
|
|
|
20
|
-
LND 0.14.
|
|
20
|
+
LND 0.14.5 and below do not support p2tr addresses
|
|
21
21
|
|
|
22
22
|
{
|
|
23
23
|
[format]: <Receive Address Type String> // "np2wpkh" || "p2tr" || "p2wpkh"
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"prefAttachType": "preferential",
|
|
20
20
|
"versions": {
|
|
21
21
|
"0d5b0fefa4d9082f7964836f5e58c3a6bda8e471": "0.10.2-beta",
|
|
22
|
+
"15c1eb13972f86a7c1e8cb084aa6d52700d685ff": "0.14.5-beta",
|
|
22
23
|
"1a3194d302f33bb52823297d9d7f75cd37516053": "0.10.0-beta",
|
|
23
24
|
"1e511be523eb8e97c4e2d9c89a7a263963a3929f": "0.14.2-beta",
|
|
24
25
|
"3ae46d81f4a2edad06ef778b2940d9b06386d93b": "0.11.0-beta",
|
|
@@ -32,6 +33,7 @@
|
|
|
32
33
|
"7f34774529fa0964d47fc418d4d2965435cbfdc0": "0.11.1-beta",
|
|
33
34
|
"86d3dec7b939b21bb10f2cd1ff56970c392a1c69": "0.13.2-beta",
|
|
34
35
|
"86114c575c2dff9dff1e1bb4df961c64aea9fc1c": "0.10.4-beta",
|
|
36
|
+
"96fe51e2e5c2ee0c97909499e0e96a3d3755757e": "0.15.4-beta",
|
|
35
37
|
"aff2ed3a6a118d664049835c325a5b69e977172f": "0.15.2-beta",
|
|
36
38
|
"b4e7131bdb47531ad2f00ce345ddcdb58935bba5": "0.15.3-beta",
|
|
37
39
|
"bd0c46b4fcb027af1915bd67a3da70e8ca5c6efe": "0.14.3-beta",
|
|
@@ -17,7 +17,7 @@ const payViaRoutes = require('./pay_via_routes');
|
|
|
17
17
|
|
|
18
18
|
`max_path_mtokens` is not supported in LND 0.12.0 or below
|
|
19
19
|
|
|
20
|
-
Preferred `confidence` is not supported on LND 0.14.
|
|
20
|
+
Preferred `confidence` is not supported on LND 0.14.5 and below
|
|
21
21
|
|
|
22
22
|
{
|
|
23
23
|
[confidence]: <Preferred Route Confidence Number Out of One Million Number>
|
|
@@ -19,7 +19,7 @@ const type = 'router';
|
|
|
19
19
|
|
|
20
20
|
`max_path_mtokens` is not supported in LND 0.12.0 or below
|
|
21
21
|
|
|
22
|
-
Preferred `confidence` is not supported on LND 0.14.
|
|
22
|
+
Preferred `confidence` is not supported on LND 0.14.5 and below
|
|
23
23
|
|
|
24
24
|
{
|
|
25
25
|
[cltv_delta]: <Final CLTV Delta Number>
|
|
@@ -14,7 +14,7 @@ const type = 'router';
|
|
|
14
14
|
|
|
15
15
|
`max_path_mtokens` is not supported in LND 0.12.0 or below
|
|
16
16
|
|
|
17
|
-
Preferred `confidence` is not supported on LND 0.14.
|
|
17
|
+
Preferred `confidence` is not supported on LND 0.14.5 and below
|
|
18
18
|
|
|
19
19
|
{
|
|
20
20
|
[confidence]: <Preferred Route Confidence Number Out of One Million Number>
|
|
@@ -17,7 +17,7 @@ const isHex = n => !(n.length % 2) && /^[0-9A-F]*$/i.test(n);
|
|
|
17
17
|
|
|
18
18
|
Requires `offchain:write` permission
|
|
19
19
|
|
|
20
|
-
Preferred `confidence` is not supported on LND 0.14.
|
|
20
|
+
Preferred `confidence` is not supported on LND 0.14.5 and below
|
|
21
21
|
|
|
22
22
|
{
|
|
23
23
|
[cltv_delta]: <Final CLTV Delta Number>
|
|
@@ -44,7 +44,7 @@ const unknownServiceErr = 'unknown service verrpc.Versioner';
|
|
|
44
44
|
|
|
45
45
|
`max_path_mtokens` is not supported in LND 0.12.0 or below
|
|
46
46
|
|
|
47
|
-
Preferred `confidence` is not supported on LND 0.14.
|
|
47
|
+
Preferred `confidence` is not supported on LND 0.14.5 and below
|
|
48
48
|
|
|
49
49
|
{
|
|
50
50
|
[cltv_delta]: <Final CLTV Delta Number>
|
|
@@ -17,7 +17,7 @@ const type = 'router';
|
|
|
17
17
|
|
|
18
18
|
`max_path_mtokens` is not supported in LND 0.12.0 or below
|
|
19
19
|
|
|
20
|
-
Preferred `confidence` is not supported on LND 0.14.
|
|
20
|
+
Preferred `confidence` is not supported on LND 0.14.5 and below
|
|
21
21
|
|
|
22
22
|
{
|
|
23
23
|
[cltv_delta]: <Final CLTV Delta Number>
|
|
@@ -10,7 +10,7 @@ const type = 'router';
|
|
|
10
10
|
|
|
11
11
|
`max_path_mtokens` is not supported in LND 0.12.0 or below
|
|
12
12
|
|
|
13
|
-
Preferred `confidence` is not supported on LND 0.14.
|
|
13
|
+
Preferred `confidence` is not supported on LND 0.14.5 and below
|
|
14
14
|
|
|
15
15
|
{
|
|
16
16
|
[confidence]: <Preferred Route Confidence Number Out of One Million Number>
|
|
@@ -17,6 +17,6 @@ export type SubscribeToPaymentsPaymentEvent =
|
|
|
17
17
|
*
|
|
18
18
|
* Requires `offchain:read` permission
|
|
19
19
|
*
|
|
20
|
-
* Note: Method not supported on LND 0.15.
|
|
20
|
+
* Note: Method not supported on LND 0.15.4 and below
|
|
21
21
|
*/
|
|
22
22
|
export const subscribeToPayments: AuthenticatedLightningSubscription<SubscribeToPaymentsArgs>;
|
|
@@ -50,8 +50,8 @@ export type OpenChannelResult = {
|
|
|
50
50
|
*
|
|
51
51
|
* External funding requires LND compiled with `walletrpc` build tag
|
|
52
52
|
*
|
|
53
|
-
* `base_fee_mtokens` is not supported on LND 0.15.
|
|
54
|
-
* `fee_rate` is not supported on LND 0.15.
|
|
53
|
+
* `base_fee_mtokens` is not supported on LND 0.15.4 and below
|
|
54
|
+
* `fee_rate` is not supported on LND 0.15.4 and below
|
|
55
55
|
*/
|
|
56
56
|
export const openChannel: AuthenticatedLightningMethod<
|
|
57
57
|
OpenChannelArgs,
|
|
@@ -20,8 +20,8 @@ const type = 'default';
|
|
|
20
20
|
|
|
21
21
|
External funding requires LND compiled with `walletrpc` build tag
|
|
22
22
|
|
|
23
|
-
`base_fee_mtokens` is not supported on LND 0.15.
|
|
24
|
-
`fee_rate` is not supported on LND 0.15.
|
|
23
|
+
`base_fee_mtokens` is not supported on LND 0.15.4 and below
|
|
24
|
+
`fee_rate` is not supported on LND 0.15.4 and below
|
|
25
25
|
|
|
26
26
|
{
|
|
27
27
|
[base_fee_mtokens]: <Routing Base Fee Millitokens Charged String>
|
|
@@ -56,8 +56,8 @@ channel that was not funded.
|
|
|
56
56
|
`--protocol.option-scid-alias` and `--protocol.zero-conf` set on both sides
|
|
57
57
|
as well as a channel open request listener to accept the trusted funding.
|
|
58
58
|
|
|
59
|
-
* `base_fee_mtokens` is not supported on LND 0.15.
|
|
60
|
-
* `fee_rate` is not supported on LND 0.15.
|
|
59
|
+
* `base_fee_mtokens` is not supported on LND 0.15.4 and below
|
|
60
|
+
* `fee_rate` is not supported on LND 0.15.4 and below
|
|
61
61
|
*/
|
|
62
62
|
export const openChannels: AuthenticatedLightningMethod<
|
|
63
63
|
OpenChannelsArgs,
|
|
@@ -37,8 +37,8 @@ const type = 'default';
|
|
|
37
37
|
`--protocol.option-scid-alias` and `--protocol.zero-conf` set on both sides
|
|
38
38
|
as well as a channel open request listener to accept the trusted funding.
|
|
39
39
|
|
|
40
|
-
`base_fee_mtokens` is not supported on LND 0.15.
|
|
41
|
-
`fee_rate` is not supported on LND 0.15.
|
|
40
|
+
`base_fee_mtokens` is not supported on LND 0.15.4 and below
|
|
41
|
+
`fee_rate` is not supported on LND 0.15.4 and below
|
|
42
42
|
|
|
43
43
|
{
|
|
44
44
|
channels: [{
|
|
@@ -24,7 +24,7 @@ const type = 'chain';
|
|
|
24
24
|
|
|
25
25
|
Requires `onchain:read` permission
|
|
26
26
|
|
|
27
|
-
Subscribing to P2TR outputs is not supported in LND 0.14.
|
|
27
|
+
Subscribing to P2TR outputs is not supported in LND 0.14.5 and below
|
|
28
28
|
|
|
29
29
|
{
|
|
30
30
|
[bech32_address]: <Bech32 P2WPKH or P2WSH Address String>
|
|
@@ -11,7 +11,7 @@ export type AddExternalSocketArgs = AuthenticatedLightningArgs<{
|
|
|
11
11
|
/**
|
|
12
12
|
* Add a new advertised p2p socket address
|
|
13
13
|
*
|
|
14
|
-
* Note: this method is not supported in LND versions 0.14.
|
|
14
|
+
* Note: this method is not supported in LND versions 0.14.5 and below
|
|
15
15
|
*
|
|
16
16
|
* Requires LND built with `peersrpc` build tag
|
|
17
17
|
*
|
|
@@ -10,7 +10,7 @@ const type = 'peers';
|
|
|
10
10
|
|
|
11
11
|
/** Add a new advertised p2p socket address
|
|
12
12
|
|
|
13
|
-
Note: this method is not supported in LND versions 0.14.
|
|
13
|
+
Note: this method is not supported in LND versions 0.14.5 and below
|
|
14
14
|
|
|
15
15
|
Requires LND built with `peersrpc` build tag
|
|
16
16
|
|
|
@@ -11,7 +11,7 @@ export type RemoveExternalSocketArgs = AuthenticatedLightningArgs<{
|
|
|
11
11
|
/**
|
|
12
12
|
* Remove an existing advertised p2p socket address
|
|
13
13
|
*
|
|
14
|
-
* Note: this method is not supported in LND versions 0.14.
|
|
14
|
+
* Note: this method is not supported in LND versions 0.14.5 and below
|
|
15
15
|
*
|
|
16
16
|
* Requires LND built with `peersrpc` build tag
|
|
17
17
|
*
|
|
@@ -10,7 +10,7 @@ const type = 'peers';
|
|
|
10
10
|
|
|
11
11
|
/** Remove an existing advertised p2p socket address
|
|
12
12
|
|
|
13
|
-
Note: this method is not supported in LND versions 0.14.
|
|
13
|
+
Note: this method is not supported in LND versions 0.14.5 and below
|
|
14
14
|
|
|
15
15
|
Requires LND built with `peersrpc` build tag
|
|
16
16
|
|
|
@@ -9,7 +9,7 @@ const type = 'peers';
|
|
|
9
9
|
|
|
10
10
|
/** Update the node alias as advertised in the graph
|
|
11
11
|
|
|
12
|
-
Note: this method is not supported in LND versions 0.14.
|
|
12
|
+
Note: this method is not supported in LND versions 0.14.5 and below
|
|
13
13
|
|
|
14
14
|
Requires LND built with `peersrpc` build tag
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ const type = 'peers';
|
|
|
9
9
|
|
|
10
10
|
/** Update the node color as advertised in the graph
|
|
11
11
|
|
|
12
|
-
Note: this method is not supported in LND versions 0.14.
|
|
12
|
+
Note: this method is not supported in LND versions 0.14.5 and below
|
|
13
13
|
|
|
14
14
|
Requires LND built with `peersrpc` build tag
|
|
15
15
|
|
|
@@ -21,7 +21,7 @@ const xOnlyPublicKey = hexKey => hexKey.slice(2);
|
|
|
21
21
|
|
|
22
22
|
Requires `address:read`, `signer:generate` permissions
|
|
23
23
|
|
|
24
|
-
This method is not supported in LND 0.14.
|
|
24
|
+
This method is not supported in LND 0.14.5 and below
|
|
25
25
|
|
|
26
26
|
{
|
|
27
27
|
lnd: <Authenticated LND API Object>
|
|
@@ -44,7 +44,7 @@ export type SignTransactionResult = {
|
|
|
44
44
|
*
|
|
45
45
|
* Requires `signer:generate` permission
|
|
46
46
|
*
|
|
47
|
-
* `spending` is not supported in LND 0.14.
|
|
47
|
+
* `spending` is not supported in LND 0.14.5 and below
|
|
48
48
|
*/
|
|
49
49
|
export const signTransaction: AuthenticatedLightningMethod<
|
|
50
50
|
SignTransactionArgs,
|
|
@@ -21,8 +21,8 @@ const unimplementedError = '12 UNIMPLEMENTED: unknown service signrpc.Signer';
|
|
|
21
21
|
|
|
22
22
|
Requires `signer:generate` permission
|
|
23
23
|
|
|
24
|
-
`root_hash` is not supported in LND 0.14.
|
|
25
|
-
`spending` is not supported in LND 0.14.
|
|
24
|
+
`root_hash` is not supported in LND 0.14.5 and below
|
|
25
|
+
`spending` is not supported in LND 0.14.5 and below
|
|
26
26
|
|
|
27
27
|
{
|
|
28
28
|
inputs: [{
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@grpc/grpc-js": "1.7.3",
|
|
11
11
|
"@grpc/proto-loader": "0.7.3",
|
|
12
12
|
"@types/express": "4.17.14",
|
|
13
|
-
"@types/node": "18.11.
|
|
13
|
+
"@types/node": "18.11.9",
|
|
14
14
|
"@types/request": "2.48.8",
|
|
15
15
|
"@types/ws": "8.5.3",
|
|
16
16
|
"async": "3.2.4",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"directory": "test/typescript"
|
|
60
60
|
},
|
|
61
61
|
"types": "index.d.ts",
|
|
62
|
-
"version": "6.2.
|
|
62
|
+
"version": "6.2.7"
|
|
63
63
|
}
|