@maaxyz/maa-node 5.5.0-beta.2 → 5.5.0-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.
@@ -184,7 +184,7 @@ declare global {
184
184
  clear(): void
185
185
  status(id: CtrlId): Status
186
186
  wait(id: CtrlId): Promise<Status>
187
- get connected(): Promise<boolean>
187
+ get connected(): boolean
188
188
  get cached_image(): ImageData | null
189
189
  get uuid(): string | null
190
190
  get resolution(): [width: number, height: number] | null
@@ -260,7 +260,7 @@ declare global {
260
260
 
261
261
  interface CustomControllerActor {
262
262
  connect?(): maa.MaybePromise<boolean>
263
- connected?(): maa.MaybePromise<boolean>
263
+ // connected?(): maa.MaybePromise<boolean>
264
264
  request_uuid?(): maa.MaybePromise<string | null>
265
265
  get_features?(): maa.MaybePromise<null | ('mouse' | 'keyboard')[]>
266
266
  start_app?(intent: string): maa.MaybePromise<boolean>
package/dist/tasker.d.ts CHANGED
@@ -151,7 +151,7 @@ declare global {
151
151
  post_stop(): TaskJob
152
152
  status(id: TaskId): Status
153
153
  wait(id: TaskId): Promise<Status>
154
- get inited(): Promise<boolean>
154
+ get inited(): boolean
155
155
  get running(): boolean
156
156
  get stopping(): boolean
157
157
  set resource(res: Resource | null)
package/package.json CHANGED
@@ -28,13 +28,13 @@
28
28
  "prettier": "^3.5.2",
29
29
  "typescript": "^5.8.2"
30
30
  },
31
- "version": "5.5.0-beta.2",
31
+ "version": "5.5.0-beta.3",
32
32
  "optionalDependencies": {
33
- "@maaxyz/maa-node-darwin-arm64": "5.5.0-beta.2",
34
- "@maaxyz/maa-node-darwin-x64": "5.5.0-beta.2",
35
- "@maaxyz/maa-node-linux-arm64": "5.5.0-beta.2",
36
- "@maaxyz/maa-node-linux-x64": "5.5.0-beta.2",
37
- "@maaxyz/maa-node-win32-arm64": "5.5.0-beta.2",
38
- "@maaxyz/maa-node-win32-x64": "5.5.0-beta.2"
33
+ "@maaxyz/maa-node-darwin-arm64": "5.5.0-beta.3",
34
+ "@maaxyz/maa-node-darwin-x64": "5.5.0-beta.3",
35
+ "@maaxyz/maa-node-linux-arm64": "5.5.0-beta.3",
36
+ "@maaxyz/maa-node-linux-x64": "5.5.0-beta.3",
37
+ "@maaxyz/maa-node-win32-arm64": "5.5.0-beta.3",
38
+ "@maaxyz/maa-node-win32-x64": "5.5.0-beta.3"
39
39
  }
40
40
  }