rust-rpa 0.1.5-beta.4 → 0.1.5-beta.6

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
@@ -739,6 +739,9 @@ npm test
739
739
  - [x] 图像保存到文件
740
740
  - [x] 剪贴板操作
741
741
  - [x] 窗口操作(置顶、移动、调整大小、父进程查询)
742
+ - [ ] 定位文字findText(text, {prompt: '', model: '', timeout: number})
743
+ - [ ] 等待文字、图标、指定时间
744
+ - [ ] 点击文字、图标等操作
742
745
  - [ ] 进程管理
743
746
 
744
747
  ## 更新日志
package/index.d.ts CHANGED
@@ -79,8 +79,8 @@ export interface CaptureImageOptions {
79
79
  from?: 'window' | 'screen' | null
80
80
  /** 仅截取该区域(逻辑像素),不填则截取全图;仅对 Window.captureImage 有效 */
81
81
  region?: CaptureRegion | null
82
- /** 为 true 时,在 Windows 上若存在 DPI 缩放,则自动将图像缩放到逻辑像素宽高(与 getSize/getBounds 一致);仅对 Window.captureImage 有效 */
83
- auto_size?: boolean | null
82
+ /** 为 true 时,若存在 DPI 缩放,则自动将图像缩放到逻辑像素宽高(与 getSize/getBounds 一致);仅对 Window.captureImage 有效 */
83
+ autoSize?: boolean | null
84
84
  }
85
85
  /** 窗口尺寸信息 */
86
86
  export interface WindowSize {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rust-rpa",
3
- "version": "0.1.5-beta.4",
3
+ "version": "0.1.5-beta.6",
4
4
  "description": "Rust-based RPA automation library for Node.js",
5
5
  "type": "commonjs",
6
6
  "main": "index.js",
Binary file
Binary file
Binary file
Binary file