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