commit 47b1dd91f0faedf73cdca1bca93b738180b59392
parent 36cb4767048256363978737316b78dafe3c635b3
Author: Florian Dold <dold@taler.net>
Date: Thu, 3 Sep 2026 16:01:24 +0200
wallet-core: advertise the merchant protocol version we implement
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/packages/taler-wallet-core/src/versions.ts b/packages/taler-wallet-core/src/versions.ts
@@ -14,7 +14,10 @@
GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
-import { TalerExchangeHttpClient } from "@gnu-taler/taler-util";
+import {
+ TalerExchangeHttpClient,
+ TalerMerchantInstanceHttpClient,
+} from "@gnu-taler/taler-util";
/**
* Protocol version spoken with the exchange.
@@ -29,7 +32,8 @@ export const WALLET_EXCHANGE_PROTOCOL_VERSION =
*
* Uses libtool's current:revision:age versioning.
*/
-export const WALLET_MERCHANT_PROTOCOL_VERSION = "5:0:1";
+export const WALLET_MERCHANT_PROTOCOL_VERSION =
+ TalerMerchantInstanceHttpClient.PROTOCOL_VERSION;
/**
* Protocol version spoken with the bank (corebank API).