@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.mjs CHANGED
@@ -5997,7 +5997,7 @@ const xiaohongshuPublish = async (task, params)=>{
5997
5997
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
5998
5998
  };
5999
5999
  var package_namespaceObject = {
6000
- i8: "1.2.20"
6000
+ i8: "1.2.21"
6001
6001
  };
6002
6002
  const BetaFlag = "HuiwenCanary";
6003
6003
  class Action {
@@ -6006,7 +6006,7 @@ class Action {
6006
6006
  }
6007
6007
  async bindTask(func, params) {
6008
6008
  let responseData;
6009
- this.task.isBeta = this.task.isFeatOn(BetaFlag);
6009
+ this.task.isBeta = this.task?.isFeatOn(BetaFlag) ?? false;
6010
6010
  this.task._timerRecord = {
6011
6011
  ActionStart: Date.now()
6012
6012
  };