diff options
author | Florian Dold <florian@dold.me> | 2022-09-22 00:23:11 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-09-22 00:23:11 +0200 |
commit | b382fd698d7caf4957290b3b3d489fb329fcc80b (patch) | |
tree | b0aad1595eb38ec6154928e496fa5d09eb5f92db | |
parent | 4649469b58b9a4068fa94de07f415f1bbc58794c (diff) |
-fix imports
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"; /** * |