diff options
author | Florian Dold <florian@dold.me> | 2022-03-23 13:11:36 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-03-23 13:11:36 +0100 |
commit | c539d1803c1376cba0831be64866b6d2c1652403 (patch) | |
tree | 20104848bee6fff74ab40d0f8be646d63c6ef9d5 /packages/taler-wallet-core/src/operations/backup | |
parent | 739c2f933770206b173a9b3cbafa79ee6048ff9d (diff) | |
download | wallet-core-c539d1803c1376cba0831be64866b6d2c1652403.tar.xz |
wallet: address crypto worker hang and warning about worker termination
Diffstat (limited to 'packages/taler-wallet-core/src/operations/backup')
4 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/operations/backup/export.ts b/packages/taler-wallet-core/src/operations/backup/export.ts index 35306da63..d4c822972 100644 --- a/packages/taler-wallet-core/src/operations/backup/export.ts +++ b/packages/taler-wallet-core/src/operations/backup/export.ts @@ -57,7 +57,7 @@ import { stringToBytes, AbsoluteTime, } from "@gnu-taler/taler-util"; -import { InternalWalletState } from "../../common.js"; +import { InternalWalletState } from "../../internal-wallet-state.js"; import { AbortStatus, CoinSourceType, diff --git a/packages/taler-wallet-core/src/operations/backup/import.ts b/packages/taler-wallet-core/src/operations/backup/import.ts index 4b17a5f33..ece0781a8 100644 --- a/packages/taler-wallet-core/src/operations/backup/import.ts +++ b/packages/taler-wallet-core/src/operations/backup/import.ts @@ -58,7 +58,7 @@ import { } from "../../util/invariants.js"; import { Logger } from "@gnu-taler/taler-util"; import { initRetryInfo } from "../../util/retries.js"; -import { InternalWalletState } from "../../common.js"; +import { InternalWalletState } from "../../internal-wallet-state.js"; import { provideBackupState } from "./state.js"; import { makeEventId, TombstoneTag } from "../transactions.js"; import { getExchangeDetails } from "../exchanges.js"; diff --git a/packages/taler-wallet-core/src/operations/backup/index.ts b/packages/taler-wallet-core/src/operations/backup/index.ts index 400406ce3..8ddc0c064 100644 --- a/packages/taler-wallet-core/src/operations/backup/index.ts +++ b/packages/taler-wallet-core/src/operations/backup/index.ts @@ -55,7 +55,7 @@ import { TalerProtocolTimestamp, } from "@gnu-taler/taler-util"; import { gunzipSync, gzipSync } from "fflate"; -import { InternalWalletState } from "../../common.js"; +import { InternalWalletState } from "../../internal-wallet-state.js"; import { kdf } from "@gnu-taler/taler-util"; import { secretbox, secretbox_open } from "@gnu-taler/taler-util"; import { @@ -80,7 +80,6 @@ import { WalletStoresV1, WALLET_BACKUP_STATE_KEY, } from "../../db.js"; -import { guardOperationException } from "../../errors.js"; import { readSuccessResponseJsonOrThrow, readTalerErrorResponse, @@ -99,6 +98,7 @@ import { import { exportBackup } from "./export.js"; import { BackupCryptoPrecomputedData, importBackup } from "./import.js"; import { getWalletBackupState, provideBackupState } from "./state.js"; +import { guardOperationException } from "../common.js"; const logger = new Logger("operations/backup.ts"); diff --git a/packages/taler-wallet-core/src/operations/backup/state.ts b/packages/taler-wallet-core/src/operations/backup/state.ts index dc89c3d99..f25cc170a 100644 --- a/packages/taler-wallet-core/src/operations/backup/state.ts +++ b/packages/taler-wallet-core/src/operations/backup/state.ts @@ -23,7 +23,7 @@ import { } from "../../db.js"; import { checkDbInvariant } from "../../util/invariants.js"; import { GetReadOnlyAccess } from "../../util/query.js"; -import { InternalWalletState } from "../../common.js"; +import { InternalWalletState } from "../../internal-wallet-state.js"; export async function provideBackupState( ws: InternalWalletState, |