@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/index.js CHANGED
@@ -6049,7 +6049,7 @@ var __webpack_exports__ = {};
6049
6049
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
6050
6050
  };
6051
6051
  var package_namespaceObject = {
6052
- i8: "1.2.20"
6052
+ i8: "1.2.21"
6053
6053
  };
6054
6054
  const BetaFlag = "HuiwenCanary";
6055
6055
  class Action {
@@ -6058,7 +6058,7 @@ var __webpack_exports__ = {};
6058
6058
  }
6059
6059
  async bindTask(func, params) {
6060
6060
  let responseData;
6061
- this.task.isBeta = this.task.isFeatOn(BetaFlag);
6061
+ this.task.isBeta = this.task?.isFeatOn(BetaFlag) ?? false;
6062
6062
  this.task._timerRecord = {
6063
6063
  ActionStart: Date.now()
6064
6064
  };