From 3cc26d00f85209c804d9f356598c0f749367ea74 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 26 Jan 2023 12:48:35 +0100 Subject: put taler wallet RPC into taler-util, make it cross-platform --- packages/taler-wallet-cli/src/index.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'packages/taler-wallet-cli/src/index.ts') diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index 14000aefd..67d0e3784 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -24,7 +24,6 @@ import { clk, codecForList, codecForString, - CoreApiMessageEnvelope, CoreApiRequestEnvelope, CoreApiResponse, decodeCrock, @@ -45,7 +44,6 @@ import { openPromise, TalerCryptoInterface, TalerError, - WalletCoreResponseType, } from "@gnu-taler/taler-wallet-core"; import { CryptoDispatcher, @@ -64,7 +62,11 @@ import { } from "@gnu-taler/taler-wallet-core"; import fs from "fs"; import os from "os"; -import { connectRpc, JsonMessage, runRpcServer } from "./rpc.js"; +import { + connectRpc, + JsonMessage, + runRpcServer, +} from "@gnu-taler/taler-util/twrpc"; // This module also serves as the entry point for the crypto // thread worker, and thus must expose these two handlers. -- cgit v1.2.3