@maaxyz/maa-node 5.1.4 → 5.2.0-beta.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.
Files changed (2) hide show
  1. package/dist/constant.d.ts +33 -0
  2. package/package.json +7 -7
@@ -37,6 +37,39 @@ declare global {
37
37
  ScreencapOrInputMethods
38
38
  >
39
39
  const DbgControllerType: Record<'CarouselImage' | 'ReplayRecording', Uint64>
40
+ const RecognitionType: Record<
41
+ | 'DirectHit'
42
+ | 'TemplateMatch'
43
+ | 'FeatureMatch'
44
+ | 'ColorMatch'
45
+ | 'OCR'
46
+ | 'NeuralNetworkClassify'
47
+ | 'NeuralNetworkDetect'
48
+ | 'Custom',
49
+ string
50
+ >
51
+ const ActionType: Record<
52
+ | 'DoNothing'
53
+ | 'Click'
54
+ | 'LongPress'
55
+ | 'Swipe'
56
+ | 'MultiSwipe'
57
+ | 'TouchDown'
58
+ | 'TouchMove'
59
+ | 'TouchUp'
60
+ | 'ClickKey'
61
+ | 'LongPressKey'
62
+ | 'KeyDown'
63
+ | 'KeyUp'
64
+ | 'InputText'
65
+ | 'StartApp'
66
+ | 'StopApp'
67
+ | 'StopTask'
68
+ | 'Scroll'
69
+ | 'Command'
70
+ | 'Custom',
71
+ string
72
+ >
40
73
  }
41
74
  }
42
75
  export {}
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.1.4",
31
+ "version": "5.2.0-beta.1",
32
32
  "optionalDependencies": {
33
- "@maaxyz/maa-node-darwin-arm64": "5.1.4",
34
- "@maaxyz/maa-node-darwin-x64": "5.1.4",
35
- "@maaxyz/maa-node-linux-arm64": "5.1.4",
36
- "@maaxyz/maa-node-linux-x64": "5.1.4",
37
- "@maaxyz/maa-node-win32-arm64": "5.1.4",
38
- "@maaxyz/maa-node-win32-x64": "5.1.4"
33
+ "@maaxyz/maa-node-darwin-arm64": "5.2.0-beta.1",
34
+ "@maaxyz/maa-node-darwin-x64": "5.2.0-beta.1",
35
+ "@maaxyz/maa-node-linux-arm64": "5.2.0-beta.1",
36
+ "@maaxyz/maa-node-linux-x64": "5.2.0-beta.1",
37
+ "@maaxyz/maa-node-win32-arm64": "5.2.0-beta.1",
38
+ "@maaxyz/maa-node-win32-x64": "5.2.0-beta.1"
39
39
  }
40
40
  }