bstp-agent-widget 0.2.10 → 0.2.11

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.
@@ -25412,8 +25412,7 @@ function NA(e, t = null) {
25412
25412
  //#endregion
25413
25413
  //#region src/utils/debug.utils.ts
25414
25414
  function PA() {
25415
- let e = NA(Xy.DEBUG, !1);
25416
- return __DEV__ || !__DEV__ && e;
25415
+ return NA(Xy.DEBUG, !1);
25417
25416
  }
25418
25417
  function FA() {
25419
25418
  return PA() ? NA(Xy.SHOW_HTTP_ERROR_DEBUG_TOASTER, !1) : !1;
@@ -28548,7 +28547,7 @@ new class e {
28548
28547
  additionalFields;
28549
28548
  constructor(t, n = {}) {
28550
28549
  this.name = t, this.additionalFields = n.additionalFields ?? {}, this.config = {
28551
- enabled: __DEV__ ? n.enabled ?? PA() : !0,
28550
+ enabled: !0,
28552
28551
  minLogLevel: n.minLogLevel ?? e.globalConfig.minLogLevel
28553
28552
  };
28554
28553
  }
@@ -28569,10 +28568,7 @@ new class e {
28569
28568
  };
28570
28569
  }
28571
28570
  log(t, n, r) {
28572
- if (!(!this.config.enabled || !e.globalConfig.enabled || gF[t] < gF[this.config.minLogLevel])) if (__DEV__) {
28573
- let e = Object.fromEntries(Object.entries(r ?? {}).map(([e, t]) => [e, t?.toString() ?? t]));
28574
- Object.keys(e).length > 0 ? console.log(n, e) : console.log(n);
28575
- } else {
28571
+ if (!(!this.config.enabled || !e.globalConfig.enabled || gF[t] < gF[this.config.minLogLevel])) {
28576
28572
  let e = this.createLogEntry(t, n, r);
28577
28573
  console.log(JSON.stringify(e));
28578
28574
  }