pollcatch 2.5.1 → 2.5.2

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/package.json +1 -1
  2. package/pc.js +2 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pollcatch",
3
3
  "private": false,
4
- "version": "2.5.1",
4
+ "version": "2.5.2",
5
5
  "type": "module",
6
6
  "main": "pc.js",
7
7
  "module": "pc.js",
package/pc.js CHANGED
@@ -805,7 +805,7 @@ var mo = { grad: 0.9, turn: 360, rad: 360 / (2 * Math.PI) }, L = function(e) {
805
805
  }(), O = function(e) {
806
806
  return e instanceof we ? e : new we(e);
807
807
  };
808
- const So = typeof process < "u" ? process.env.NODE_ENV === "development" || process.env.NODE_ENV === "test" : !1;
808
+ const So = typeof process < "u" && (process.env.NODE_ENV === "development" || process.env.NODE_ENV === "test");
809
809
  function Vt() {
810
810
  if (So) return !0;
811
811
  try {
@@ -6389,7 +6389,7 @@ let Y = class extends R {
6389
6389
  breakdown: ((p = (d = y.data) == null ? void 0 : d.stats) == null ? void 0 : p.breakdown) ?? {},
6390
6390
  updatedAt: ((v = (h = y.data) == null ? void 0 : h.stats) == null ? void 0 : v.updatedAt) || ((k = (x = y.data) == null ? void 0 : x.stats) == null ? void 0 : k.updated_at)
6391
6391
  }
6392
- }), this.type = E, await this.updateComplete, this.forceUpdate();
6392
+ }), this.type = E, this.isLoadingType = !1, await this.updateComplete, this.forceUpdate();
6393
6393
  } catch (P) {
6394
6394
  g.error("poll-catch: Failed to fetch widget config", P);
6395
6395
  } finally {