taler-typescript-core

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

commit aacf7787143ecd72ed475f9608be81a9530ea9c4
parent 72001fe8bc0d698974adf36466b32485c65ceb5b
Author: Florian Dold <dold@taler.net>
Date:   Sun, 16 Aug 2026 19:58:55 +0200

taler-util: accept current merchant response fields

Diffstat:
Mpackages/taler-util/src/types-taler-merchant.ts | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/packages/taler-util/src/types-taler-merchant.ts b/packages/taler-util/src/types-taler-merchant.ts @@ -1201,6 +1201,12 @@ export type MerchantPersona = | "e-commerce"; export interface MerchantVersionResponse { + // Release version of the source code. + // The format is MAJOR.MINOR.MICRO[-GITDATA] + // and generally follows the "-v" option of the codebase. + // Since **v33**. + build_version?: string; + // libtool-style representation of the Merchant protocol version, see // https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning // The format is "current:revision:age". @@ -4522,6 +4528,7 @@ const codecForExchangeConfigInfo = (): Codec<ExchangeConfigInfo> => export const codecForTalerMerchantConfigResponse = (): Codec<MerchantVersionResponse> => buildCodecForObject<MerchantVersionResponse>() + .property("build_version", codecOptional(codecForString())) .property("name", codecForConstString("taler-merchant")) .property("currency", codecForString()) .property( @@ -5476,6 +5483,7 @@ export const codecForWalletTemplateDetails = "editable_defaults", codecOptional(codecForTemplateContractDetailsDefaults()), ) + .property("required_currency", codecOptional(codecForString())) .build("TalerMerchantApi.WalletTemplateDetails"); export const codecForWebhookSummaryResponse =