@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.cjs.js +33 -33
- package/dist/index.esm.js +4 -4
- package/package.json +1 -1
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
|
-
|
|
6652
|
-
|
|
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(
|
|
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