@iflyrpa/actions 1.2.21 → 1.2.22

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
@@ -18935,7 +18935,7 @@ var __webpack_exports__ = {};
18935
18935
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
18936
18936
  };
18937
18937
  var package_namespaceObject = {
18938
- i8: "1.2.20"
18938
+ i8: "1.2.21"
18939
18939
  };
18940
18940
  const BetaFlag = "HuiwenCanary";
18941
18941
  class Action {
@@ -18944,7 +18944,7 @@ var __webpack_exports__ = {};
18944
18944
  }
18945
18945
  async bindTask(func, params) {
18946
18946
  let responseData;
18947
- this.task.isBeta = this.task.isFeatOn(BetaFlag);
18947
+ this.task.isBeta = this.task?.isFeatOn(BetaFlag) ?? false;
18948
18948
  this.task._timerRecord = {
18949
18949
  ActionStart: Date.now()
18950
18950
  };