gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated (459422eb5 -> af4064ce7)


From: gnunet
Subject: [taler-wallet-core] branch master updated (459422eb5 -> af4064ce7)
Date: Fri, 27 Jan 2023 12:38:27 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a change to branch master
in repository wallet-core.

    from 459422eb5 -typo
     new 5b11bafc7 -missing version bumps
     new bc4e2d414 -missing dist file
     new af4064ce7 wallet-core: improve error message when store is missing

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Makefile                                                |  2 ++
 packages/taler-harness/package.json                     |  2 +-
 packages/taler-util/package.json                        |  2 +-
 packages/taler-wallet-core/src/util/query.ts            | 17 +++++++++++++++++
 packages/taler-wallet-webextension/manifest-common.json |  2 +-
 packages/taler-wallet-webextension/package.json         |  2 +-
 packages/web-util/package.json                          |  4 ++--
 7 files changed, 25 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index a5e97c9aa..92e60843e 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,8 @@ dist:
                --include ./configure \
                --include ./packages/taler-wallet-cli/configure \
                --include ./packages/demobank-ui/configure \
+               --include ./packages/taler-harness/configure \
+               --include ./packages/merchant-backoffice-ui/configure \
                taler-wallet-$(shell git describe --tags --abbrev=0).tar.gz
 
 # Create tarball with git hash prefix in name
diff --git a/packages/taler-harness/package.json 
b/packages/taler-harness/package.json
index 28ea93830..dbaed9d38 100644
--- a/packages/taler-harness/package.json
+++ b/packages/taler-harness/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@gnu-taler/taler-harness",
-  "version": "0.9.0-dev.2",
+  "version": "0.9.1",
   "description": "",
   "engines": {
     "node": ">=0.12.0"
diff --git a/packages/taler-util/package.json b/packages/taler-util/package.json
index 005d66123..4b579ecf7 100644
--- a/packages/taler-util/package.json
+++ b/packages/taler-util/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@gnu-taler/taler-util",
-  "version": "0.9.0",
+  "version": "0.9.1",
   "description": "Generic helper functionality for GNU Taler",
   "type": "module",
   "types": "./lib/index.node.d.ts",
diff --git a/packages/taler-wallet-core/src/util/query.ts 
b/packages/taler-wallet-core/src/util/query.ts
index 56a23c2dd..0efda88cf 100644
--- a/packages/taler-wallet-core/src/util/query.ts
+++ b/packages/taler-wallet-core/src/util/query.ts
@@ -670,6 +670,23 @@ export class DbAccess<StoreMap> {
       accessibleStores[sn] = swi;
     }
 
+    const storeMapKeys = Object.keys(this.stores as any);
+    for (const storeMapKey of storeMapKeys) {
+      const swi = (this.stores as any)[storeMapKey] as StoreWithIndexes<
+        any,
+        any,
+        any
+      >;
+      if (!accessibleStores[swi.storeName]) {
+        const version = this.db.version;
+        throw Error(
+          `store '${swi.storeName}' required by schema but not in database 
(minver=${version})`,
+        );
+      }
+    }
+
+    logger.info(`accessible stores: ${Object.keys(accessibleStores)}`);
+
     const runReadOnly = <T>(
       txf: ReadOnlyTransactionFunction<StoreMap, T>,
     ): Promise<T> => {
diff --git a/packages/taler-wallet-webextension/manifest-common.json 
b/packages/taler-wallet-webextension/manifest-common.json
index 7f9ee18c1..a28d80691 100644
--- a/packages/taler-wallet-webextension/manifest-common.json
+++ b/packages/taler-wallet-webextension/manifest-common.json
@@ -2,7 +2,7 @@
   "name": "GNU Taler Wallet (git)",
   "description": "Privacy preserving and transparent payments",
   "author": "GNU Taler Developers",
-  "version": "0.9.0.35",
+  "version": "0.9.1",
   "version_name": "0.9.1",
   "icons": {
     "16": "static/img/taler-logo-16.png",
diff --git a/packages/taler-wallet-webextension/package.json 
b/packages/taler-wallet-webextension/package.json
index 87fb27a72..076e43dc1 100644
--- a/packages/taler-wallet-webextension/package.json
+++ b/packages/taler-wallet-webextension/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@gnu-taler/taler-wallet-webextension",
-  "version": "0.9.0",
+  "version": "0.9.",
   "description": "GNU Taler Wallet browser extension",
   "main": "./build/index.js",
   "types": "./build/index.d.ts",
diff --git a/packages/web-util/package.json b/packages/web-util/package.json
index 1df2852b0..ad44ed67f 100644
--- a/packages/web-util/package.json
+++ b/packages/web-util/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@gnu-taler/web-util",
-  "version": "0.9.0",
+  "version": "0.9.1",
   "description": "Generic helper functionality for GNU Taler Web Apps",
   "type": "module",
   "types": "./lib/index.node.d.ts",
@@ -42,4 +42,4 @@
     "typescript": "^4.9.4",
     "ws": "7.4.5"
   }
-}
\ No newline at end of file
+}

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]