diff options
author | Florian Dold <florian@dold.me> | 2023-10-23 16:04:35 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-10-23 16:04:40 +0200 |
commit | 2200de4e35766457c965b1a169737f71f051d516 (patch) | |
tree | 46ab897e6e0d36e9f8507f45251b1927cda7b169 /packages/taler-wallet-embedded/src | |
parent | 39600bcd74a92e3444b5ba66480ce4a5dc225c72 (diff) | |
download | wallet-core-2200de4e35766457c965b1a169737f71f051d516.tar.xz |
-casts
Diffstat (limited to 'packages/taler-wallet-embedded/src')
-rw-r--r-- | packages/taler-wallet-embedded/src/wallet-qjs.ts | 9 |
1 files 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/", |