taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 2200de4e35766457c965b1a169737f71f051d516
parent 39600bcd74a92e3444b5ba66480ce4a5dc225c72
Author: Florian Dold <florian@dold.me>
Date:   Mon, 23 Oct 2023 16:04:35 +0200

-casts

Diffstat:
Mpackages/taler-wallet-embedded/src/wallet-qjs.ts | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/packages/taler-wallet-embedded/src/wallet-qjs.ts b/packages/taler-wallet-embedded/src/wallet-qjs.ts @@ -22,6 +22,7 @@ * Imports. */ import { + AmountString, CoreApiMessageEnvelope, CoreApiResponse, CoreApiResponseSuccess, @@ -276,8 +277,8 @@ export async function testWithGv() { }); await w.wallet.client.call(WalletApiOperation.InitWallet, {}); await w.wallet.client.call(WalletApiOperation.RunIntegrationTest, { - amountToSpend: "KUDOS:1", - amountToWithdraw: "KUDOS:3", + amountToSpend: "KUDOS:1" as AmountString, + amountToWithdraw: "KUDOS:3" as AmountString, corebankApiBaseUrl: "https://bank.demo.taler.net/", exchangeBaseUrl: "https://exchange.demo.taler.net/", @@ -304,8 +305,8 @@ export async function testWithLocal(path: string) { }); console.log("initialized wallet"); await w.wallet.client.call(WalletApiOperation.RunIntegrationTest, { - amountToSpend: "TESTKUDOS:1", - amountToWithdraw: "TESTKUDOS:3", + amountToSpend: "TESTKUDOS:1" as AmountString, + amountToWithdraw: "TESTKUDOS:3" as AmountString, corebankApiBaseUrl: "http://localhost:8082/taler-bank-access/", exchangeBaseUrl: "http://localhost:8081/", merchantBaseUrl: "http://localhost:8083/",