@opfr/services 0.29.11 → 0.29.12

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.es.js CHANGED
@@ -8663,9 +8663,9 @@ const Ee = ((As = T) == null ? void 0 : As.UserMeta) || F("UserMeta", ft), br =
8663
8663
  }, xh = (t) => {
8664
8664
  const a = t.trim().length, s = 2;
8665
8665
  return a < 10 ? 10 * s : a > 300 ? 300 * s : a * s;
8666
- }, Uh = (t, a, s) => (a *= 1 + ts(t), Math.ceil(a * s)), Sh = (t, a) => {
8667
- const s = vr(t);
8668
- return a <= 0 ? a : Math.ceil(a * (s || 1));
8666
+ }, Uh = (t, a, s) => (a *= 1 + ts(t), Math.ceil(a * s)), Sh = (t, a, s) => {
8667
+ const n = s ? 1 : vr(t);
8668
+ return a <= 0 ? a : Math.ceil(a * (n || 1));
8669
8669
  }, Dh = (t) => t.buffs.cooldown.work.reduce(
8670
8670
  (a, { expireAt: s, startAt: n, multiplier: r }) => a + (/* @__PURE__ */ new Date() >= (n ?? /* @__PURE__ */ new Date()) && (!s || !Fe(s)) ? r : 0),
8671
8671
  1