@iflyrpa/actions 1.2.12 → 1.2.13
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/actions/toutiaoPublish/index.d.ts +1 -1
- package/dist/bundle.js +3 -3
- package/dist/bundle.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2172,7 +2172,7 @@ var __webpack_exports__ = {};
|
|
|
2172
2172
|
}
|
|
2173
2173
|
}))),
|
|
2174
2174
|
article_ad_type: getAddTypeValue(params.settingInfo.toutiaoAd),
|
|
2175
|
-
claim_exclusive: toutiaoExclusive ? toutiaoExclusive : toutiaoOriginal
|
|
2175
|
+
claim_exclusive: toutiaoExclusive ? toutiaoExclusive : toutiaoOriginal?.includes("exclusive") ? 1 : 0
|
|
2176
2176
|
};
|
|
2177
2177
|
const msToken = params.cookies.find((it)=>"msToken" === it.name)?.value;
|
|
2178
2178
|
let publishOption = {};
|
|
@@ -2344,7 +2344,7 @@ var __webpack_exports__ = {};
|
|
|
2344
2344
|
const exclusiveContainer = page.locator(".form-container .edit-cell .edit-label").filter({
|
|
2345
2345
|
hasText: "声明首发"
|
|
2346
2346
|
}).locator("xpath=..");
|
|
2347
|
-
if (params.settingInfo.toutiaoOriginal.includes("exclusive") || params.settingInfo.toutiaoExclusive) exclusiveContainer.locator(".exclusive .exclusive-checkbox-wraper .byte-checkbox").check();
|
|
2347
|
+
if (params.settingInfo.toutiaoOriginal && params.settingInfo.toutiaoOriginal.includes("exclusive") || params.settingInfo.toutiaoExclusive) exclusiveContainer.locator(".exclusive .exclusive-checkbox-wraper .byte-checkbox").check();
|
|
2348
2348
|
else exclusiveContainer.locator(".exclusive .exclusive-checkbox-wraper .byte-checkbox").uncheck();
|
|
2349
2349
|
let claim = params.settingInfo.toutiaoClaim ? params.settingInfo.toutiaoClaim.type : 5;
|
|
2350
2350
|
switch(claim){
|
|
@@ -4527,7 +4527,7 @@ var __webpack_exports__ = {};
|
|
|
4527
4527
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
4528
4528
|
};
|
|
4529
4529
|
var package_namespaceObject = {
|
|
4530
|
-
i8: "1.2.
|
|
4530
|
+
i8: "1.2.12"
|
|
4531
4531
|
};
|
|
4532
4532
|
class Action {
|
|
4533
4533
|
constructor(task){
|