@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 CHANGED
@@ -19025,10 +19025,7 @@ var __webpack_exports__ = {};
19025
19025
  };
19026
19026
  const uuid = getUuidResult.uuid;
19027
19027
  await sleep(1000);
19028
- const proxyHttp = new Http({
19029
- headers
19030
- }, params.proxyLoc);
19031
- const qrcodeResult = await proxyHttp.api({
19028
+ const qrcodeResult = await http.api({
19032
19029
  method: "get",
19033
19030
  url: "https://mp.weixin.qq.com/safe/safeqrcode",
19034
19031
  params: {
@@ -19102,7 +19099,10 @@ var __webpack_exports__ = {};
19102
19099
  uuid
19103
19100
  })
19104
19101
  });
19105
- await http.api({
19102
+ const proxyHttp = new Http({
19103
+ headers
19104
+ }, params.proxyLoc);
19105
+ const massData = await proxyHttp.api({
19106
19106
  method: "post",
19107
19107
  url: "https://mp.weixin.qq.com/cgi-bin/masssend",
19108
19108
  params: {
@@ -19151,7 +19151,7 @@ var __webpack_exports__ = {};
19151
19151
  }),
19152
19152
  defaultErrorMsg: params.masssend ? "文章群发异常,请尝试关闭群发或稍后重试。" : "文章发布异常,请稍后重试。"
19153
19153
  });
19154
- return success(appMsgId, `微信公众号发布完成。${JSON.stringify(qrcodeResult.proxyInfo)}`);
19154
+ return success(appMsgId, `微信公众号发布完成。${JSON.stringify(massData.proxyInfo)}`);
19155
19155
  };
19156
19156
  const waitQrcodeResultMaxTime = 2000 * scanRetryMaxCount;
19157
19157
  const weixinPublish_rpa_rpaAction = async (task, params)=>{
@@ -20275,7 +20275,7 @@ var __webpack_exports__ = {};
20275
20275
  if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
20276
20276
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
20277
20277
  };
20278
- var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.3"}');
20278
+ var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.4"}');
20279
20279
  const BetaFlag = "HuiwenCanary";
20280
20280
  class Action {
20281
20281
  constructor(task){