rust-rpa 0.1.4-beta.2 → 0.1.4-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/README.md CHANGED
@@ -734,7 +734,7 @@ npm test
734
734
  #### BREAKCHANGE
735
735
  - `toJson()`改为`toJSON()`
736
736
  - `window` `toJSON()` 返回对象中取消`bounds`
737
-
737
+ - **Window 数据一致性修复**: 统一 `getBounds()` 和 `toJSON()`、`setBounds()` 中屏幕宽高和窗口大小位置都使用逻辑像素,解决 Windows 环境下坐标不一致问题。
738
738
 
739
739
  ### 0.1.3
740
740
  #### 功能
@@ -743,7 +743,6 @@ npm test
743
743
  - **`Window.toJSON()` 增强**: 现在包含 `monitorId` 字段,提供窗口所在显示器的 ID 信息
744
744
 
745
745
  #### 修复
746
- - **Window 数据一致性修复**: 统一 `getBounds()` 和 `toJSON()`、`setBounds()` 使用 XCap 数据源,确保与截图功能使用相同的坐标系统,屏幕宽高和窗口大小位置都使用逻辑像素,解决 Windows 环境下坐标不一致问题。
747
746
  - `bringToFront`在mac中仅将当前窗口顶置,避免顶置其父窗口
748
747
  - windows缩放后,应用程序大小和屏幕大小使用的逻辑像素逻辑不一致,都改为使用真实逻辑像素,减少后续处理
749
748
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rust-rpa",
3
- "version": "0.1.4-beta.2",
3
+ "version": "0.1.4-beta.4",
4
4
  "description": "Rust-based RPA automation library for Node.js",
5
5
  "type": "commonjs",
6
6
  "main": "index.js",
@@ -17,7 +17,7 @@
17
17
  "napi": {
18
18
  "binaryName": "rust-rpa",
19
19
  "package": {
20
- "name": "@alibot/rust-rpa"
20
+ "name": "rust-rpa"
21
21
  },
22
22
  "targets": [
23
23
  "x86_64-pc-windows-msvc",
@@ -35,7 +35,7 @@
35
35
  "files": [
36
36
  "index.js",
37
37
  "index.d.ts",
38
- "bin/",
38
+ "bin",
39
39
  "*.node"
40
40
  ],
41
41
  "dependencies": {
Binary file
Binary file
Binary file
Binary file