@vario-software/vario-app-framework-backend 2026.8.0 → 2026.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/app.js +5 -3
  2. package/package.json +1 -1
package/app.js CHANGED
@@ -120,11 +120,13 @@ function validateClient(client)
120
120
  throw new Error(`client config is missing: ${missingProps.join()}`);
121
121
  }
122
122
 
123
- try
123
+ if (typeof client.appJWK === 'string')
124
124
  {
125
- JSON.parse(client.appJWK);
125
+ try { client.appJWK = JSON.parse(client.appJWK); }
126
+ catch { /* handled below */ }
126
127
  }
127
- catch
128
+
129
+ if (typeof client.appJWK !== 'object' || client.appJWK === null)
128
130
  {
129
131
  throw new Error('appJWK is not a valid JSON');
130
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vario-software/vario-app-framework-backend",
3
- "version": "2026.08.0",
3
+ "version": "2026.09.1",
4
4
  "repository": "https://github.com/vario-software/vario-app-framework",
5
5
  "author": "VARIO Software AG",
6
6
  "homepage": "https://www.vario.ag",