@maaxyz/maa-node 5.7.2 → 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.
@@ -102,6 +102,7 @@ declare global {
102
102
  index?: number
103
103
  only_rec?: boolean
104
104
  model?: string
105
+ color_filter?: string
105
106
  }
106
107
 
107
108
  type RecognitionNeuralNetworkClassify<Mode> = RequiredIfStrict<
@@ -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.7.2",
23
+ "version": "5.8.0-alpha.2",
24
24
  "optionalDependencies": {
25
- "@maaxyz/maa-node-darwin-arm64": "5.7.2",
26
- "@maaxyz/maa-node-darwin-x64": "5.7.2",
27
- "@maaxyz/maa-node-linux-arm64": "5.7.2",
28
- "@maaxyz/maa-node-linux-x64": "5.7.2",
29
- "@maaxyz/maa-node-win32-arm64": "5.7.2",
30
- "@maaxyz/maa-node-win32-x64": "5.7.2"
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
  }