@maaxyz/maa-node 5.4.1 → 5.4.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(): boolean
187
+ get connected(): Promise<boolean>
188
188
  get cached_image(): ImageData | null
189
189
  get uuid(): string | null
190
190
  get resolution(): [width: number, height: number] | null
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(): boolean
154
+ get inited(): Promise<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.4.1",
31
+ "version": "5.4.3",
32
32
  "optionalDependencies": {
33
- "@maaxyz/maa-node-darwin-arm64": "5.4.1",
34
- "@maaxyz/maa-node-darwin-x64": "5.4.1",
35
- "@maaxyz/maa-node-linux-arm64": "5.4.1",
36
- "@maaxyz/maa-node-linux-x64": "5.4.1",
37
- "@maaxyz/maa-node-win32-arm64": "5.4.1",
38
- "@maaxyz/maa-node-win32-x64": "5.4.1"
33
+ "@maaxyz/maa-node-darwin-arm64": "5.4.3",
34
+ "@maaxyz/maa-node-darwin-x64": "5.4.3",
35
+ "@maaxyz/maa-node-linux-arm64": "5.4.3",
36
+ "@maaxyz/maa-node-linux-x64": "5.4.3",
37
+ "@maaxyz/maa-node-win32-arm64": "5.4.3",
38
+ "@maaxyz/maa-node-win32-x64": "5.4.3"
39
39
  }
40
40
  }