@maaxyz/maa-node 5.0.0-alpha.3 → 5.0.0-alpha.4

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/client.d.ts CHANGED
@@ -6,7 +6,6 @@ declare global {
6
6
  destroy(): void
7
7
  get identifier(): string
8
8
  bind_resource(resource: Resource): void
9
- register_sink(tasker?: Tasker, resource?: Resource, controller?: Controller): void
10
9
  connect(): Promise<void>
11
10
  disconnect(): void
12
11
  get connected(): boolean
@@ -16,7 +16,7 @@ declare global {
16
16
  | 'Controller.Action.Starting'
17
17
  | 'Controller.Action.Succeeded'
18
18
  | 'Controller.Action.Failed'
19
- ctrl_id: CtrlId
19
+ ctrl_id: number // CtrlId
20
20
  uuid: string
21
21
  } & (
22
22
  | {
@@ -5,7 +5,7 @@ declare global {
5
5
  | 'Resource.Loading.Starting'
6
6
  | 'Resource.Loading.Succeeded'
7
7
  | 'Resource.Loading.Failed'
8
- res_id: ResId
8
+ res_id: number // ResId
9
9
  path: string
10
10
  hash: string
11
11
  }
package/dist/tasker.d.ts CHANGED
@@ -43,7 +43,7 @@ declare global {
43
43
 
44
44
  type TaskerNotify = {
45
45
  msg: 'Task.Started' | 'Task.Completed' | 'Task.Failed'
46
- task_id: maa.TaskId
46
+ task_id: number // TaskId
47
47
  entry: string
48
48
  uuid: string
49
49
  hash: string
@@ -52,22 +52,22 @@ declare global {
52
52
  type TaskerContextNotify =
53
53
  | {
54
54
  msg: 'NextList.Starting' | 'NextList.Succeeded' | 'NextList.Failed'
55
- task_id: maa.TaskId
55
+ task_id: number // TaskId
56
56
  name: string
57
57
  list: string[]
58
58
  focus: unknown
59
59
  }
60
60
  | {
61
61
  msg: 'Recognition.Starting' | 'Recognition.Succeeded' | 'Recognition.Failed'
62
- task_id: maa.TaskId
63
- reco_id: maa.RecoId
62
+ task_id: number // TaskId
63
+ reco_id: number // RecoId
64
64
  name: string
65
65
  focus: unknown
66
66
  }
67
67
  | {
68
68
  msg: 'Action.Starting' | 'Action.Succeeded' | 'Action.Failed'
69
- task_id: maa.TaskId
70
- node_id: maa.NodeId
69
+ task_id: number // TaskId
70
+ node_id: number // NodeId
71
71
  name: string
72
72
  focus: unknown
73
73
  }
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.0.0-alpha.3",
31
+ "version": "5.0.0-alpha.4",
32
32
  "optionalDependencies": {
33
- "@maaxyz/maa-node-darwin-arm64": "5.0.0-alpha.3",
34
- "@maaxyz/maa-node-darwin-x64": "5.0.0-alpha.3",
35
- "@maaxyz/maa-node-linux-arm64": "5.0.0-alpha.3",
36
- "@maaxyz/maa-node-linux-x64": "5.0.0-alpha.3",
37
- "@maaxyz/maa-node-win32-arm64": "5.0.0-alpha.3",
38
- "@maaxyz/maa-node-win32-x64": "5.0.0-alpha.3"
33
+ "@maaxyz/maa-node-darwin-arm64": "5.0.0-alpha.4",
34
+ "@maaxyz/maa-node-darwin-x64": "5.0.0-alpha.4",
35
+ "@maaxyz/maa-node-linux-arm64": "5.0.0-alpha.4",
36
+ "@maaxyz/maa-node-linux-x64": "5.0.0-alpha.4",
37
+ "@maaxyz/maa-node-win32-arm64": "5.0.0-alpha.4",
38
+ "@maaxyz/maa-node-win32-x64": "5.0.0-alpha.4"
39
39
  }
40
40
  }