@midscene/android 1.0.1-beta-20251107065041.0 → 1.0.1-beta-20251110055007.0

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/es/index.mjs CHANGED
@@ -952,7 +952,6 @@ const createPlatformActions = (device)=>({
952
952
  AndroidBackButton: defineAction({
953
953
  name: 'AndroidBackButton',
954
954
  description: 'Trigger the system "back" operation on Android devices',
955
- paramSchema: z["void"]().describe('No parameters required'),
956
955
  call: async ()=>{
957
956
  await device.back();
958
957
  }
@@ -960,7 +959,6 @@ const createPlatformActions = (device)=>({
960
959
  AndroidHomeButton: defineAction({
961
960
  name: 'AndroidHomeButton',
962
961
  description: 'Trigger the system "home" operation on Android devices',
963
- paramSchema: z["void"]().describe('No parameters required'),
964
962
  call: async ()=>{
965
963
  await device.home();
966
964
  }
@@ -968,7 +966,6 @@ const createPlatformActions = (device)=>({
968
966
  AndroidRecentAppsButton: defineAction({
969
967
  name: 'AndroidRecentAppsButton',
970
968
  description: 'Trigger the system "recent apps" operation on Android devices',
971
- paramSchema: z["void"]().describe('No parameters required'),
972
969
  call: async ()=>{
973
970
  await device.recentApps();
974
971
  }
package/dist/lib/index.js CHANGED
@@ -998,7 +998,6 @@ const createPlatformActions = (device)=>({
998
998
  AndroidBackButton: (0, device_namespaceObject.defineAction)({
999
999
  name: 'AndroidBackButton',
1000
1000
  description: 'Trigger the system "back" operation on Android devices',
1001
- paramSchema: core_namespaceObject.z["void"]().describe('No parameters required'),
1002
1001
  call: async ()=>{
1003
1002
  await device.back();
1004
1003
  }
@@ -1006,7 +1005,6 @@ const createPlatformActions = (device)=>({
1006
1005
  AndroidHomeButton: (0, device_namespaceObject.defineAction)({
1007
1006
  name: 'AndroidHomeButton',
1008
1007
  description: 'Trigger the system "home" operation on Android devices',
1009
- paramSchema: core_namespaceObject.z["void"]().describe('No parameters required'),
1010
1008
  call: async ()=>{
1011
1009
  await device.home();
1012
1010
  }
@@ -1014,7 +1012,6 @@ const createPlatformActions = (device)=>({
1014
1012
  AndroidRecentAppsButton: (0, device_namespaceObject.defineAction)({
1015
1013
  name: 'AndroidRecentAppsButton',
1016
1014
  description: 'Trigger the system "recent apps" operation on Android devices',
1017
- paramSchema: core_namespaceObject.z["void"]().describe('No parameters required'),
1018
1015
  call: async ()=>{
1019
1016
  await device.recentApps();
1020
1017
  }
@@ -142,11 +142,11 @@ export declare class AndroidDevice implements AbstractInterface {
142
142
  hideKeyboard(options?: AndroidDeviceInputOpt, timeoutMs?: number): Promise<boolean>;
143
143
  }
144
144
 
145
- declare type DeviceActionAndroidBackButton = DeviceAction<void, void>;
145
+ declare type DeviceActionAndroidBackButton = DeviceAction<undefined, void>;
146
146
 
147
- declare type DeviceActionAndroidHomeButton = DeviceAction<void, void>;
147
+ declare type DeviceActionAndroidHomeButton = DeviceAction<undefined, void>;
148
148
 
149
- declare type DeviceActionAndroidRecentAppsButton = DeviceAction<void, void>;
149
+ declare type DeviceActionAndroidRecentAppsButton = DeviceAction<undefined, void>;
150
150
 
151
151
  declare type DeviceActionLaunch = DeviceAction<LaunchParam, void>;
152
152
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midscene/android",
3
- "version": "1.0.1-beta-20251107065041.0",
3
+ "version": "1.0.1-beta-20251110055007.0",
4
4
  "description": "Android automation library for Midscene",
5
5
  "keywords": [
6
6
  "Android UI automation",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "appium-adb": "12.12.1",
30
- "@midscene/core": "1.0.1-beta-20251107065041.0",
31
- "@midscene/shared": "1.0.1-beta-20251107065041.0"
30
+ "@midscene/core": "1.0.1-beta-20251110055007.0",
31
+ "@midscene/shared": "1.0.1-beta-20251110055007.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@rslib/core": "^0.11.2",
@@ -38,7 +38,7 @@
38
38
  "tsx": "^4.19.2",
39
39
  "vitest": "3.0.5",
40
40
  "zod": "3.24.3",
41
- "@midscene/playground": "1.0.1-beta-20251107065041.0"
41
+ "@midscene/playground": "1.0.1-beta-20251110055007.0"
42
42
  },
43
43
  "license": "MIT",
44
44
  "scripts": {