@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/index.js CHANGED
@@ -6263,10 +6263,7 @@ var __webpack_exports__ = {};
6263
6263
  };
6264
6264
  const uuid = getUuidResult.uuid;
6265
6265
  await (0, share_namespaceObject.sleep)(1000);
6266
- const proxyHttp = new Http({
6267
- headers
6268
- }, params.proxyLoc);
6269
- const qrcodeResult = await proxyHttp.api({
6266
+ const qrcodeResult = await http.api({
6270
6267
  method: "get",
6271
6268
  url: "https://mp.weixin.qq.com/safe/safeqrcode",
6272
6269
  params: {
@@ -6340,7 +6337,10 @@ var __webpack_exports__ = {};
6340
6337
  uuid
6341
6338
  })
6342
6339
  });
6343
- await http.api({
6340
+ const proxyHttp = new Http({
6341
+ headers
6342
+ }, params.proxyLoc);
6343
+ const massData = await proxyHttp.api({
6344
6344
  method: "post",
6345
6345
  url: "https://mp.weixin.qq.com/cgi-bin/masssend",
6346
6346
  params: {
@@ -6389,7 +6389,7 @@ var __webpack_exports__ = {};
6389
6389
  }),
6390
6390
  defaultErrorMsg: params.masssend ? "文章群发异常,请尝试关闭群发或稍后重试。" : "文章发布异常,请稍后重试。"
6391
6391
  });
6392
- return (0, share_namespaceObject.success)(appMsgId, `微信公众号发布完成。${JSON.stringify(qrcodeResult.proxyInfo)}`);
6392
+ return (0, share_namespaceObject.success)(appMsgId, `微信公众号发布完成。${JSON.stringify(massData.proxyInfo)}`);
6393
6393
  };
6394
6394
  const waitQrcodeResultMaxTime = 2000 * scanRetryMaxCount;
6395
6395
  const weixinPublish_rpa_rpaAction = async (task, params)=>{
@@ -7513,7 +7513,7 @@ var __webpack_exports__ = {};
7513
7513
  if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
7514
7514
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
7515
7515
  };
7516
- var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.3"}');
7516
+ var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.4"}');
7517
7517
  const BetaFlag = "HuiwenCanary";
7518
7518
  class Action {
7519
7519
  constructor(task){