@iflyrpa/actions 1.2.24-beta.0 → 1.2.24-beta.1

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.mjs CHANGED
@@ -2929,6 +2929,10 @@ class Http {
2929
2929
  async api(config) {
2930
2930
  try {
2931
2931
  const agent = this.adr ? await ProxyAgent(this.adr) : void 0;
2932
+ if (this.adr && null == agent) return Promise.reject({
2933
+ code: 200,
2934
+ message: "可用代理地址为空,请稍候重试!"
2935
+ });
2932
2936
  const response = await this.apiClient({
2933
2937
  ...config,
2934
2938
  ...agent ? {
@@ -7441,9 +7445,7 @@ const xiaohongshuPublish = async (task, params)=>{
7441
7445
  if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
7442
7446
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
7443
7447
  };
7444
- var package_namespaceObject = {
7445
- i8: "1.2.23"
7446
- };
7448
+ var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.0"}');
7447
7449
  const BetaFlag = "HuiwenCanary";
7448
7450
  class Action {
7449
7451
  constructor(task){