@everymatrix/casino-bonuses-controller 1.94.102 → 1.94.104

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.
@@ -24155,11 +24155,11 @@ function mb(n, e, t) {
24155
24155
  const ae = Object.keys(j)[0];
24156
24156
  return j[ae]?.roundNumber || 0;
24157
24157
  }, Kr = (S) => S === void 0 ? "" : vn(new Date(S), "yyyy-MM-dd HH:mm:ss"), Jr = (S, j) => {
24158
- const ae = S.wageringProgress?.currentLevel - 1 || 0, ye = j.length - 1, Re = S.levels[0]?.maxRepeats === 0, $e = (Nt) => Nt.filter((Ve) => Ve.index >= 0 && Ve.index <= ye || Re).map((Ve) => {
24158
+ const ae = S.wageringProgress?.currentLevel - 1 || 0, ye = j.length - 1, Re = S.levels?.[0]?.maxRepeats === 0, $e = (Nt) => Nt.filter((Ve) => Ve.index >= 0 && Ve.index <= ye || Re).map((Ve) => {
24159
24159
  const ct = j[Ve.index] || j[0];
24160
24160
  return {
24161
24161
  label: Ve.label,
24162
- desc: ct.bonuses.map((Ze) => be(ct, Ze))
24162
+ desc: (ct?.bonuses || []).map((Ze) => be(ct, Ze))
24163
24163
  };
24164
24164
  });
24165
24165
  switch (S.status) {