summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/backup
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-06-02 10:58:37 -0300
committerSebastian <sebasjm@gmail.com>2021-06-02 11:02:23 -0300
commit5e96bb487fb5e700aa3078558a6cddd146cb7d6e (patch)
tree790230996d71cc716bec12f620caf21bcd0dd861 /packages/taler-wallet-core/src/operations/backup
parent9f09f5a1a5f0028bba1f76b4c8740734102cc0cf (diff)
downloadwallet-core-5e96bb487fb5e700aa3078558a6cddd146cb7d6e.tar.gz
wallet-core-5e96bb487fb5e700aa3078558a6cddd146cb7d6e.tar.bz2
wallet-core-5e96bb487fb5e700aa3078558a6cddd146cb7d6e.zip
remove references to the index.ts in the importdev/sebasjm/imports-change
Diffstat (limited to 'packages/taler-wallet-core/src/operations/backup')
-rw-r--r--packages/taler-wallet-core/src/operations/backup/export.ts3
-rw-r--r--packages/taler-wallet-core/src/operations/backup/import.ts2
-rw-r--r--packages/taler-wallet-core/src/operations/backup/state.ts3
3 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/operations/backup/export.ts b/packages/taler-wallet-core/src/operations/backup/export.ts
index fa0af1b07..4b574fe4e 100644
--- a/packages/taler-wallet-core/src/operations/backup/export.ts
+++ b/packages/taler-wallet-core/src/operations/backup/export.ts
@@ -64,9 +64,8 @@ import {
AbortStatus,
ProposalStatus,
} from "../../db.js";
-import { encodeCrock, stringToBytes, getRandomBytes } from "../../index.js";
import { canonicalizeBaseUrl, canonicalJson } from "@gnu-taler/taler-util";
-import { getExchangeDetails } from "../exchanges.js";
+import { encodeCrock, getRandomBytes, stringToBytes } from "../../crypto/talerCrypto.js";
export async function exportBackup(
ws: InternalWalletState,
diff --git a/packages/taler-wallet-core/src/operations/backup/import.ts b/packages/taler-wallet-core/src/operations/backup/import.ts
index f0a944a22..e8cb4a38f 100644
--- a/packages/taler-wallet-core/src/operations/backup/import.ts
+++ b/packages/taler-wallet-core/src/operations/backup/import.ts
@@ -47,7 +47,6 @@ import {
RefreshSessionRecord,
WireInfo,
} from "../../db.js";
-import { TransactionHandle } from "../../index.js";
import { PayCoinSelection } from "../../util/coinSelection";
import { j2s } from "@gnu-taler/taler-util";
import { checkDbInvariant, checkLogicInvariant } from "../../util/invariants";
@@ -57,6 +56,7 @@ import { InternalWalletState } from "../state";
import { provideBackupState } from "./state";
import { makeEventId, TombstoneTag } from "../transactions.js";
import { getExchangeDetails } from "../exchanges.js";
+import { TransactionHandle } from "../../util/query.js";
const logger = new Logger("operations/backup/import.ts");
diff --git a/packages/taler-wallet-core/src/operations/backup/state.ts b/packages/taler-wallet-core/src/operations/backup/state.ts
index e2a0f4cf3..d69eaaa60 100644
--- a/packages/taler-wallet-core/src/operations/backup/state.ts
+++ b/packages/taler-wallet-core/src/operations/backup/state.ts
@@ -15,9 +15,10 @@
*/
import { Timestamp } from "@gnu-taler/taler-util";
+import { encodeCrock, getRandomBytes } from "../../crypto/talerCrypto.js";
import { ConfigRecord, Stores } from "../../db.js";
-import { getRandomBytes, encodeCrock, TransactionHandle } from "../../index.js";
import { checkDbInvariant } from "../../util/invariants";
+import { TransactionHandle } from "../../util/query.js";
import { InternalWalletState } from "../state";
export interface WalletBackupConfState {