@open-wa/api 5.3.0 → 5.4.0

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.
package/dist/index.cjs CHANGED
@@ -196,7 +196,7 @@ function createApiMiddleware(clientSource, options) {
196
196
  //#endregion
197
197
  //#region src/version.ts
198
198
  /** Version of the API package running the Easy API server. */
199
- const API_VERSION = "5.3.0";
199
+ const API_VERSION = "5.4.0";
200
200
  //#endregion
201
201
  //#region src/docs/openapi.ts
202
202
  function schemaToOpenApi(schema) {
@@ -816,7 +816,9 @@ function registerDebugRoutes(app, options) {
816
816
  "elasticPassword",
817
817
  "elasticUsername",
818
818
  "sessionData",
819
- "sessionDataBucketAuth"
819
+ "sessionDataBucketAuth",
820
+ "sessionDataEncryptionKey",
821
+ "sessionDataEncryptionKeyFile"
820
822
  ]) if (redacted[key]) redacted[key] = "***REDACTED***";
821
823
  if (redacted.proxyServerCredentials) redacted.proxyServerCredentials = {
822
824
  ...redacted.proxyServerCredentials,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/api",
3
- "version": "5.3.0",
3
+ "version": "5.4.0",
4
4
  "description": "Reusable Easy API transport and runtime explorer layer for open-wa",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@elastic/elasticsearch": "^9.5.1",
21
21
  "@hono/node-server": "^2.1.1",
22
- "@open-wa/mcp": "5.3.0",
23
- "@open-wa/schema": "5.3.0",
24
- "@open-wa/screencaster": "5.3.0",
22
+ "@open-wa/mcp": "5.4.0",
23
+ "@open-wa/schema": "5.4.0",
24
+ "@open-wa/screencaster": "5.4.0",
25
25
  "hono": "^4.13.9",
26
26
  "tree-kill": "^1.2.2",
27
27
  "ws": "^8.22.0"
@@ -47,7 +47,8 @@ export function registerDebugRoutes(
47
47
  const config = options.getConfig();
48
48
  // Redact sensitive fields
49
49
  const redacted = { ...config } as Record<string, unknown>;
50
- const sensitiveKeys = ['apiKey', 'licenseKey', 'elasticPassword', 'elasticUsername', 'sessionData', 'sessionDataBucketAuth'];
50
+ const sensitiveKeys = ['apiKey', 'licenseKey', 'elasticPassword', 'elasticUsername', 'sessionData', 'sessionDataBucketAuth',
51
+ 'sessionDataEncryptionKey', 'sessionDataEncryptionKeyFile'];
51
52
  for (const key of sensitiveKeys) {
52
53
  if (redacted[key]) {
53
54
  redacted[key] = '***REDACTED***';