From c9a2f41ab2b892c18b530c11c3c9a75ddcf6cafd Mon Sep 17 00:00:00 2001 From: Huynh Duc Duy Date: Fri, 9 May 2025 00:13:57 +0700 Subject: [PATCH] remove [] from wallet_getPermissions result type --- src/wallet-api/methods.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet-api/methods.ts b/src/wallet-api/methods.ts index 30f6eac..f54c4ee 100644 --- a/src/wallet-api/methods.ts +++ b/src/wallet-api/methods.ts @@ -29,7 +29,7 @@ export interface RpcTypeToMessageMap { */ wallet_getPermissions: { params?: ApiVersionRequest; - result: Permission[] | []; + result: Permission[]; errors: Errors.API_VERSION_NOT_SUPPORTED | Errors.UNKNOWN_ERROR; };