@iflyrpa/actions 1.2.24-beta.0 → 1.2.24-beta.1
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/baijiahaoPublish/index.d.ts +1 -2
- package/dist/actions/toutiaoPublish/index.d.ts +0 -1
- package/dist/actions/weixinPublish/index.d.ts +0 -1
- package/dist/actions/xiaohongshuPublish/index.d.ts +0 -1
- package/dist/bundle.js +5 -3
- package/dist/bundle.js.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2981,6 +2981,10 @@ var __webpack_exports__ = {};
|
|
|
2981
2981
|
async api(config) {
|
|
2982
2982
|
try {
|
|
2983
2983
|
const agent = this.adr ? await ProxyAgent(this.adr) : void 0;
|
|
2984
|
+
if (this.adr && null == agent) return Promise.reject({
|
|
2985
|
+
code: 200,
|
|
2986
|
+
message: "可用代理地址为空,请稍候重试!"
|
|
2987
|
+
});
|
|
2984
2988
|
const response = await this.apiClient({
|
|
2985
2989
|
...config,
|
|
2986
2990
|
...agent ? {
|
|
@@ -7499,9 +7503,7 @@ var __webpack_exports__ = {};
|
|
|
7499
7503
|
if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
|
|
7500
7504
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
7501
7505
|
};
|
|
7502
|
-
var package_namespaceObject = {
|
|
7503
|
-
i8: "1.2.23"
|
|
7504
|
-
};
|
|
7506
|
+
var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.0"}');
|
|
7505
7507
|
const BetaFlag = "HuiwenCanary";
|
|
7506
7508
|
class Action {
|
|
7507
7509
|
constructor(task){
|