@maaxyz/maa-node 5.10.0 → 5.10.2
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/controller.d.ts +7 -1
- package/package.json +7 -7
package/dist/controller.d.ts
CHANGED
|
@@ -310,7 +310,13 @@ declare global {
|
|
|
310
310
|
type WlRootsCompositor = [handle: DesktopHandle, class_name: string, window_name: string]
|
|
311
311
|
|
|
312
312
|
class WlRootsController extends Controller {
|
|
313
|
-
|
|
313
|
+
/**
|
|
314
|
+
* @param wlr_socket_path Wayland socket path (e.g. "/run/user/1000/wayland-0")
|
|
315
|
+
* @param use_win32_vk_code When true, key codes passed to click_key / key_down / key_up are
|
|
316
|
+
* interpreted as Win32 Virtual-Key codes (VK_*) and translated to Linux evdev codes internally.
|
|
317
|
+
* Defaults to false (raw evdev codes).
|
|
318
|
+
*/
|
|
319
|
+
constructor(wlr_socket_path: string, use_win32_vk_code?: boolean)
|
|
314
320
|
|
|
315
321
|
static find(): Promise<WlRootsCompositor[] | null>
|
|
316
322
|
}
|
package/package.json
CHANGED
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">= 20.0.0"
|
|
22
22
|
},
|
|
23
|
-
"version": "5.10.
|
|
23
|
+
"version": "5.10.2",
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@maaxyz/maa-node-darwin-arm64": "5.10.
|
|
26
|
-
"@maaxyz/maa-node-darwin-x64": "5.10.
|
|
27
|
-
"@maaxyz/maa-node-linux-arm64": "5.10.
|
|
28
|
-
"@maaxyz/maa-node-linux-x64": "5.10.
|
|
29
|
-
"@maaxyz/maa-node-win32-arm64": "5.10.
|
|
30
|
-
"@maaxyz/maa-node-win32-x64": "5.10.
|
|
25
|
+
"@maaxyz/maa-node-darwin-arm64": "5.10.2",
|
|
26
|
+
"@maaxyz/maa-node-darwin-x64": "5.10.2",
|
|
27
|
+
"@maaxyz/maa-node-linux-arm64": "5.10.2",
|
|
28
|
+
"@maaxyz/maa-node-linux-x64": "5.10.2",
|
|
29
|
+
"@maaxyz/maa-node-win32-arm64": "5.10.2",
|
|
30
|
+
"@maaxyz/maa-node-win32-x64": "5.10.2"
|
|
31
31
|
}
|
|
32
32
|
}
|