lightning 11.1.0 → 12.0.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.
Files changed (99) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/grpc/protos/lightning.proto +137 -2
  3. package/grpc/protos/router.proto +69 -3
  4. package/grpc/protos/signer.proto +60 -0
  5. package/grpc/protos/walletkit.proto +67 -1
  6. package/lnd_messages/pay_via_route_request.js +0 -2
  7. package/lnd_methods/info/get_configuration.js +1 -1
  8. package/lnd_methods/info/get_route_to_destination.d.ts +0 -4
  9. package/lnd_methods/info/get_route_to_destination.js +4 -6
  10. package/lnd_methods/macaroon/subscribe_to_rpc_requests.d.ts +0 -2
  11. package/lnd_methods/macaroon/subscribe_to_rpc_requests.js +0 -1
  12. package/lnd_methods/offchain/attempt_route.d.ts +0 -2
  13. package/lnd_methods/offchain/attempt_route.js +0 -1
  14. package/lnd_methods/offchain/finished_payment.d.ts +0 -10
  15. package/lnd_methods/offchain/finished_payment.js +0 -5
  16. package/lnd_methods/offchain/get_failed_payments.d.ts +0 -2
  17. package/lnd_methods/offchain/get_failed_payments.js +0 -1
  18. package/lnd_methods/offchain/get_payment.d.ts +0 -6
  19. package/lnd_methods/offchain/get_payment.js +0 -3
  20. package/lnd_methods/offchain/get_payments.d.ts +0 -2
  21. package/lnd_methods/offchain/get_payments.js +0 -1
  22. package/lnd_methods/offchain/get_pending_payments.d.ts +0 -2
  23. package/lnd_methods/offchain/get_pending_payments.js +0 -1
  24. package/lnd_methods/offchain/get_route_through_hops.d.ts +0 -2
  25. package/lnd_methods/offchain/get_route_through_hops.js +0 -1
  26. package/lnd_methods/offchain/list_payments.js +0 -1
  27. package/lnd_methods/offchain/pay.d.ts +0 -4
  28. package/lnd_methods/offchain/pay.js +0 -3
  29. package/lnd_methods/offchain/pay_via_payment_details.d.ts +0 -4
  30. package/lnd_methods/offchain/pay_via_payment_details.js +0 -2
  31. package/lnd_methods/offchain/pay_via_payment_request.d.ts +0 -4
  32. package/lnd_methods/offchain/pay_via_payment_request.js +0 -2
  33. package/lnd_methods/offchain/pay_via_routes.d.ts +0 -4
  34. package/lnd_methods/offchain/pay_via_routes.js +0 -3
  35. package/lnd_methods/offchain/probe_for_route.d.ts +0 -2
  36. package/lnd_methods/offchain/probe_for_route.js +0 -2
  37. package/lnd_methods/offchain/subscribe_to_channels.js +1 -1
  38. package/lnd_methods/offchain/subscribe_to_past_payment.d.ts +0 -4
  39. package/lnd_methods/offchain/subscribe_to_past_payment.js +0 -2
  40. package/lnd_methods/offchain/subscribe_to_past_payments.d.ts +0 -2
  41. package/lnd_methods/offchain/subscribe_to_past_payments.js +0 -1
  42. package/lnd_methods/offchain/subscribe_to_pay.d.ts +0 -10
  43. package/lnd_methods/offchain/subscribe_to_pay.js +0 -5
  44. package/lnd_methods/offchain/subscribe_to_pay_via_details.js +0 -5
  45. package/lnd_methods/offchain/subscribe_to_pay_via_request.js +0 -5
  46. package/lnd_methods/offchain/subscribe_to_pay_via_routes.d.ts +0 -10
  47. package/lnd_methods/offchain/subscribe_to_pay_via_routes.js +0 -5
  48. package/lnd_methods/offchain/subscribe_to_payments.d.ts +0 -4
  49. package/lnd_methods/offchain/subscribe_to_payments.js +0 -2
  50. package/lnd_methods/offchain/subscribe_to_probe_for_route.d.ts +0 -8
  51. package/lnd_methods/offchain/subscribe_to_probe_for_route.js +0 -4
  52. package/lnd_requests/rpc_hop_from_hop.js +0 -7
  53. package/lnd_requests/rpc_route_from_route.js +0 -2
  54. package/lnd_responses/confirmed_from_payment.d.ts +0 -6
  55. package/lnd_responses/confirmed_from_payment.js +0 -3
  56. package/lnd_responses/confirmed_from_payment_status.js +0 -5
  57. package/lnd_responses/pending_from_payment.js +0 -2
  58. package/lnd_responses/routes_from_query_routes.js +0 -3
  59. package/lnd_responses/routing_failure_from_htlc.js +0 -2
  60. package/lnd_responses/rpc_attempt_htlc_as_attempt.js +0 -2
  61. package/lnd_responses/rpc_hop_as_hop.js +0 -7
  62. package/lnd_responses/rpc_payment_as_payment.js +0 -2
  63. package/lnd_responses/rpc_route_as_route.js +0 -2
  64. package/package.json +4 -4
  65. package/test/lnd_messages/test_pay_via_route_request.js +0 -2
  66. package/test/lnd_methods/fixtures/query_routes_response.json +0 -1
  67. package/test/lnd_methods/info/test_get_route_to_destination.js +0 -3
  68. package/test/lnd_methods/macaroon/test_handle_rpc_request_update.js +0 -2
  69. package/test/lnd_methods/offchain/test_finished_payment.js +0 -4
  70. package/test/lnd_methods/offchain/test_get_payment.js +0 -5
  71. package/test/lnd_methods/offchain/test_get_payments.js +0 -2
  72. package/test/lnd_methods/offchain/test_get_route_through_hops.js +0 -4
  73. package/test/lnd_methods/offchain/test_is_destination_payable.js +0 -3
  74. package/test/lnd_methods/offchain/test_pay.js +0 -3
  75. package/test/lnd_methods/offchain/test_pay_via_payment_details.js +0 -4
  76. package/test/lnd_methods/offchain/test_pay_via_payment_request.js +0 -4
  77. package/test/lnd_methods/offchain/test_pay_via_routes.js +0 -9
  78. package/test/lnd_methods/offchain/test_subscribe_to_channels.js +0 -20
  79. package/test/lnd_methods/offchain/test_subscribe_to_past_payments.js +0 -3
  80. package/test/lnd_methods/offchain/test_subscribe_to_pay_via_routes.js +0 -7
  81. package/test/lnd_methods/offchain/test_subscribe_to_payments.js +0 -3
  82. package/test/lnd_methods/offchain/test_subscribe_to_probe_for_route.js +0 -1
  83. package/test/lnd_requests/test_rpc_hop_from_hop.js +1 -10
  84. package/test/lnd_requests/test_rpc_route_from_route.js +0 -4
  85. package/test/lnd_responses/test_confirmed_from_payment.js +0 -3
  86. package/test/lnd_responses/test_confirmed_from_payment_status.js +0 -4
  87. package/test/lnd_responses/test_pending_from_payment.js +0 -2
  88. package/test/lnd_responses/test_routes_from_query_routes.js +0 -2
  89. package/test/lnd_responses/test_routing_failure_from_htlc.js +0 -2
  90. package/test/lnd_responses/test_rpc_attempt_htlc_as_attempt.js +0 -2
  91. package/test/lnd_responses/test_rpc_hop_as_hop.js +0 -7
  92. package/test/lnd_responses/test_rpc_payment_as_payment.js +0 -6
  93. package/test/lnd_responses/test_rpc_route_as_route.js +0 -2
  94. package/test-typescript/typescript/attempt_route.test-d.ts +0 -1
  95. package/test-typescript/typescript/confirmed_from_payment.test-d.ts +0 -1
  96. package/test-typescript/typescript/finished_payment.test-d.ts +0 -2
  97. package/test-typescript/typescript/pay.test-d.ts +0 -1
  98. package/test-typescript/typescript/pay_via_routes.test-d.ts +0 -1
  99. package/test-typescript/typescript/subscribe_to_pay_via_routes.test-d.ts +0 -1
@@ -14,7 +14,6 @@ const path = {
14
14
  hops: [
15
15
  {
16
16
  channel: '1x1x1',
17
- channel_capacity: 1,
18
17
  fee: 1,
19
18
  fee_mtokens: '1000',
20
19
  forward: 1,
@@ -10,7 +10,6 @@ const routes = [
10
10
  hops: [
11
11
  {
12
12
  channel: '1x1x1',
13
- channel_capacity: 1,
14
13
  fee: 1,
15
14
  fee_mtokens: '1000',
16
15
  forward: 1,
@@ -14,7 +14,6 @@ const routes: SubscribeToPayViaRoutesArgs['routes'] = [
14
14
  hops: [
15
15
  {
16
16
  channel: '0x0x1',
17
- channel_capacity: 1,
18
17
  fee: 1,
19
18
  forward: 1,
20
19
  fee_mtokens: '1',