From c1e13ed83d6bebb98e1ebefda8af82f7ddff32ad Mon Sep 17 00:00:00 2001 From: secondl1ght Date: Sat, 16 Dec 2023 22:01:08 -0700 Subject: [PATCH 1/2] fix: add new v2 methods to custom permissions --- app/src/util/constants.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/util/constants.ts b/app/src/util/constants.ts index 0b9ce3c03..9b365f769 100644 --- a/app/src/util/constants.ts +++ b/app/src/util/constants.ts @@ -105,8 +105,10 @@ export const PermissionUriMap: { [key: string]: string[] } = { '/lnrpc.Lightning/SendCoins', '/lnrpc.Lightning/SendMany', '/lnrpc.Lightning/SendPayment', + '/lnrpc.Lightning/SendPaymentV2', '/lnrpc.Lightning/SendPaymentSync', '/lnrpc.Lightning/SendToRoute', + '/lnrpc.Lightning/SendToRouteV2', '/lnrpc.Lightning/SendToRouteSync', ], receive: [ From 701c70239c8bd370fdfdc9022d14b7db1c50f9dd Mon Sep 17 00:00:00 2001 From: secondl1ght Date: Mon, 18 Dec 2023 15:11:38 -0700 Subject: [PATCH 2/2] fix: use correct uri paths --- app/src/util/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/util/constants.ts b/app/src/util/constants.ts index 9b365f769..063748a1e 100644 --- a/app/src/util/constants.ts +++ b/app/src/util/constants.ts @@ -105,10 +105,10 @@ export const PermissionUriMap: { [key: string]: string[] } = { '/lnrpc.Lightning/SendCoins', '/lnrpc.Lightning/SendMany', '/lnrpc.Lightning/SendPayment', - '/lnrpc.Lightning/SendPaymentV2', + '/routerrpc.Router/SendPaymentV2', '/lnrpc.Lightning/SendPaymentSync', '/lnrpc.Lightning/SendToRoute', - '/lnrpc.Lightning/SendToRouteV2', + '/routerrpc.Router/SendToRouteV2', '/lnrpc.Lightning/SendToRouteSync', ], receive: [