@beam3_dev/api_module 0.0.198 → 0.0.200

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
@@ -2063,18 +2063,18 @@ function pt(e, t = de, s = void 0, n = void 0) {
2063
2063
  const i = {
2064
2064
  uri: "/api/idea/list",
2065
2065
  comId: `/community_id/${t.community_id}`,
2066
- limit: `/limit/${t.limit ? t.limit : 1e3}`,
2066
+ limit: `/limit/${t.limit ? t.limit : 100}`,
2067
2067
  page: `/page/${t.page ? t.page : 1}`
2068
- }, r = `${e.space}${i.uri}${i.comId}${i.limit}`;
2068
+ }, r = `${e.space}${i.uri}${i.comId}${i.limit}${i.page}`;
2069
2069
  w(e, (o) => {
2070
2070
  m(r, {
2071
2071
  method: "GET",
2072
2072
  headers: {
2073
2073
  "X-DS-SWYM-CSRFTOKEN": o.result.ServerToken
2074
2074
  },
2075
- onComplete(a) {
2076
- const c = JSON.parse(a);
2077
- s && s(c);
2075
+ onComplete(a, c, d) {
2076
+ const p = { response: JSON.parse(a), head: c, xhr: d };
2077
+ s && s(p);
2078
2078
  },
2079
2079
  onFailure(a, c) {
2080
2080
  const d = a;