@iflyrpa/actions 1.2.11-beta.3 → 1.2.11-beta.5

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/bundle.js CHANGED
@@ -14423,9 +14423,11 @@ var __webpack_exports__ = {};
14423
14423
  source: "upload",
14424
14424
  cover_source: "upload",
14425
14425
  event2news: params.settingInfo?.baijiahaoEvent2News ? 2 : 0,
14426
- activity_list
14426
+ activity_list,
14427
+ ...params.settingInfo.timer ? {
14428
+ timer_time: params.settingInfo.timer
14429
+ } : {}
14427
14430
  };
14428
- params.settingInfo.timer && (publishData['timer_time'] = params.settingInfo.timer);
14429
14431
  const isDraft = "draft" === params.saveType;
14430
14432
  const saveUrl = isDraft ? "https://baijiahao.baidu.com/pcui/article/save?callback=bjhdraft" : "https://baijiahao.baidu.com/pcui/article/publish?callback=bjhpublish";
14431
14433
  const res = await http.api({
@@ -14635,7 +14637,6 @@ var __webpack_exports__ = {};
14635
14637
  hasText: /^发布/
14636
14638
  }).locator("button").click();
14637
14639
  });
14638
- await page.waitForTimeout(200000);
14639
14640
  await page.close();
14640
14641
  return success(articleId, articleId ? "发布成功" : message);
14641
14642
  };
@@ -16249,10 +16250,11 @@ var __webpack_exports__ = {};
16249
16250
  t: "ajax-response",
16250
16251
  token: params.token,
16251
16252
  lang: "zh_CN",
16252
- ...params.settingInfo.timer ? {
16253
- action: "time_send"
16254
- } : {},
16255
- ...params.masssend ? {} : {
16253
+ ...params.masssend ? {
16254
+ ...params.settingInfo.timer ? {
16255
+ action: "time_send"
16256
+ } : {}
16257
+ } : {
16256
16258
  is_release_publish_page: 1
16257
16259
  }
16258
16260
  },
@@ -17404,7 +17406,7 @@ var __webpack_exports__ = {};
17404
17406
  if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
17405
17407
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
17406
17408
  };
17407
- var package_namespaceObject = JSON.parse('{"i8":"1.2.11-beta.2"}');
17409
+ var package_namespaceObject = JSON.parse('{"i8":"1.2.11-beta.4"}');
17408
17410
  class Action {
17409
17411
  constructor(task){
17410
17412
  this.task = task;