Skip to content

Commit 758460f

Browse files
authored
Merge pull request #7460 from BitGo/WP-6199-express-setup-signing-routes
refactor(express): external signing api spec
2 parents 71b85c7 + 105e5e1 commit 758460f

File tree

1 file changed

+5
-0
lines changed
  • modules/express/src/typedRoutes/api

1 file changed

+5
-0
lines changed

modules/express/src/typedRoutes/api/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ export const ExpressCoinSigningApiSpec = apiSpec({
221221
'express.v2.coin.signtx': {
222222
post: PostCoinSignTx,
223223
},
224+
});
225+
226+
export const ExpressExternalSigningApiSpec = apiSpec({
224227
'express.v2.coin.sign': {
225228
post: PostCoinSign,
226229
},
@@ -275,6 +278,7 @@ export type ExpressApi = typeof ExpressPingApiSpec &
275278
typeof ExpressOfcSignPayloadApiSpec &
276279
typeof ExpressWalletRecoverTokenApiSpec &
277280
typeof ExpressCoinSigningApiSpec &
281+
typeof ExpressExternalSigningApiSpec &
278282
typeof ExpressWalletSigningApiSpec &
279283
typeof ExpressWalletManagementApiSpec;
280284

@@ -307,6 +311,7 @@ export const ExpressApi: ExpressApi = {
307311
...ExpressOfcSignPayloadApiSpec,
308312
...ExpressWalletRecoverTokenApiSpec,
309313
...ExpressCoinSigningApiSpec,
314+
...ExpressExternalSigningApiSpec,
310315
...ExpressWalletSigningApiSpec,
311316
...ExpressWalletManagementApiSpec,
312317
};

0 commit comments

Comments
 (0)