aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-util/src/walletTypes.ts5
-rw-r--r--packages/taler-wallet-core/src/operations/deposits.ts7
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts
index 8c6ec7431..ec14630d2 100644
--- a/packages/taler-util/src/walletTypes.ts
+++ b/packages/taler-util/src/walletTypes.ts
@@ -1343,6 +1343,11 @@ export interface GetFeeForDepositRequest {
amount: AmountString;
}
+export interface DepositGroupFees {
+ coin: AmountJson;
+ wire: AmountJson;
+ refresh: AmountJson;
+}
export interface CreateDepositGroupRequest {
depositPaytoUri: string;
amount: AmountString;
diff --git a/packages/taler-wallet-core/src/operations/deposits.ts b/packages/taler-wallet-core/src/operations/deposits.ts
index 54fd323de..625bc0828 100644
--- a/packages/taler-wallet-core/src/operations/deposits.ts
+++ b/packages/taler-wallet-core/src/operations/deposits.ts
@@ -27,6 +27,7 @@ import {
ContractTerms,
CreateDepositGroupRequest,
CreateDepositGroupResponse,
+ DepositGroupFees,
durationFromSpec,
encodeCrock,
GetFeeForDepositRequest,
@@ -568,12 +569,6 @@ export async function getEffectiveDepositAmount(
return Amounts.sub(Amounts.sum(amt).amount, Amounts.sum(fees).amount).amount;
}
-export interface DepositGroupFees {
- coin: AmountJson;
- wire: AmountJson;
- refresh: AmountJson;
-}
-
/**
* Get the fee amount that will be charged when trying to deposit the
* specified amount using the selected coins and the wire method.