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