summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/backup/state.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-06-14 16:08:58 +0200
committerFlorian Dold <florian@dold.me>2021-06-14 16:08:58 +0200
commit1cde390c23f2668a3777752632c48febd10a28ee (patch)
treed5efa59c867b8a92e32fde37da841c4c0b8154fd /packages/taler-wallet-core/src/operations/backup/state.ts
parentbed86d96135d3f7faa34d9c1e377c8fb2b06abea (diff)
downloadwallet-core-1cde390c23f2668a3777752632c48febd10a28ee.tar.gz
wallet-core-1cde390c23f2668a3777752632c48febd10a28ee.tar.bz2
wallet-core-1cde390c23f2668a3777752632c48febd10a28ee.zip
fix up imports, no more esm in tests
Diffstat (limited to 'packages/taler-wallet-core/src/operations/backup/state.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/backup/state.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/operations/backup/state.ts b/packages/taler-wallet-core/src/operations/backup/state.ts
index 1ab0c027e..bb540d5af 100644
--- a/packages/taler-wallet-core/src/operations/backup/state.ts
+++ b/packages/taler-wallet-core/src/operations/backup/state.ts
@@ -14,16 +14,16 @@
GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
+import { encodeCrock, getRandomBytes } from "../../crypto/talerCrypto.js";
import {
ConfigRecord,
WalletBackupConfState,
WalletStoresV1,
WALLET_BACKUP_STATE_KEY,
} from "../../db.js";
-import { getRandomBytes, encodeCrock } from "../../index.js";
-import { checkDbInvariant } from "../../util/invariants";
+import { checkDbInvariant } from "../../util/invariants.js";
import { GetReadOnlyAccess } from "../../util/query.js";
-import { InternalWalletState } from "../state";
+import { InternalWalletState } from "../state.js";
export async function provideBackupState(
ws: InternalWalletState,