lightning 11.0.5 → 12.0.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 +12 -0
- package/grpc/protos/lightning.proto +137 -2
- package/grpc/protos/router.proto +69 -3
- package/grpc/protos/signer.proto +60 -0
- package/grpc/protos/walletkit.proto +67 -1
- package/lnd_messages/pay_via_route_request.js +0 -2
- package/lnd_methods/info/get_configuration.js +1 -1
- package/lnd_methods/info/get_route_to_destination.d.ts +0 -4
- package/lnd_methods/info/get_route_to_destination.js +4 -6
- package/lnd_methods/macaroon/subscribe_to_rpc_requests.d.ts +0 -2
- package/lnd_methods/macaroon/subscribe_to_rpc_requests.js +0 -1
- package/lnd_methods/offchain/attempt_route.d.ts +0 -2
- package/lnd_methods/offchain/attempt_route.js +0 -1
- package/lnd_methods/offchain/finished_payment.d.ts +0 -10
- package/lnd_methods/offchain/finished_payment.js +0 -5
- package/lnd_methods/offchain/get_channels.d.ts +2 -0
- package/lnd_methods/offchain/get_channels.js +1 -0
- package/lnd_methods/offchain/get_failed_payments.d.ts +0 -2
- package/lnd_methods/offchain/get_failed_payments.js +0 -1
- package/lnd_methods/offchain/get_payment.d.ts +0 -6
- package/lnd_methods/offchain/get_payment.js +0 -3
- package/lnd_methods/offchain/get_payments.d.ts +0 -2
- package/lnd_methods/offchain/get_payments.js +0 -1
- package/lnd_methods/offchain/get_pending_payments.d.ts +0 -2
- package/lnd_methods/offchain/get_pending_payments.js +0 -1
- package/lnd_methods/offchain/get_route_through_hops.d.ts +0 -2
- package/lnd_methods/offchain/get_route_through_hops.js +0 -1
- package/lnd_methods/offchain/list_payments.js +0 -1
- package/lnd_methods/offchain/pay.d.ts +0 -4
- package/lnd_methods/offchain/pay.js +0 -3
- package/lnd_methods/offchain/pay_via_payment_details.d.ts +0 -4
- package/lnd_methods/offchain/pay_via_payment_details.js +0 -2
- package/lnd_methods/offchain/pay_via_payment_request.d.ts +0 -4
- package/lnd_methods/offchain/pay_via_payment_request.js +0 -2
- package/lnd_methods/offchain/pay_via_routes.d.ts +0 -4
- package/lnd_methods/offchain/pay_via_routes.js +0 -3
- package/lnd_methods/offchain/probe_for_route.d.ts +0 -2
- package/lnd_methods/offchain/probe_for_route.js +0 -2
- package/lnd_methods/offchain/subscribe_to_past_payment.d.ts +0 -4
- package/lnd_methods/offchain/subscribe_to_past_payment.js +0 -2
- package/lnd_methods/offchain/subscribe_to_past_payments.d.ts +0 -2
- package/lnd_methods/offchain/subscribe_to_past_payments.js +0 -1
- package/lnd_methods/offchain/subscribe_to_pay.d.ts +0 -10
- package/lnd_methods/offchain/subscribe_to_pay.js +0 -5
- package/lnd_methods/offchain/subscribe_to_pay_via_details.js +0 -5
- package/lnd_methods/offchain/subscribe_to_pay_via_request.js +0 -5
- package/lnd_methods/offchain/subscribe_to_pay_via_routes.d.ts +0 -10
- package/lnd_methods/offchain/subscribe_to_pay_via_routes.js +0 -5
- package/lnd_methods/offchain/subscribe_to_payments.d.ts +0 -4
- package/lnd_methods/offchain/subscribe_to_payments.js +0 -2
- package/lnd_methods/offchain/subscribe_to_probe_for_route.d.ts +0 -8
- package/lnd_methods/offchain/subscribe_to_probe_for_route.js +0 -4
- package/lnd_requests/rpc_hop_from_hop.js +0 -7
- package/lnd_requests/rpc_route_from_route.js +0 -2
- package/lnd_responses/confirmed_from_payment.d.ts +0 -6
- package/lnd_responses/confirmed_from_payment.js +0 -3
- package/lnd_responses/confirmed_from_payment_status.js +0 -5
- package/lnd_responses/pending_from_payment.js +0 -2
- package/lnd_responses/routes_from_query_routes.js +0 -3
- package/lnd_responses/routing_failure_from_htlc.js +0 -2
- package/lnd_responses/rpc_attempt_htlc_as_attempt.js +0 -2
- package/lnd_responses/rpc_channel_as_channel.js +6 -0
- package/lnd_responses/rpc_hop_as_hop.js +0 -7
- package/lnd_responses/rpc_payment_as_payment.js +0 -2
- package/lnd_responses/rpc_route_as_route.js +0 -2
- package/package.json +4 -4
- package/test/lnd_messages/test_pay_via_route_request.js +0 -2
- package/test/lnd_methods/fixtures/query_routes_response.json +0 -1
- package/test/lnd_methods/info/test_get_route_to_destination.js +0 -3
- package/test/lnd_methods/macaroon/test_handle_rpc_request_update.js +0 -2
- package/test/lnd_methods/offchain/test_finished_payment.js +0 -4
- package/test/lnd_methods/offchain/test_get_channels.js +1 -0
- package/test/lnd_methods/offchain/test_get_payment.js +0 -5
- package/test/lnd_methods/offchain/test_get_payments.js +0 -2
- package/test/lnd_methods/offchain/test_get_route_through_hops.js +0 -4
- package/test/lnd_methods/offchain/test_is_destination_payable.js +0 -3
- package/test/lnd_methods/offchain/test_pay.js +0 -3
- package/test/lnd_methods/offchain/test_pay_via_payment_details.js +0 -4
- package/test/lnd_methods/offchain/test_pay_via_payment_request.js +0 -4
- package/test/lnd_methods/offchain/test_pay_via_routes.js +0 -9
- package/test/lnd_methods/offchain/test_subscribe_to_channels.js +1 -0
- package/test/lnd_methods/offchain/test_subscribe_to_past_payments.js +0 -3
- package/test/lnd_methods/offchain/test_subscribe_to_pay_via_routes.js +0 -7
- package/test/lnd_methods/offchain/test_subscribe_to_payments.js +0 -3
- package/test/lnd_methods/offchain/test_subscribe_to_probe_for_route.js +0 -1
- package/test/lnd_requests/test_rpc_hop_from_hop.js +1 -10
- package/test/lnd_requests/test_rpc_route_from_route.js +0 -4
- package/test/lnd_responses/test_confirmed_from_payment.js +0 -3
- package/test/lnd_responses/test_confirmed_from_payment_status.js +0 -4
- package/test/lnd_responses/test_pending_from_payment.js +0 -2
- package/test/lnd_responses/test_routes_from_query_routes.js +0 -2
- package/test/lnd_responses/test_routing_failure_from_htlc.js +0 -2
- package/test/lnd_responses/test_rpc_attempt_htlc_as_attempt.js +0 -2
- package/test/lnd_responses/test_rpc_channel_as_channel.js +6 -0
- package/test/lnd_responses/test_rpc_hop_as_hop.js +0 -7
- package/test/lnd_responses/test_rpc_payment_as_payment.js +0 -6
- package/test/lnd_responses/test_rpc_route_as_route.js +0 -2
- package/test-typescript/typescript/attempt_route.test-d.ts +0 -1
- package/test-typescript/typescript/confirmed_from_payment.test-d.ts +0 -1
- package/test-typescript/typescript/finished_payment.test-d.ts +0 -2
- package/test-typescript/typescript/pay.test-d.ts +0 -1
- package/test-typescript/typescript/pay_via_routes.test-d.ts +0 -1
- package/test-typescript/typescript/subscribe_to_pay_via_routes.test-d.ts +0 -1
|
@@ -9,7 +9,6 @@ const makeRoute = override => {
|
|
|
9
9
|
hops: [{
|
|
10
10
|
amt_to_forward_msat: '1000',
|
|
11
11
|
chan_id: '1',
|
|
12
|
-
chan_capacity: 1,
|
|
13
12
|
expiry: 1,
|
|
14
13
|
fee_msat: '1000',
|
|
15
14
|
mpp_record: {payment_addr: Buffer.alloc(1), total_amt_msat: '1'},
|
|
@@ -69,7 +68,6 @@ const tests = [
|
|
|
69
68
|
hops: [{
|
|
70
69
|
amt_to_forward_msat: '1000',
|
|
71
70
|
chan_id: '1',
|
|
72
|
-
chan_capacity: 1,
|
|
73
71
|
expiry: 1,
|
|
74
72
|
fee_msat: '1000',
|
|
75
73
|
pub_key: 'a',
|
|
@@ -13,7 +13,6 @@ const args = {
|
|
|
13
13
|
hops: [
|
|
14
14
|
{
|
|
15
15
|
channel: '0x0x1',
|
|
16
|
-
channel_capacity: 1,
|
|
17
16
|
fee: 1,
|
|
18
17
|
fee_mtokens: '1000',
|
|
19
18
|
forward_mtokens: '1000',
|
|
@@ -30,7 +29,6 @@ const args = {
|
|
|
30
29
|
hops: [
|
|
31
30
|
{
|
|
32
31
|
channel: '0x0x1',
|
|
33
|
-
channel_capacity: 1,
|
|
34
32
|
fee: 1,
|
|
35
33
|
fee_mtokens: '1000',
|
|
36
34
|
forward_mtokens: '1000',
|