summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-cli/src/index.ts')
-rw-r--r--packages/taler-wallet-cli/src/index.ts8
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts
index a32ed2267..94f01ba80 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -26,7 +26,6 @@ import {
NodeHttpLib,
PreparePayResultType,
setDangerousTimetravel,
- handleCoreApiRequest,
classifyTalerUri,
TalerUriType,
decodeCrock,
@@ -34,10 +33,10 @@ import {
codecForList,
codecForString,
printTestVectors,
+ NodeThreadCryptoWorkerFactory,
+ CryptoApi,
} from "taler-wallet-core";
import * as clk from "./clk";
-import { NodeThreadCryptoWorkerFactory } from "taler-wallet-core/lib/crypto/workers/nodeThreadWorker";
-import { CryptoApi } from "taler-wallet-core/lib/crypto/workers/cryptoApi";
// This module also serves as the entry point for the crypto
// thread worker, and thus must expose these two handlers.
@@ -210,8 +209,7 @@ walletCli
console.error("Invalid JSON");
process.exit(1);
}
- const resp = await handleCoreApiRequest(
- wallet,
+ const resp = await wallet.handleCoreApiRequest(
args.api.operation,
"reqid-1",
requestJson,