@beam3_dev/api_module 0.0.213 → 0.0.215

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
@@ -2092,7 +2092,15 @@ function ut(e, t, s = void 0, n = void 0) {
2092
2092
  },
2093
2093
  onComplete(S) {
2094
2094
  const _ = { response: JSON.parse(S) };
2095
- u = Math.ceil(Number(_.response.nb_result) / 100), S && u >= a && (a++, c.push(_.response.result), u === a && (p = !0), p || (l.page = `/page/${a}`, y = `${i}${l.uri}${l.comId}${l.limit}${l.page}`, h(y))), s && p && s(c);
2095
+ if (u = Math.ceil(Number(_.response.nb_result) / 100), S && u >= a) {
2096
+ if (a++, c.push(_.response.result), u < a)
2097
+ return;
2098
+ l.page = `/page/${a}`, y = `${i}${l.uri}${l.comId}${l.limit}${l.page}`, h(y);
2099
+ }
2100
+ if (s && u <= a) {
2101
+ p = !0, s(c);
2102
+ return;
2103
+ }
2096
2104
  },
2097
2105
  onFailure(S, _) {
2098
2106
  const C = S;