summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/index.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-14 13:06:42 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-14 13:06:42 +0530
commite3850158c249d890399fdb9e083ec7e654a8380f (patch)
tree3226a8cb652e38d8c9290914b7c30f8b8ac9345b /packages/taler-wallet-cli/src/index.ts
parentd5f894690ee554909c1f8b1b8179fa110784dc4f (diff)
downloadwallet-core-e3850158c249d890399fdb9e083ec7e654a8380f.tar.gz
wallet-core-e3850158c249d890399fdb9e083ec7e654a8380f.tar.bz2
wallet-core-e3850158c249d890399fdb9e083ec7e654a8380f.zip
re-implement integration test functionalty that will be used by the exchange for testing
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,