@iflyrpa/actions 1.2.24-beta.6 → 1.2.24-beta.7

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
@@ -7522,7 +7522,7 @@ var __webpack_exports__ = {};
7522
7522
  if ("mockApi" === params.actionType) return xiaohongshuPublish_mock_mockAction(task, params);
7523
7523
  return executeAction(xiaohongshuPublish_mock_mockAction, xiaohongshuPublish_rpa_rpaAction)(task, params);
7524
7524
  };
7525
- var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.5"}');
7525
+ var package_namespaceObject = JSON.parse('{"i8":"1.2.24-beta.6"}');
7526
7526
  const BetaFlag = "HuiwenCanary";
7527
7527
  class Action {
7528
7528
  constructor(task){
@@ -7530,7 +7530,7 @@ var __webpack_exports__ = {};
7530
7530
  }
7531
7531
  async bindTask(func, params) {
7532
7532
  let responseData;
7533
- this.task.isBeta = this.task?.isFeatOn(BetaFlag) || false;
7533
+ this.task.isBeta = this.task?.isFeatOn ? this.task?.isFeatOn(BetaFlag) : false;
7534
7534
  this.task._timerRecord = {
7535
7535
  ActionStart: Date.now()
7536
7536
  };