@qwanyx/stack 0.2.87 → 0.2.88

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
@@ -6648,16 +6648,16 @@ function ky({
6648
6648
  return () => clearInterval(E);
6649
6649
  }, [o, e, t]), Te(() => {
6650
6650
  if (o[1].length <= 1) return;
6651
- const E = setTimeout(() => {
6652
- const N = setInterval(() => {
6651
+ let E = null;
6652
+ const N = setTimeout(() => {
6653
+ E = setInterval(() => {
6653
6654
  g((A) => !A), setTimeout(() => {
6654
6655
  c((A) => (A + 1) % o[1].length), y((A) => !A);
6655
6656
  }, 250);
6656
6657
  }, e + Math.random() * (t - e));
6657
- E.intervalId = N;
6658
6658
  }, 500);
6659
6659
  return () => {
6660
- clearTimeout(E), E.intervalId && clearInterval(E.intervalId);
6660
+ clearTimeout(N), E && clearInterval(E);
6661
6661
  };
6662
6662
  }, [o, e, t]);
6663
6663
  const _ = (C = o[0]) == null ? void 0 : C[a], w = (v = o[1]) == null ? void 0 : v[u];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qwanyx/stack",
3
- "version": "0.2.87",
3
+ "version": "0.2.88",
4
4
  "description": "Modern HyperCard for React - All-in-one data management (REST + Graph API + Auth + Hooks + UI)",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",