From 105e5e1ff38a3506e579cd0b70b1cf7a6f6c167d Mon Sep 17 00:00:00 2001 From: Lokesh Chandra Date: Mon, 10 Nov 2025 14:13:45 +0530 Subject: [PATCH] refactor(express): external signing api spec Ticket: WP-6199 --- modules/express/src/typedRoutes/api/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/express/src/typedRoutes/api/index.ts b/modules/express/src/typedRoutes/api/index.ts index f5e78d4cfd..7de466acff 100644 --- a/modules/express/src/typedRoutes/api/index.ts +++ b/modules/express/src/typedRoutes/api/index.ts @@ -221,6 +221,9 @@ export const ExpressCoinSigningApiSpec = apiSpec({ 'express.v2.coin.signtx': { post: PostCoinSignTx, }, +}); + +export const ExpressExternalSigningApiSpec = apiSpec({ 'express.v2.coin.sign': { post: PostCoinSign, }, @@ -275,6 +278,7 @@ export type ExpressApi = typeof ExpressPingApiSpec & typeof ExpressOfcSignPayloadApiSpec & typeof ExpressWalletRecoverTokenApiSpec & typeof ExpressCoinSigningApiSpec & + typeof ExpressExternalSigningApiSpec & typeof ExpressWalletSigningApiSpec & typeof ExpressWalletManagementApiSpec; @@ -307,6 +311,7 @@ export const ExpressApi: ExpressApi = { ...ExpressOfcSignPayloadApiSpec, ...ExpressWalletRecoverTokenApiSpec, ...ExpressCoinSigningApiSpec, + ...ExpressExternalSigningApiSpec, ...ExpressWalletSigningApiSpec, ...ExpressWalletManagementApiSpec, };