@iflyrpa/actions 1.2.11-beta.4 → 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 +5 -4
- package/dist/bundle.js.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
};
|
|
@@ -17405,7 +17406,7 @@ var __webpack_exports__ = {};
|
|
|
17405
17406
|
if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
|
|
17406
17407
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
17407
17408
|
};
|
|
17408
|
-
var package_namespaceObject = JSON.parse('{"i8":"1.2.11-beta.
|
|
17409
|
+
var package_namespaceObject = JSON.parse('{"i8":"1.2.11-beta.4"}');
|
|
17409
17410
|
class Action {
|
|
17410
17411
|
constructor(task){
|
|
17411
17412
|
this.task = task;
|