@nsshunt/stsvueutils 1.0.84 → 1.0.86

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.
@@ -203,7 +203,7 @@ function init(converter, defaultAttributes) {
203
203
  );
204
204
  }
205
205
  var api = init(defaultConverter, { path: "/" });
206
- const debug$3 = debugModule(`proc:${process.pid}:storage.ts`);
206
+ const debug$2 = debugModule(`proc:${process.pid}:storage.ts`);
207
207
  let PREFIX = "_ststra_";
208
208
  var ClientStorageType = /* @__PURE__ */ ((ClientStorageType2) => {
209
209
  ClientStorageType2["LOCAL_STORAGE"] = "LocalStorage";
@@ -235,7 +235,7 @@ class CookieStorage {
235
235
  } else {
236
236
  cookieAttributes.expires = 1;
237
237
  }
238
- debug$3(`CookieStorage.set: key: ${key}, value: [${value}]`);
238
+ debug$2(`CookieStorage.set: key: ${key}, value: [${value}]`);
239
239
  api.set(PREFIX + key, JSON.stringify(value), cookieAttributes);
240
240
  });
241
241
  __publicField(this, "remove", (key) => {
@@ -254,7 +254,7 @@ class SessionStorage {
254
254
  }
255
255
  });
256
256
  __publicField(this, "set", (key, value) => {
257
- debug$3(`SessionStorage.set: key: ${key}, value: [${value}]`);
257
+ debug$2(`SessionStorage.set: key: ${key}, value: [${value}]`);
258
258
  sessionStorage.setItem(PREFIX + key, JSON.stringify(value));
259
259
  });
260
260
  __publicField(this, "remove", (key) => {
@@ -273,7 +273,7 @@ class LocalStorage {
273
273
  }
274
274
  });
275
275
  __publicField(this, "set", (key, value) => {
276
- debug$3(`LocalStorage.set: key: ${key}, value: [${value}]`);
276
+ debug$2(`LocalStorage.set: key: ${key}, value: [${value}]`);
277
277
  localStorage.setItem(PREFIX + key, JSON.stringify(value));
278
278
  });
279
279
  __publicField(this, "remove", (key) => {
@@ -293,7 +293,7 @@ class MemoryStorage {
293
293
  }
294
294
  });
295
295
  __publicField(this, "set", (key, value) => {
296
- debug$3(`MemoryStorage.set: key: ${key}, value: [${value}]`);
296
+ debug$2(`MemoryStorage.set: key: ${key}, value: [${value}]`);
297
297
  __privateGet(this, _store)[PREFIX + key] = value;
298
298
  });
299
299
  __publicField(this, "remove", (key) => {
@@ -3639,13 +3639,14 @@ const _ObservabilityModelUtils = class _ObservabilityModelUtils2 {
3639
3639
  fieldList.forEach((field) => {
3640
3640
  if (field.quantile) {
3641
3641
  _ObservabilityModelUtils2.ParseModelNodeWithQuantile(model, data, parseLog, field.gauge, field.fieldName, `${field.fieldName}_quantile`);
3642
- } else if (field.histo) {
3643
- _ObservabilityModelUtils2.ParseModelNodeHisto(model, data, parseLog, field.histoGauge, `${field.fieldName}_histo`);
3644
3642
  } else if (field.gaugeType.localeCompare(GaugeTypes.INSTRUMENT_OBJECT) === 0) {
3645
3643
  _ObservabilityModelUtils2.ParseModelNodeObject(model, data, parseLog, field.gauge, field.fieldName);
3646
3644
  } else {
3647
3645
  _ObservabilityModelUtils2.ParseModelNode(model, data, parseLog, field.gauge, field.fieldName);
3648
3646
  }
3647
+ if (field.histo) {
3648
+ _ObservabilityModelUtils2.ParseModelNodeHisto(model, data, parseLog, field.histoGauge, `${field.fieldName}_histo`);
3649
+ }
3649
3650
  });
3650
3651
  }
3651
3652
  static GetModelForService(id, data, subscribeToKafka, logger) {
@@ -5244,7 +5245,6 @@ chalk.stderr = Chalk({ level: stderrColor ? stderrColor.level : 0 });
5244
5245
  chalk.stderr.supportsColor = stderrColor;
5245
5246
  var source = chalk;
5246
5247
  const chalk$1 = /* @__PURE__ */ getDefaultExportFromCjs(source);
5247
- const debug$2 = debugModule(`proc:${process.pid}:workerManager`);
5248
5248
  chalk$1.level = 3;
5249
5249
  class STSWorkerManager {
5250
5250
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -5624,16 +5624,16 @@ class STSWorkerManager {
5624
5624
  } else {
5625
5625
  __privateSet(this, _options, {});
5626
5626
  }
5627
- debug$2(`CompareSTSInstrumentControllerPluginKeyWMEx(): [${CompareSTSInstrumentControllerPluginKeyWMEx()}]`);
5628
- debug$2(`Attempting to get STSInstrumentControllerPlugin using symbol: [${String(STSInstrumentControllerPluginKey)}]`);
5627
+ console.log(chalk$1.yellow(`CompareSTSInstrumentControllerPluginKeyWMEx(): [${CompareSTSInstrumentControllerPluginKeyWMEx()}]`));
5628
+ console.log(chalk$1.yellow(`Attempting to get STSInstrumentControllerPlugin using symbol: [${String(STSInstrumentControllerPluginKey)}]`));
5629
5629
  __privateSet(this, _STSInstrumentController, GetSTSInstrumentController(app));
5630
- debug$2(__privateGet(this, _STSInstrumentController));
5631
- debug$2("keys within app.config.globalProperties.$sts");
5630
+ console.log(chalk$1.yellow(__privateGet(this, _STSInstrumentController)));
5631
+ console.log(chalk$1.yellow("keys within app.config.globalProperties.$sts"));
5632
5632
  for (const [key] of Object.entries(app.config.globalProperties.$sts)) {
5633
- debug$2(`${key}`);
5633
+ console.log(chalk$1.yellow(`${key}`));
5634
5634
  }
5635
5635
  if (!__privateGet(this, _STSInstrumentController)) {
5636
- debug$2(`Failed to get STSInstrumentControllerPlugin using symbol: [${String(STSInstrumentControllerPluginKey)}]`);
5636
+ console.log(chalk$1.yellow(`Failed to get STSInstrumentControllerPlugin using symbol: [${String(STSInstrumentControllerPluginKey)}]`));
5637
5637
  }
5638
5638
  }
5639
5639
  get WorkersEx() {