diff --git a/src/modules/generic-details/index.ts b/src/modules/generic-details/index.ts index eae8eac..1168866 100644 --- a/src/modules/generic-details/index.ts +++ b/src/modules/generic-details/index.ts @@ -36,10 +36,12 @@ type ReturnType = Pick< | 'hash' | 'status' | 'timestamp' + | 'feeTotal' + | 'feeCurrency' > & { txDepositId: SkybridgeParams['txDepositId'] | null; txReceivingId: SkybridgeParams['txReceivingId'] | null; -} & (R extends 'pool' ? {} : Pick, 'feeTotal' | 'feeCurrency'>); +}; const bridgeCache = new Map(); @@ -104,17 +106,7 @@ export const getDetails = async ; };