@uniformdev/context 19.195.1-alpha.2 → 19.195.1-alpha.3

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/index.esm.js CHANGED
@@ -1684,8 +1684,9 @@ var Context = class {
1684
1684
  variantAssigned: true
1685
1685
  });
1686
1686
  });
1687
+ const haveQuirksChanged = __privateGet(this, _serverTransitionState) && !dequal5(__privateGet(this, _serverTransitionState).quirks, this.storage.data.quirks);
1687
1688
  __privateSet(this, _serverTransitionState, void 0);
1688
- if (Object.keys(this.storage.data.quirks).length) {
1689
+ if (haveQuirksChanged) {
1689
1690
  __privateGet(this, _mitt3).emit("quirksUpdated", this.storage.data.quirks);
1690
1691
  }
1691
1692
  __privateGet(this, _mitt3).emit("log", ["debug", 131]);
package/dist/index.js CHANGED
@@ -1768,8 +1768,9 @@ var Context = class {
1768
1768
  variantAssigned: true
1769
1769
  });
1770
1770
  });
1771
+ const haveQuirksChanged = __privateGet(this, _serverTransitionState) && !(0, import_lite5.dequal)(__privateGet(this, _serverTransitionState).quirks, this.storage.data.quirks);
1771
1772
  __privateSet(this, _serverTransitionState, void 0);
1772
- if (Object.keys(this.storage.data.quirks).length) {
1773
+ if (haveQuirksChanged) {
1773
1774
  __privateGet(this, _mitt3).emit("quirksUpdated", this.storage.data.quirks);
1774
1775
  }
1775
1776
  __privateGet(this, _mitt3).emit("log", ["debug", 131]);
package/dist/index.mjs CHANGED
@@ -1684,8 +1684,9 @@ var Context = class {
1684
1684
  variantAssigned: true
1685
1685
  });
1686
1686
  });
1687
+ const haveQuirksChanged = __privateGet(this, _serverTransitionState) && !dequal5(__privateGet(this, _serverTransitionState).quirks, this.storage.data.quirks);
1687
1688
  __privateSet(this, _serverTransitionState, void 0);
1688
- if (Object.keys(this.storage.data.quirks).length) {
1689
+ if (haveQuirksChanged) {
1689
1690
  __privateGet(this, _mitt3).emit("quirksUpdated", this.storage.data.quirks);
1690
1691
  }
1691
1692
  __privateGet(this, _mitt3).emit("log", ["debug", 131]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/context",
3
- "version": "19.195.1-alpha.2+f70c499178",
3
+ "version": "19.195.1-alpha.3+0a17ec705c",
4
4
  "description": "Uniform Context core package",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "f70c49917880b1aba91884760926f6ea66700a97"
71
+ "gitHead": "0a17ec705cf1f0ecd6a944fd1606a857c491579b"
72
72
  }