@iflyrpa/actions 1.2.24-beta.4 → 1.2.24-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 +7 -7
- package/dist/bundle.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -6205,10 +6205,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
6205
6205
|
};
|
|
6206
6206
|
const uuid = getUuidResult.uuid;
|
|
6207
6207
|
await (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.sleep)(1000);
|
|
6208
|
-
const
|
|
6209
|
-
headers
|
|
6210
|
-
}, params.proxyLoc);
|
|
6211
|
-
const qrcodeResult = await proxyHttp.api({
|
|
6208
|
+
const qrcodeResult = await http.api({
|
|
6212
6209
|
method: "get",
|
|
6213
6210
|
url: "https://mp.weixin.qq.com/safe/safeqrcode",
|
|
6214
6211
|
params: {
|
|
@@ -6282,7 +6279,10 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
6282
6279
|
uuid
|
|
6283
6280
|
})
|
|
6284
6281
|
});
|
|
6285
|
-
|
|
6282
|
+
const proxyHttp = new Http({
|
|
6283
|
+
headers
|
|
6284
|
+
}, params.proxyLoc);
|
|
6285
|
+
const massData = await proxyHttp.api({
|
|
6286
6286
|
method: "post",
|
|
6287
6287
|
url: "https://mp.weixin.qq.com/cgi-bin/masssend",
|
|
6288
6288
|
params: {
|
|
@@ -6331,7 +6331,7 @@ const weixinPublish_mock_mockAction = async (task, params)=>{
|
|
|
6331
6331
|
}),
|
|
6332
6332
|
defaultErrorMsg: params.masssend ? "文章群发异常,请尝试关闭群发或稍后重试。" : "文章发布异常,请稍后重试。"
|
|
6333
6333
|
});
|
|
6334
|
-
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(appMsgId, `微信公众号发布完成。${JSON.stringify(
|
|
6334
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__.success)(appMsgId, `微信公众号发布完成。${JSON.stringify(massData.proxyInfo)}`);
|
|
6335
6335
|
};
|
|
6336
6336
|
const waitQrcodeResultMaxTime = 2000 * scanRetryMaxCount;
|
|
6337
6337
|
const weixinPublish_rpa_rpaAction = async (task, params)=>{
|
|
@@ -7455,7 +7455,7 @@ const xiaohongshuPublish = async (task, params)=>{
|
|
|
7455
7455
|
if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
|
|
7456
7456
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
7457
7457
|
};
|
|
7458
|
-
var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.
|
|
7458
|
+
var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.4"}');
|
|
7459
7459
|
const BetaFlag = "HuiwenCanary";
|
|
7460
7460
|
class Action {
|
|
7461
7461
|
constructor(task){
|