@iflyrpa/actions 1.2.20 → 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
@@ -18934,7 +18934,9 @@ var __webpack_exports__ = {};
18934
18934
  if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
18935
18935
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
18936
18936
  };
18937
- var package_namespaceObject = JSON.parse('{"i8":"1.2.20-beta.2"}');
18937
+ var package_namespaceObject = {
18938
+ i8: "1.2.21"
18939
+ };
18938
18940
  const BetaFlag = "HuiwenCanary";
18939
18941
  class Action {
18940
18942
  constructor(task){
@@ -18942,7 +18944,7 @@ var __webpack_exports__ = {};
18942
18944
  }
18943
18945
  async bindTask(func, params) {
18944
18946
  let responseData;
18945
- this.task.isBeta = this.task.isFeatOn(BetaFlag);
18947
+ this.task.isBeta = this.task?.isFeatOn(BetaFlag) ?? false;
18946
18948
  this.task._timerRecord = {
18947
18949
  ActionStart: Date.now()
18948
18950
  };