gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 03/03: -casts


From: gnunet
Subject: [taler-wallet-core] 03/03: -casts
Date: Mon, 23 Oct 2023 16:04:46 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

commit 2200de4e35766457c965b1a169737f71f051d516
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Oct 23 16:04:35 2023 +0200

    -casts
---
 packages/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
index 1b3e3ae81..fff86aeb2 100644
--- 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/";,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]