diff options
author | Florian Dold <florian@dold.me> | 2021-06-15 18:52:43 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-06-15 18:52:43 +0200 |
commit | d41ae5eb97a5264b1d61321354eac049ca317c97 (patch) | |
tree | a8e78bee0ff2a92f0b3f1cb9230442186dd17358 /packages/taler-wallet-core/src/operations/backup/index.ts | |
parent | 4b16d7bd342dbb5376fd2cef08b14ebabbe4ed10 (diff) | |
download | wallet-core-d41ae5eb97a5264b1d61321354eac049ca317c97.tar.xz |
separate wallet state from wallet client
Diffstat (limited to 'packages/taler-wallet-core/src/operations/backup/index.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/backup/index.ts | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/operations/backup/index.ts b/packages/taler-wallet-core/src/operations/backup/index.ts index 00a76bd19..2cc056721 100644 --- a/packages/taler-wallet-core/src/operations/backup/index.ts +++ b/packages/taler-wallet-core/src/operations/backup/index.ts @@ -38,7 +38,10 @@ import { WalletBackupConfState, WALLET_BACKUP_STATE_KEY, } from "../../db.js"; -import { checkDbInvariant, checkLogicInvariant } from "../../util/invariants.js"; +import { + checkDbInvariant, + checkLogicInvariant, +} from "../../util/invariants.js"; import { bytesToString, decodeCrock, @@ -83,8 +86,15 @@ import { TalerErrorDetails, } from "@gnu-taler/taler-util"; import { CryptoApi } from "../../crypto/workers/cryptoApi.js"; -import { secretbox, secretbox_open } from "../../crypto/primitives/nacl-fast.js"; -import { checkPaymentByProposalId, confirmPay, preparePayForUri } from "../pay.js"; +import { + secretbox, + secretbox_open, +} from "../../crypto/primitives/nacl-fast.js"; +import { + checkPaymentByProposalId, + confirmPay, + preparePayForUri, +} from "../pay.js"; import { exportBackup } from "./export.js"; import { BackupCryptoPrecomputedData, importBackup } from "./import.js"; import { provideBackupState, getWalletBackupState } from "./state.js"; |