@iflyrpa/playwright 4.0.9-beta.2 → 4.0.9-beta.3
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 +13 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +24 -0
- package/dist/index.js +13 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2563,7 +2563,7 @@ var __webpack_exports__ = {};
|
|
|
2563
2563
|
getVersionHistory: ()=>getVersionHistory
|
|
2564
2564
|
});
|
|
2565
2565
|
const actions_namespaceObject = require("@iflyrpa/actions");
|
|
2566
|
-
var package_namespaceObject = JSON.parse('{"i8":"4.0.9-beta.
|
|
2566
|
+
var package_namespaceObject = JSON.parse('{"i8":"4.0.9-beta.3"}');
|
|
2567
2567
|
const external_node_fs_namespaceObject = require("node:fs");
|
|
2568
2568
|
var external_node_fs_default = /*#__PURE__*/ __webpack_require__.n(external_node_fs_namespaceObject);
|
|
2569
2569
|
const external_node_path_namespaceObject = require("node:path");
|
|
@@ -5692,7 +5692,7 @@ app.on("window-all-closed", (e) => e.preventDefault());
|
|
|
5692
5692
|
this.electronPackage = this.installElectron();
|
|
5693
5693
|
}
|
|
5694
5694
|
}
|
|
5695
|
-
var version_history_namespaceObject = JSON.parse('{"name":"@iflyrpa/playwright","currentVersion":"4.0.9-beta.
|
|
5695
|
+
var version_history_namespaceObject = JSON.parse('{"name":"@iflyrpa/playwright","currentVersion":"4.0.9-beta.3","lastUpdate":"2026-08-14","maxVersions":10,"versions":[{"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"},{"version":"4.0.9-beta.1","releaseDate":"2024-08-10","releaseNote":["改进多个 action 的用户错误提示信息"],"updateLevel":1,"updateStrategy":"建议更新","changeType":"patch"}]}');
|
|
5696
5696
|
function getVersionHistory() {
|
|
5697
5697
|
return version_history_namespaceObject;
|
|
5698
5698
|
}
|
|
@@ -5727,6 +5727,9 @@ app.on("window-all-closed", (e) => e.preventDefault());
|
|
|
5727
5727
|
this.currentActionVersion = rpaAction.version;
|
|
5728
5728
|
this.setActionVersion(rpaAction.version);
|
|
5729
5729
|
}
|
|
5730
|
+
getActionVersion() {
|
|
5731
|
+
return this.currentActionVersion;
|
|
5732
|
+
}
|
|
5730
5733
|
getActionVersionInfo() {
|
|
5731
5734
|
return {
|
|
5732
5735
|
current: this.currentActionVersion,
|
|
@@ -5783,6 +5786,14 @@ app.on("window-all-closed", (e) => e.preventDefault());
|
|
|
5783
5786
|
}
|
|
5784
5787
|
return this.getActionVersionInfo();
|
|
5785
5788
|
}
|
|
5789
|
+
verifyActionMemoryUpdate() {
|
|
5790
|
+
var _this_actions;
|
|
5791
|
+
if (!(null === (_this_actions = this.actions) || void 0 === _this_actions ? void 0 : _this_actions.getActionVersionMarker)) return {
|
|
5792
|
+
error: "getActionVersionMarker 方法不存在,可能是旧版本的 @iflyrpa/actions",
|
|
5793
|
+
currentVersion: this.currentActionVersion
|
|
5794
|
+
};
|
|
5795
|
+
return this.actions.getActionVersionMarker();
|
|
5796
|
+
}
|
|
5786
5797
|
constructor(params){
|
|
5787
5798
|
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
5799
|
this.registerActions(actions_namespaceObject);
|