taler-typescript-core

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

commit 845a792d033a2563b8057fbee007384b2e5e67a7
parent 5e20fe15f931203ff5e31f6fc64e582a615b5579
Author: Florian Dold <dold@taler.net>
Date:   Thu, 13 Aug 2026 12:47:15 +0200

taler-harness: update exchange integration helpers

Diffstat:
Mpackages/taler-harness/src/harness/harness.ts | 15+++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/packages/taler-harness/src/harness/harness.ts b/packages/taler-harness/src/harness/harness.ts @@ -1479,12 +1479,18 @@ export class ExchangeService implements ExchangeServiceInterface { return []; } - async runWirewatchOnce() { + async runWirewatchOnce(accountSection?: string) { await runCommand( this.globalState, `exchange-${this.name}-wirewatch-once`, "taler-exchange-wirewatch", - [...this.timetravelArgArr, "-c", this.configFilename, "-t"], + [ + ...this.timetravelArgArr, + "-c", + this.configFilename, + ...(accountSection ? ["-a", accountSection] : []), + "-t", + ], ); } @@ -1685,6 +1691,11 @@ export class ExchangeService implements ExchangeServiceInterface { this.configFilename, ConfigSources["taler-exchange"], ); + // Current exchange versions read the feature gate from [exchange]. Keep + // writing the legacy extension section below as well so the harness can + // still exercise older exchange installations. + config.setString("exchange", "age_restriction_enabled", "yes"); + config.setString("exchange", "age_groups", maskStr); config.setString("exchange-extension-age_restriction", "enabled", "yes"); config.setString( "exchange-extension-age_restriction",