@maaxyz/maa-node 5.8.0-alpha.1 → 5.8.0-alpha.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.
@@ -38,10 +38,10 @@ declare global {
38
38
  get_node_data_parsed(node_name: string): DumpTask | null
39
39
  get_default_recognition_param(
40
40
  reco_type: RecognitionType,
41
- ): Recognition<ModeFragment>['recognition']['param'] | null
41
+ ): Exclude<Recognition<ModeFragment>['recognition'], string | undefined>['param'] | null
42
42
  get_default_action_param(
43
43
  action_type: ActionType,
44
- ): Action<ModeFragment>['action']['param'] | null
44
+ ): Exclude<Action<ModeFragment>['action'], string | undefined>['param'] | null
45
45
  clear(): void
46
46
  status(id: ResId): Status
47
47
  wait(id: ResId): Promise<Status>
package/package.json CHANGED
@@ -20,13 +20,13 @@
20
20
  "engines": {
21
21
  "node": ">= 20.0.0"
22
22
  },
23
- "version": "5.8.0-alpha.1",
23
+ "version": "5.8.0-alpha.2",
24
24
  "optionalDependencies": {
25
- "@maaxyz/maa-node-darwin-arm64": "5.8.0-alpha.1",
26
- "@maaxyz/maa-node-darwin-x64": "5.8.0-alpha.1",
27
- "@maaxyz/maa-node-linux-arm64": "5.8.0-alpha.1",
28
- "@maaxyz/maa-node-linux-x64": "5.8.0-alpha.1",
29
- "@maaxyz/maa-node-win32-arm64": "5.8.0-alpha.1",
30
- "@maaxyz/maa-node-win32-x64": "5.8.0-alpha.1"
25
+ "@maaxyz/maa-node-darwin-arm64": "5.8.0-alpha.2",
26
+ "@maaxyz/maa-node-darwin-x64": "5.8.0-alpha.2",
27
+ "@maaxyz/maa-node-linux-arm64": "5.8.0-alpha.2",
28
+ "@maaxyz/maa-node-linux-x64": "5.8.0-alpha.2",
29
+ "@maaxyz/maa-node-win32-arm64": "5.8.0-alpha.2",
30
+ "@maaxyz/maa-node-win32-x64": "5.8.0-alpha.2"
31
31
  }
32
32
  }