aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-01-24 20:51:44 +0100
committerFlorian Dold <florian@dold.me>2022-01-24 20:51:47 +0100
commit171d070a83c93082026c9e757f7520139ec655c9 (patch)
tree0f3d83caf250780b01a2fdec7c2c2ec64665231d /packages/taler-util
parentee492b255267b6cb2ceaa4aee065a5d690177ef5 (diff)
make tipping work with latest merchant protocol
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/talerTypes.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/taler-util/src/talerTypes.ts b/packages/taler-util/src/talerTypes.ts
index 41aa53fd4..2f2576d82 100644
--- a/packages/taler-util/src/talerTypes.ts
+++ b/packages/taler-util/src/talerTypes.ts
@@ -1654,3 +1654,14 @@ export enum ExchangeProtocolVersion {
V9 = 9,
V12 = 12,
}
+
+export enum MerchantProtocolVersion {
+ /**
+ * Legacy version that is still supported.
+ */
+ V1 = 1,
+ /**
+ * Current version supported by the wallet.
+ */
+ V3 = 3,
+}