@iflyrpa/actions 1.2.14-beta.5 → 1.2.14-beta.6

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.js CHANGED
@@ -3093,7 +3093,8 @@ var __webpack_exports__ = {};
3093
3093
  }
3094
3094
  });
3095
3095
  }
3096
- let rawArticlesInfo = await fetchArticles(0, pageSize > 20 ? 20 : pageSize, token);
3096
+ let size = pageSize > 20 ? 20 : pageSize;
3097
+ let rawArticlesInfo = await fetchArticles((pageNum - 1) * size, size, token);
3097
3098
  let articlesInfo = ParsePublishPage(rawArticlesInfo);
3098
3099
  if (!onlySuccess && pageSize > 20) {
3099
3100
  let totalFetched = articlesInfo.publish_list.length;
@@ -5263,7 +5264,7 @@ var __webpack_exports__ = {};
5263
5264
  if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
5264
5265
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
5265
5266
  };
5266
- var package_namespaceObject = JSON.parse('{"i8":"1.2.14-beta.4"}');
5267
+ var package_namespaceObject = JSON.parse('{"i8":"1.2.14-beta.5"}');
5267
5268
  class Action {
5268
5269
  constructor(task){
5269
5270
  this.task = task;