summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/backup
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-06-15 18:52:43 +0200
committerFlorian Dold <florian@dold.me>2021-06-15 18:52:43 +0200
commitd41ae5eb97a5264b1d61321354eac049ca317c97 (patch)
treea8e78bee0ff2a92f0b3f1cb9230442186dd17358 /packages/taler-wallet-core/src/operations/backup
parent4b16d7bd342dbb5376fd2cef08b14ebabbe4ed10 (diff)
downloadwallet-core-d41ae5eb97a5264b1d61321354eac049ca317c97.tar.gz
wallet-core-d41ae5eb97a5264b1d61321354eac049ca317c97.tar.bz2
wallet-core-d41ae5eb97a5264b1d61321354eac049ca317c97.zip
separate wallet state from wallet client
Diffstat (limited to 'packages/taler-wallet-core/src/operations/backup')
-rw-r--r--packages/taler-wallet-core/src/operations/backup/index.ts16
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";