diff options
author | Florian Dold <florian@dold.me> | 2024-02-21 13:01:23 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-02-21 13:01:23 +0100 |
commit | 612b85c18fc17af412d08e075e1fddaa67aa7bf0 (patch) | |
tree | 2209cb052c94f70145d33271b7711e39728ad72b /packages/taler-wallet-core/src/common.ts | |
parent | 06635c195816121ed7d90cf7bd3834850b674564 (diff) | |
download | wallet-core-612b85c18fc17af412d08e075e1fddaa67aa7bf0.tar.xz |
move helpers to util
Diffstat (limited to 'packages/taler-wallet-core/src/common.ts')
-rw-r--r-- | packages/taler-wallet-core/src/common.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/common.ts b/packages/taler-wallet-core/src/common.ts index 942a36c7e..9b69ad6c4 100644 --- a/packages/taler-wallet-core/src/common.ts +++ b/packages/taler-wallet-core/src/common.ts @@ -35,6 +35,9 @@ import { TalerProtocolTimestamp, TombstoneIdStr, TransactionIdStr, + assertUnreachable, + checkDbInvariant, + checkLogicInvariant, durationMul, } from "@gnu-taler/taler-util"; import { @@ -58,8 +61,6 @@ import { timestampPreciseToDb, } from "./db.js"; import { createRefreshGroup } from "./refresh.js"; -import { assertUnreachable } from "./util/assertUnreachable.js"; -import { checkDbInvariant, checkLogicInvariant } from "./util/invariants.js"; import { InternalWalletState } from "./wallet.js"; const logger = new Logger("operations/common.ts"); |