@beam3_dev/api_module 0.0.217 → 0.0.218

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/wb3Api.js CHANGED
@@ -2093,9 +2093,7 @@ function ut(e, t, s = void 0, n = void 0) {
2093
2093
  onComplete(_) {
2094
2094
  const w = { response: JSON.parse(_) };
2095
2095
  if (f = Math.ceil(Number(w.response.nb_result) / 100), _ && f >= a) {
2096
- if (a++, f < a)
2097
- return;
2098
- if (l.page = `/page/${a}`, S = `${i}${l.uri}${l.comId}${l.limit}${l.page}`, !c)
2096
+ if (a++, l.page = `/page/${a}`, S = `${i}${l.uri}${l.comId}${l.limit}${l.page}`, !c)
2099
2097
  d.push(w.response.result);
2100
2098
  else {
2101
2099
  const b = w.response.result.find(
@@ -2106,12 +2104,12 @@ function ut(e, t, s = void 0, n = void 0) {
2106
2104
  return;
2107
2105
  }
2108
2106
  }
2107
+ if (s && f < a && !c) {
2108
+ u = !0, s(d);
2109
+ return;
2110
+ }
2109
2111
  y(S);
2110
2112
  }
2111
- if (s && f <= a) {
2112
- u = !0, s(d);
2113
- return;
2114
- }
2115
2113
  },
2116
2114
  onFailure(_, w) {
2117
2115
  const b = _;