@signaliz/cli 1.0.75 → 1.0.76

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/bin.js +5 -2
  2. package/package.json +2 -2
package/dist/bin.js CHANGED
@@ -981,10 +981,13 @@ var INTERNAL_PRODUCT_OUTPUT_KEYS = /* @__PURE__ */ new Set([
981
981
  function publicCliValue(value) {
982
982
  if (Array.isArray(value)) return value.map(publicCliValue);
983
983
  if (!value || typeof value !== "object") return value;
984
+ const recordValue = value;
985
+ const isStoredAwarenessRead = recordValue.resultReturnedFrom === "stored_monitor_signals" && recordValue.liveProviderCalled === false;
984
986
  const output2 = {};
985
- for (const [key, raw] of Object.entries(value)) {
987
+ for (const [key, raw] of Object.entries(recordValue)) {
986
988
  const normalizedKey = key.toLowerCase().replace(/_/g, "");
987
- if (normalizedKey.includes("cache") || INTERNAL_PRODUCT_OUTPUT_KEYS.has(normalizedKey)) continue;
989
+ const safeStoredReadDiagnostic = isStoredAwarenessRead && (normalizedKey === "resultreturnedfrom" || normalizedKey === "liveprovidercalled");
990
+ if (normalizedKey.includes("cache") || INTERNAL_PRODUCT_OUTPUT_KEYS.has(normalizedKey) && !safeStoredReadDiagnostic) continue;
988
991
  if (typeof raw === "string" && (raw.toLowerCase().includes("cache") || raw === "available_data")) {
989
992
  if (["source", "emailsource", "emailsourcelabel", "verificationsource", "providerstatus"].includes(normalizedKey)) {
990
993
  output2[key] = normalizedKey === "verificationsource" ? "email_verification" : "email_finder";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signaliz/cli",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "description": "Signaliz CLI for Company Signal Enrichment, Signals First, Signal Awareness, Signal to Copy AI, and Signaliz Flow.",
5
5
  "bin": {
6
6
  "signaliz": "dist/bin.js"
@@ -29,7 +29,7 @@
29
29
  "node": ">=18"
30
30
  },
31
31
  "dependencies": {
32
- "@signaliz/sdk": "^1.0.80"
32
+ "@signaliz/sdk": "^1.0.81"
33
33
  },
34
34
  "devDependencies": {
35
35
  "tsup": "^8.0.0",