@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.mjs CHANGED
@@ -3042,7 +3042,8 @@ async function handleWeixinData(params) {
3042
3042
  }
3043
3043
  });
3044
3044
  }
3045
- let rawArticlesInfo = await fetchArticles(0, pageSize > 20 ? 20 : pageSize, token);
3045
+ let size = pageSize > 20 ? 20 : pageSize;
3046
+ let rawArticlesInfo = await fetchArticles((pageNum - 1) * size, size, token);
3046
3047
  let articlesInfo = ParsePublishPage(rawArticlesInfo);
3047
3048
  if (!onlySuccess && pageSize > 20) {
3048
3049
  let totalFetched = articlesInfo.publish_list.length;
@@ -5212,7 +5213,7 @@ const xiaohongshuPublish = async (task, params)=>{
5212
5213
  if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
5213
5214
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
5214
5215
  };
5215
- var package_namespaceObject = JSON.parse('{"i8":"1.2.14-beta.4"}');
5216
+ var package_namespaceObject = JSON.parse('{"i8":"1.2.14-beta.5"}');
5216
5217
  class Action {
5217
5218
  constructor(task){
5218
5219
  this.task = task;