@iflyrpa/playwright 4.0.9-beta.2 → 4.0.9-beta.4

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.cjs CHANGED
@@ -1,3 +1,5 @@
1
+
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d3aada0e-06e9-513f-bfca-6baab8e99f26")}catch(e){}}();
1
3
  var __webpack_modules__ = {
2
4
  "../../node_modules/.pnpm/cross-fetch@4.1.0_encoding@0.1.13/node_modules/cross-fetch/dist/node-ponyfill.js": function(module, exports1, __webpack_require__) {
3
5
  const nodeFetch = __webpack_require__("../../node_modules/.pnpm/node-fetch@2.7.0_encoding@0.1.13/node_modules/node-fetch/lib/index.mjs");
@@ -2563,7 +2565,7 @@ var __webpack_exports__ = {};
2563
2565
  getVersionHistory: ()=>getVersionHistory
2564
2566
  });
2565
2567
  const actions_namespaceObject = require("@iflyrpa/actions");
2566
- var package_namespaceObject = JSON.parse('{"i8":"4.0.9-beta.2"}');
2568
+ var package_namespaceObject = JSON.parse('{"i8":"4.0.9-beta.4"}');
2567
2569
  const external_node_fs_namespaceObject = require("node:fs");
2568
2570
  var external_node_fs_default = /*#__PURE__*/ __webpack_require__.n(external_node_fs_namespaceObject);
2569
2571
  const external_node_path_namespaceObject = require("node:path");
@@ -5692,7 +5694,7 @@ app.on("window-all-closed", (e) => e.preventDefault());
5692
5694
  this.electronPackage = this.installElectron();
5693
5695
  }
5694
5696
  }
5695
- var version_history_namespaceObject = JSON.parse('{"name":"@iflyrpa/playwright","currentVersion":"4.0.9-beta.2","lastUpdate":"2026-08-13","maxVersions":10,"versions":[{"version":"4.0.9-beta.2","releaseDate":"2026-08-13","releaseNote":["1.增加版本更新记录","2.优化错误提示"],"updateLevel":1,"updateStrategy":"建议更新","changeType":"patch"},{"version":"4.0.9-beta.1","releaseDate":"2024-08-10","releaseNote":["改进多个 action 的用户错误提示信息"],"updateLevel":1,"updateStrategy":"建议更新","changeType":"patch"}]}');
5697
+ var version_history_namespaceObject = JSON.parse('{"name":"@iflyrpa/playwright","currentVersion":"4.0.9-beta.4","lastUpdate":"2026-08-14","maxVersions":10,"versions":[{"version":"4.0.9-beta.4","releaseDate":"2026-08-14","releaseNote":["1. 版本更新优化"],"updateLevel":0,"updateStrategy":"可选更新","changeType":"patch"},{"version":"4.0.9-beta.3","releaseDate":"2026-08-14","releaseNote":["1. 测试更新","2. 重要修复,需要更新"],"updateLevel":2,"updateStrategy":"强制更新并重启","changeType":"patch"},{"version":"4.0.9-beta.2","releaseDate":"2026-08-13","releaseNote":["1.增加版本更新记录","2.优化错误提示"],"updateLevel":1,"updateStrategy":"建议更新","changeType":"patch"}]}');
5696
5698
  function getVersionHistory() {
5697
5699
  return version_history_namespaceObject;
5698
5700
  }
@@ -5727,6 +5729,9 @@ app.on("window-all-closed", (e) => e.preventDefault());
5727
5729
  this.currentActionVersion = rpaAction.version;
5728
5730
  this.setActionVersion(rpaAction.version);
5729
5731
  }
5732
+ getActionVersion() {
5733
+ return this.currentActionVersion;
5734
+ }
5730
5735
  getActionVersionInfo() {
5731
5736
  return {
5732
5737
  current: this.currentActionVersion,
@@ -5783,6 +5788,14 @@ app.on("window-all-closed", (e) => e.preventDefault());
5783
5788
  }
5784
5789
  return this.getActionVersionInfo();
5785
5790
  }
5791
+ verifyActionMemoryUpdate() {
5792
+ var _this_actions;
5793
+ if (!(null === (_this_actions = this.actions) || void 0 === _this_actions ? void 0 : _this_actions.getActionVersionMarker)) return {
5794
+ error: "getActionVersionMarker 方法不存在,可能是旧版本的 @iflyrpa/actions",
5795
+ currentVersion: this.currentActionVersion
5796
+ };
5797
+ return this.actions.getActionVersionMarker();
5798
+ }
5786
5799
  constructor(params){
5787
5800
  super(params), src_define_property(this, "actions", void 0), src_define_property(this, "actionName", "@iflyrpa/actions"), src_define_property(this, "bundledActionVersion", actions_namespaceObject.version), src_define_property(this, "currentActionVersion", actions_namespaceObject.version), src_define_property(this, "latestActionVersion", null), src_define_property(this, "appliedUpdate", false), src_define_property(this, "updateChannel", "latest"), src_define_property(this, "updateError", void 0), src_define_property(this, "updateTask", null);
5788
5801
  this.registerActions(actions_namespaceObject);
@@ -5797,4 +5810,5 @@ if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_targe
5797
5810
  value: true
5798
5811
  });
5799
5812
 
5800
- //# sourceMappingURL=index.cjs.map
5813
+ //# sourceMappingURL=index.cjs.map
5814
+ //# debugId=d3aada0e-06e9-513f-bfca-6baab8e99f26