@maaxyz/maa-node 5.3.2 → 5.4.0-alpha.1

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.
@@ -180,6 +180,7 @@ declare global {
180
180
  get connected(): boolean
181
181
  get cached_image(): ImageData | null
182
182
  get uuid(): string | null
183
+ get resolution(): [width: number, height: number] | null
183
184
  }
184
185
 
185
186
  type AdbDevice = [
@@ -233,6 +234,7 @@ declare global {
233
234
 
234
235
  interface CustomControllerActor {
235
236
  connect?(): maa.MaybePromise<boolean>
237
+ connected?(): maa.MaybePromise<boolean>
236
238
  request_uuid?(): maa.MaybePromise<string | null>
237
239
  get_features?(): maa.MaybePromise<null | ('mouse' | 'keyboard')[]>
238
240
  start_app?(intent: string): maa.MaybePromise<boolean>
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.3.2",
31
+ "version": "5.4.0-alpha.1",
32
32
  "optionalDependencies": {
33
- "@maaxyz/maa-node-darwin-arm64": "5.3.2",
34
- "@maaxyz/maa-node-darwin-x64": "5.3.2",
35
- "@maaxyz/maa-node-linux-arm64": "5.3.2",
36
- "@maaxyz/maa-node-linux-x64": "5.3.2",
37
- "@maaxyz/maa-node-win32-arm64": "5.3.2",
38
- "@maaxyz/maa-node-win32-x64": "5.3.2"
33
+ "@maaxyz/maa-node-darwin-arm64": "5.4.0-alpha.1",
34
+ "@maaxyz/maa-node-darwin-x64": "5.4.0-alpha.1",
35
+ "@maaxyz/maa-node-linux-arm64": "5.4.0-alpha.1",
36
+ "@maaxyz/maa-node-linux-x64": "5.4.0-alpha.1",
37
+ "@maaxyz/maa-node-win32-arm64": "5.4.0-alpha.1",
38
+ "@maaxyz/maa-node-win32-x64": "5.4.0-alpha.1"
39
39
  }
40
40
  }