@maaxyz/maa-node 5.0.4 → 5.1.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.
- package/dist/client.d.ts +2 -0
- package/dist/pipeline.d.ts +9 -5
- package/dist/resource.d.ts +2 -0
- package/package.json +7 -7
package/dist/client.d.ts
CHANGED
package/dist/pipeline.d.ts
CHANGED
|
@@ -347,6 +347,11 @@ declare global {
|
|
|
347
347
|
| MixAct<'Command', ActionCommand<Mode>, Mode>
|
|
348
348
|
| MixAct<'Custom', ActionCustom<Mode>, Mode>
|
|
349
349
|
|
|
350
|
+
type NodeAttr = {
|
|
351
|
+
name: string
|
|
352
|
+
jump_back: boolean
|
|
353
|
+
}
|
|
354
|
+
|
|
350
355
|
type WaitFreeze = {
|
|
351
356
|
time?: number
|
|
352
357
|
target?: true | NodeName | Rect
|
|
@@ -358,20 +363,19 @@ declare global {
|
|
|
358
363
|
}
|
|
359
364
|
|
|
360
365
|
type General<Mode> = {
|
|
361
|
-
next?: MaybeArray<
|
|
362
|
-
interrupt?: MaybeArray<NodeName, Mode>
|
|
363
|
-
is_sub?: boolean
|
|
366
|
+
next?: MaybeArray<NodeAttr, Mode>
|
|
364
367
|
rate_limit?: number
|
|
365
368
|
timeout?: number
|
|
366
|
-
on_error?: MaybeArray<
|
|
369
|
+
on_error?: MaybeArray<NodeAttr, Mode>
|
|
367
370
|
inverse?: boolean
|
|
368
371
|
enabled?: boolean
|
|
372
|
+
max_hit?: number
|
|
369
373
|
pre_delay?: boolean
|
|
370
374
|
post_delay?: boolean
|
|
371
375
|
pre_wait_freezes?: RemoveIfDump<number, Mode> | WaitFreeze
|
|
372
376
|
post_wait_freezes?: RemoveIfDump<number, Mode> | WaitFreeze
|
|
373
377
|
focus?: unknown
|
|
374
|
-
attach?: Record<string, unknown>
|
|
378
|
+
attach?: Record<string, unknown>
|
|
375
379
|
}
|
|
376
380
|
|
|
377
381
|
type Task = Recognition<ModeFragment> & Action<ModeFragment> & General<ModeFragment>
|
package/dist/resource.d.ts
CHANGED
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.
|
|
31
|
+
"version": "5.1.0-beta.1",
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
-
"@maaxyz/maa-node-darwin-arm64": "5.0.
|
|
34
|
-
"@maaxyz/maa-node-darwin-x64": "5.0.
|
|
35
|
-
"@maaxyz/maa-node-linux-arm64": "5.0.
|
|
36
|
-
"@maaxyz/maa-node-linux-x64": "5.0.
|
|
37
|
-
"@maaxyz/maa-node-win32-arm64": "5.0.
|
|
38
|
-
"@maaxyz/maa-node-win32-x64": "5.0.
|
|
33
|
+
"@maaxyz/maa-node-darwin-arm64": "5.1.0-beta.1",
|
|
34
|
+
"@maaxyz/maa-node-darwin-x64": "5.1.0-beta.1",
|
|
35
|
+
"@maaxyz/maa-node-linux-arm64": "5.1.0-beta.1",
|
|
36
|
+
"@maaxyz/maa-node-linux-x64": "5.1.0-beta.1",
|
|
37
|
+
"@maaxyz/maa-node-win32-arm64": "5.1.0-beta.1",
|
|
38
|
+
"@maaxyz/maa-node-win32-x64": "5.1.0-beta.1"
|
|
39
39
|
}
|
|
40
40
|
}
|