aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/taler-wallet-webextension/src/wallet/DepositPage.stories.tsx7
-rw-r--r--packages/taler-wallet-webextension/src/wallet/DepositPage.test.ts2
-rw-r--r--packages/taler-wallet-webextension/src/wallet/DepositPage.tsx3
-rw-r--r--packages/taler-wallet-webextension/src/wxApi.ts10
4 files changed, 10 insertions, 12 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/DepositPage.stories.tsx b/packages/taler-wallet-webextension/src/wallet/DepositPage.stories.tsx
index 250df7426..7c8c094cc 100644
--- a/packages/taler-wallet-webextension/src/wallet/DepositPage.stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DepositPage.stories.tsx
@@ -19,8 +19,11 @@
* @author Sebastian Javier Marchano (sebasjm)
*/
-import { Amounts, Balance, parsePaytoUri } from "@gnu-taler/taler-util";
-import type { DepositGroupFees } from "@gnu-taler/taler-wallet-core/src/operations/deposits.js";
+import {
+ Amounts,
+ DepositGroupFees,
+ parsePaytoUri,
+} from "@gnu-taler/taler-util";
import { createExample } from "../test-utils.js";
import {
createLabelsForBankAccount,
diff --git a/packages/taler-wallet-webextension/src/wallet/DepositPage.test.ts b/packages/taler-wallet-webextension/src/wallet/DepositPage.test.ts
index 99bb547de..3a7012581 100644
--- a/packages/taler-wallet-webextension/src/wallet/DepositPage.test.ts
+++ b/packages/taler-wallet-webextension/src/wallet/DepositPage.test.ts
@@ -23,9 +23,9 @@ import {
Amounts,
Balance,
BalancesResponse,
+ DepositGroupFees,
parsePaytoUri,
} from "@gnu-taler/taler-util";
-import { DepositGroupFees } from "@gnu-taler/taler-wallet-core/src/operations/deposits";
import { expect } from "chai";
import { mountHook } from "../test-utils.js";
import { useComponentState } from "./DepositPage.js";
diff --git a/packages/taler-wallet-webextension/src/wallet/DepositPage.tsx b/packages/taler-wallet-webextension/src/wallet/DepositPage.tsx
index 0cd375b7c..69249a716 100644
--- a/packages/taler-wallet-webextension/src/wallet/DepositPage.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DepositPage.tsx
@@ -14,8 +14,7 @@
GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
-import { AmountJson, Amounts, PaytoUri } from "@gnu-taler/taler-util";
-import { DepositGroupFees } from "@gnu-taler/taler-wallet-core/src/operations/deposits";
+import { AmountJson, Amounts, DepositGroupFees, PaytoUri } from "@gnu-taler/taler-util";
import { Fragment, h, VNode } from "preact";
import { useState } from "preact/hooks";
import { Loading } from "../components/Loading.js";
diff --git a/packages/taler-wallet-webextension/src/wxApi.ts b/packages/taler-wallet-webextension/src/wxApi.ts
index 872cbed19..b12343021 100644
--- a/packages/taler-wallet-webextension/src/wxApi.ts
+++ b/packages/taler-wallet-webextension/src/wxApi.ts
@@ -72,22 +72,18 @@ import {
AcceptTipResponse,
AcceptPeerPullPaymentResponse,
AcceptPeerPushPaymentResponse,
+ DepositGroupFees,
} from "@gnu-taler/taler-util";
import {
AddBackupProviderRequest,
BackupInfo,
+ ExchangeWithdrawDetails,
PendingOperationsResponse,
RemoveBackupProviderRequest,
TalerError,
WalletContractData,
} from "@gnu-taler/taler-wallet-core";
-import type { DepositGroupFees } from "@gnu-taler/taler-wallet-core/src/operations/deposits";
-import type { ExchangeWithdrawDetails } from "@gnu-taler/taler-wallet-core/src/operations/withdraw";
-import {
- platform,
- MessageFromBackend,
- WalletWebExVersion,
-} from "./platform/api.js";
+import { platform, MessageFromBackend } from "./platform/api.js";
/**
*