taler-typescript-core

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

commit ba14f5cc8f5a4b9c3768c9471da6a688f6e06c59
parent 407e080c9c7de7008ec96c0970be378fff5bf86b
Author: Florian Dold <florian@dold.me>
Date:   Fri, 26 Jun 2026 21:24:13 +0200

harness: tweaks to tokens playground

Diffstat:
Mpackages/taler-harness/src/playground.ts | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/packages/taler-harness/src/playground.ts b/packages/taler-harness/src/playground.ts @@ -218,12 +218,13 @@ export async function runPlaygroundAdvancedTokens1( description: "Buy an individual article", }, { - amount: subscriptionAmount as AmountString, - description: "Article and discount", + amount: `${config.currency}:3` as AmountString, + description: "Article and 3 discounts", outputs: [ { type: OrderOutputType.Token, token_family_slug: slugDiscount1, + count: 3, }, ], }, @@ -248,7 +249,7 @@ export async function runPlaygroundAdvancedTokens1( outputs: [], }, { - amount: articleAmount, + amount: `${config.currency}:0` as AmountString, description: "Article via subscription", inputs: [ {