From 1c286ebb2f1c817f5362517d47466c39826c8699 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 16 Jan 2024 13:15:40 +0100 Subject: wallet-core: implement remaining DD48 calls, test --- packages/taler-wallet-core/src/db.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'packages/taler-wallet-core/src/db.ts') diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 5a412fb27..73739c19c 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -149,7 +149,7 @@ export const CURRENT_DB_CONFIG_KEY = "currentMainDbName"; * backwards-compatible way or object stores and indices * are added. */ -export const WALLET_DB_MINOR_VERSION = 1; +export const WALLET_DB_MINOR_VERSION = 2; declare const symDbProtocolTimestamp: unique symbol; @@ -2383,6 +2383,9 @@ export const WalletStoresV1 = { autoIncrement: true, }), { + byExchangeBaseUrl: describeIndex("byExchangeBaseUrl", "exchangeBaseUrl", { + versionAdded: 2, + }), byPointer: describeIndex( "byDetailsPointer", ["exchangeBaseUrl", "currency", "masterPublicKey"], @@ -2461,6 +2464,9 @@ export const WalletStoresV1 = { }), { byStatus: describeIndex("byStatus", "status"), + byExchangeBaseUrl: describeIndex("byExchangeBaseUrl", "exchangeBaseUrl", { + versionAdded: 2, + }), byTalerWithdrawUri: describeIndex( "byTalerWithdrawUri", "wgInfo.bankInfo.talerWithdrawUri", -- cgit v1.2.3