@iflyrpa/actions 1.2.24-beta.8 → 1.2.24-beta.9
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 +2 -5
- package/dist/bundle.js.map +1 -1
- package/dist/index.js +2 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -2884,10 +2884,7 @@ const ProxyAgent = async (adr, huiwenToken)=>{
|
|
|
2884
2884
|
}
|
|
2885
2885
|
} : null
|
|
2886
2886
|
});
|
|
2887
|
-
return 0 === ProxyInfo.code && ProxyInfo.data.length > 0 ? new dist.HttpsProxyAgent(`http://${ProxyData.api}:${ProxyData.akey}@${ProxyInfo.data[0].proxyAddress}`) :
|
|
2888
|
-
code: ProxyInfo.code,
|
|
2889
|
-
message: "获取代理IP失败," + ProxyInfo.msg
|
|
2890
|
-
}) : null;
|
|
2887
|
+
return 0 === ProxyInfo.code && ProxyInfo.data.length > 0 ? new dist.HttpsProxyAgent(`http://${ProxyData.api}:${ProxyData.akey}@${ProxyInfo.data[0].proxyAddress}`) : null;
|
|
2891
2888
|
};
|
|
2892
2889
|
class Http {
|
|
2893
2890
|
static handleApiError(error) {
|
|
@@ -7457,7 +7454,7 @@ const xiaohongshuPublish = async (task, params)=>{
|
|
|
7457
7454
|
if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
|
|
7458
7455
|
return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
|
|
7459
7456
|
};
|
|
7460
|
-
var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.
|
|
7457
|
+
var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.8"}');
|
|
7461
7458
|
const BetaFlag = "HuiwenCanary";
|
|
7462
7459
|
class Action {
|
|
7463
7460
|
constructor(task){
|