@iflyrpa/actions 1.2.24-beta.9 → 1.2.25
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 +8 -5
- package/dist/bundle.js.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -5
- package/dist/index.mjs.map +1 -1
- package/dist/utils/http.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2991,6 +2991,7 @@ var __webpack_exports__ = {};
|
|
|
2991
2991
|
code: 200,
|
|
2992
2992
|
message: "当前发文IP地址暂不支持!"
|
|
2993
2993
|
});
|
|
2994
|
+
this.proxyInfo = agent?.proxy.host;
|
|
2994
2995
|
const response = await this.apiClient({
|
|
2995
2996
|
...config,
|
|
2996
2997
|
...agent ? {
|
|
@@ -3364,7 +3365,7 @@ var __webpack_exports__ = {};
|
|
|
3364
3365
|
},
|
|
3365
3366
|
defaultErrorMsg: isDraft ? "文章同步出现异常,请稍后重试。" : "文章发布出现异常,请稍后重试。"
|
|
3366
3367
|
});
|
|
3367
|
-
return (0, share_namespaceObject.success)(0 == res.errno ? res?.ret?.article_id || '' : "", 0 == res.errno ? `文章发布成功!` : res.errmsg ?? '文章发布失败,请稍后重试。');
|
|
3368
|
+
return (0, share_namespaceObject.success)(0 == res.errno ? res?.ret?.article_id || '' : "", 0 == res.errno ? `文章发布成功!` + (proxyHttp.proxyInfo || "") : res.errmsg ?? '文章发布失败,请稍后重试。');
|
|
3368
3369
|
};
|
|
3369
3370
|
const rpaAction = async (task, params)=>{
|
|
3370
3371
|
const tmpCachePath = task.getTmpPath();
|
|
@@ -4404,7 +4405,7 @@ var __webpack_exports__ = {};
|
|
|
4404
4405
|
headers
|
|
4405
4406
|
}, params.proxyLoc, params.huiwenToken) : http;
|
|
4406
4407
|
const publishResult = await proxyHttp.api(publishOption);
|
|
4407
|
-
return (0, share_namespaceObject.success)(publishResult.data.pgc_id, `文章发布成功!`);
|
|
4408
|
+
return (0, share_namespaceObject.success)(publishResult.data.pgc_id, `文章发布成功!` + (proxyHttp.proxyInfo || ""));
|
|
4408
4409
|
};
|
|
4409
4410
|
const rpa_GenAB = __webpack_require__("./src/utils/ttABEncrypt.js");
|
|
4410
4411
|
const rpa_rpaAction = async (task, params)=>{
|
|
@@ -6388,7 +6389,7 @@ var __webpack_exports__ = {};
|
|
|
6388
6389
|
}),
|
|
6389
6390
|
defaultErrorMsg: params.masssend ? "文章群发异常,请尝试关闭群发或稍后重试。" : "文章发布异常,请稍后重试。"
|
|
6390
6391
|
});
|
|
6391
|
-
return (0, share_namespaceObject.success)(appMsgId, `微信公众号发布完成!`);
|
|
6392
|
+
return (0, share_namespaceObject.success)(appMsgId, `微信公众号发布完成!` + (proxyHttp.proxyInfo || ""));
|
|
6392
6393
|
};
|
|
6393
6394
|
const waitQrcodeResultMaxTime = 2000 * scanRetryMaxCount;
|
|
6394
6395
|
const weixinPublish_rpa_rpaAction = async (task, params)=>{
|
|
@@ -7291,7 +7292,7 @@ var __webpack_exports__ = {};
|
|
|
7291
7292
|
},
|
|
7292
7293
|
defaultErrorMsg: "文章发布异常,请稍后重试。"
|
|
7293
7294
|
});
|
|
7294
|
-
return (0, share_namespaceObject.success)(publishResult.data?.id, `文章发布成功!`);
|
|
7295
|
+
return (0, share_namespaceObject.success)(publishResult.data?.id, `文章发布成功!` + (proxyHttp.proxyInfo || ""));
|
|
7295
7296
|
};
|
|
7296
7297
|
const rpa_GenXSCommon = __webpack_require__("./src/utils/XhsXsCommonEnc.js");
|
|
7297
7298
|
const rpa_xsEncrypt = new Xhshow();
|
|
@@ -7512,7 +7513,9 @@ var __webpack_exports__ = {};
|
|
|
7512
7513
|
if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
|
|
7513
7514
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
7514
7515
|
};
|
|
7515
|
-
var package_namespaceObject =
|
|
7516
|
+
var package_namespaceObject = {
|
|
7517
|
+
i8: "1.2.24"
|
|
7518
|
+
};
|
|
7516
7519
|
const BetaFlag = "HuiwenCanary";
|
|
7517
7520
|
class Action {
|
|
7518
7521
|
constructor(task){
|