@elnora-ai/cli 1.5.3 → 1.5.5

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/dist/cli.js +5 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -25,7 +25,7 @@ var VERSION, PRODUCTION_BASE_URL, BASE_URL, AI_SERVER_URL, ENDPOINTS, DEFAULT_HE
25
25
  var init_config = __esm({
26
26
  "src/lib/config.ts"() {
27
27
  "use strict";
28
- VERSION = true ? "1.5.3" : process.env.npm_package_version ?? "0.0.0-dev";
28
+ VERSION = true ? "1.5.5" : process.env.npm_package_version ?? "0.0.0-dev";
29
29
  PRODUCTION_BASE_URL = "https://platform.elnora.ai/api/v1";
30
30
  BASE_URL = process.env.ELNORA_API_URL ?? PRODUCTION_BASE_URL;
31
31
  AI_SERVER_URL = process.env.ELNORA_AI_SERVER_URL ?? "https://platform.elnora.ai/ai-server";
@@ -134,7 +134,10 @@ function scrub(text) {
134
134
  }
135
135
  }
136
136
  result = result.replace(SCRUB_KEY_VALUE_RE, "[REDACTED]");
137
- result = result.replace(SCRUB_LONG_TOKEN_RE, "[REDACTED]");
137
+ result = result.replace(SCRUB_LONG_TOKEN_RE, (match) => {
138
+ if (match.startsWith("elnora_live_")) return "[REDACTED]";
139
+ return /\d/.test(match) ? "[REDACTED]" : match;
140
+ });
138
141
  return result;
139
142
  }
140
143
  function scrubData(obj) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elnora-ai/cli",
3
- "version": "1.5.3",
3
+ "version": "1.5.5",
4
4
  "description": "Elnora AI Platform CLI",
5
5
  "type": "module",
6
6
  "bin": {