diff options
author | Florian Dold <florian@dold.me> | 2021-03-17 17:56:37 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-03-17 17:56:37 +0100 |
commit | 07cdfb2e4ec761021477271776b81f33af0e731d (patch) | |
tree | cb62b1d1a04e1e64b8ee47e78196e858727d2c0a /packages/taler-wallet-cli/src/index.ts | |
parent | 42a4d666f42ce94274995bfdae644444ff5f6d53 (diff) | |
download | wallet-core-07cdfb2e4ec761021477271776b81f33af0e731d.tar.gz wallet-core-07cdfb2e4ec761021477271776b81f33af0e731d.tar.bz2 wallet-core-07cdfb2e4ec761021477271776b81f33af0e731d.zip |
towards wallet-core / util split
Diffstat (limited to 'packages/taler-wallet-cli/src/index.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 35 |
1 files changed, 7 insertions, 28 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index acf46526f..8865c3303 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -14,34 +14,16 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ +/** + * Imports. + */ import os from "os"; import fs from "fs"; -import { - getDefaultNodeWallet, - Logger, - Amounts, - Wallet, - OperationFailedAndReportedError, - OperationFailedError, - NodeHttpLib, - PreparePayResultType, - setDangerousTimetravel, - classifyTalerUri, - TalerUriType, - decodeCrock, - addPaytoQueryParams, - codecForList, - codecForString, - printTestVectors, - NodeThreadCryptoWorkerFactory, - CryptoApi, - rsaBlind, - RecoveryMergeStrategy, - stringToBytes, -} from "@gnu-taler/taler-wallet-core"; -import * as clk from "./clk"; +import * as clk from "./clk.js"; import { deepStrictEqual } from "assert"; -import { getTestInfo, runTests } from "./integrationtests/testrunner"; +import { getTestInfo, runTests } from "./integrationtests/testrunner.js"; +import { PreparePayResultType, setDangerousTimetravel, classifyTalerUri, TalerUriType, RecoveryMergeStrategy, Amounts, addPaytoQueryParams, codecForList, codecForString } from "@gnu-taler/taler-util"; +import { Logger, Wallet, NodeHttpLib, getDefaultNodeWallet, OperationFailedAndReportedError, OperationFailedError, decodeCrock, rsaBlind, NodeThreadCryptoWorkerFactory, CryptoApi } from "@gnu-taler/taler-wallet-core"; // This module also serves as the entry point for the crypto // thread worker, and thus must expose these two handlers. @@ -811,9 +793,6 @@ testCli }); }); -testCli.subcommand("vectors", "vectors").action(async (args) => { - printTestVectors(); -}); async function read(stream: NodeJS.ReadStream) { const chunks = []; |