wallet-core/src/operations/versions.ts

33 lines
1.1 KiB
TypeScript
Raw Normal View History

2019-12-16 16:59:09 +01:00
/*
This file is part of GNU Taler
(C) 2019 Taler Systems S.A.
GNU Taler is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation; either version 3, or (at your option) any later version.
GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
/**
* Wallet protocol version spoken with the exchange
* and merchant.
*
* Uses libtool's current:revision:age versioning.
*/
2020-03-09 12:07:46 +01:00
export const WALLET_EXCHANGE_PROTOCOL_VERSION = "7:0:0";
2019-12-16 16:59:09 +01:00
/**
* Cache breaker that is appended to queries such as /keys and /wire
* to break through caching, if it has been accidentally/badly configured
* by the exchange.
2020-03-30 12:39:32 +02:00
*
* This is only a temporary measure.
2019-12-16 16:59:09 +01:00
*/
2020-03-30 12:39:32 +02:00
export const WALLET_CACHE_BREAKER_CLIENT_VERSION = "3";