@midscene/ios 0.30.3-beta-20251011064436.0 → 0.30.3-beta-20251011080128.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/bin.mjs CHANGED
@@ -12099,14 +12099,13 @@ class device_IOSDevice {
12099
12099
  paramSchema: z.object({
12100
12100
  value: z.string().describe('The final that should be filled in the input box. No matter what modifications are required, just provide the final value to replace the existing input value. Giving a blank string means clear the input field.'),
12101
12101
  autoDismissKeyboard: z.boolean().optional().describe('If true, the keyboard will be dismissed after the input is completed. Do not set it unless the user asks you to do so.'),
12102
- append: z.boolean().optional().describe('If true, append the value to the existing content instead of replacing it. Default is false.'),
12103
12102
  locate: getMidsceneLocationSchema().describe('The input field to be filled').optional()
12104
12103
  }),
12105
12104
  call: async (param)=>{
12106
12105
  var _this_options;
12107
12106
  const element = param.locate;
12108
12107
  if (element) {
12109
- if (!param.append) await this.clearInput(element);
12108
+ await this.clearInput(element);
12110
12109
  if (!param || !param.value) return;
12111
12110
  }
12112
12111
  const autoDismissKeyboard = param.autoDismissKeyboard ?? (null == (_this_options = this.options) ? void 0 : _this_options.autoDismissKeyboard);
package/dist/es/index.mjs CHANGED
@@ -293,14 +293,13 @@ class IOSDevice {
293
293
  paramSchema: z.object({
294
294
  value: z.string().describe('The final that should be filled in the input box. No matter what modifications are required, just provide the final value to replace the existing input value. Giving a blank string means clear the input field.'),
295
295
  autoDismissKeyboard: z.boolean().optional().describe('If true, the keyboard will be dismissed after the input is completed. Do not set it unless the user asks you to do so.'),
296
- append: z.boolean().optional().describe('If true, append the value to the existing content instead of replacing it. Default is false.'),
297
296
  locate: getMidsceneLocationSchema().describe('The input field to be filled').optional()
298
297
  }),
299
298
  call: async (param)=>{
300
299
  var _this_options;
301
300
  const element = param.locate;
302
301
  if (element) {
303
- if (!param.append) await this.clearInput(element);
302
+ await this.clearInput(element);
304
303
  if (!param || !param.value) return;
305
304
  }
306
305
  const autoDismissKeyboard = param.autoDismissKeyboard ?? (null == (_this_options = this.options) ? void 0 : _this_options.autoDismissKeyboard);
package/dist/lib/bin.js CHANGED
@@ -12237,14 +12237,13 @@ var __webpack_exports__ = {};
12237
12237
  paramSchema: core_namespaceObject.z.object({
12238
12238
  value: core_namespaceObject.z.string().describe('The final that should be filled in the input box. No matter what modifications are required, just provide the final value to replace the existing input value. Giving a blank string means clear the input field.'),
12239
12239
  autoDismissKeyboard: core_namespaceObject.z.boolean().optional().describe('If true, the keyboard will be dismissed after the input is completed. Do not set it unless the user asks you to do so.'),
12240
- append: core_namespaceObject.z.boolean().optional().describe('If true, append the value to the existing content instead of replacing it. Default is false.'),
12241
12240
  locate: (0, core_namespaceObject.getMidsceneLocationSchema)().describe('The input field to be filled').optional()
12242
12241
  }),
12243
12242
  call: async (param)=>{
12244
12243
  var _this_options;
12245
12244
  const element = param.locate;
12246
12245
  if (element) {
12247
- if (!param.append) await this.clearInput(element);
12246
+ await this.clearInput(element);
12248
12247
  if (!param || !param.value) return;
12249
12248
  }
12250
12249
  const autoDismissKeyboard = param.autoDismissKeyboard ?? (null == (_this_options = this.options) ? void 0 : _this_options.autoDismissKeyboard);
package/dist/lib/index.js CHANGED
@@ -331,14 +331,13 @@ class IOSDevice {
331
331
  paramSchema: core_namespaceObject.z.object({
332
332
  value: core_namespaceObject.z.string().describe('The final that should be filled in the input box. No matter what modifications are required, just provide the final value to replace the existing input value. Giving a blank string means clear the input field.'),
333
333
  autoDismissKeyboard: core_namespaceObject.z.boolean().optional().describe('If true, the keyboard will be dismissed after the input is completed. Do not set it unless the user asks you to do so.'),
334
- append: core_namespaceObject.z.boolean().optional().describe('If true, append the value to the existing content instead of replacing it. Default is false.'),
335
334
  locate: (0, core_namespaceObject.getMidsceneLocationSchema)().describe('The input field to be filled').optional()
336
335
  }),
337
336
  call: async (param)=>{
338
337
  var _this_options;
339
338
  const element = param.locate;
340
339
  if (element) {
341
- if (!param.append) await this.clearInput(element);
340
+ await this.clearInput(element);
342
341
  if (!param || !param.value) return;
343
342
  }
344
343
  const autoDismissKeyboard = param.autoDismissKeyboard ?? (null == (_this_options = this.options) ? void 0 : _this_options.autoDismissKeyboard);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midscene/ios",
3
- "version": "0.30.3-beta-20251011064436.0",
3
+ "version": "0.30.3-beta-20251011080128.0",
4
4
  "description": "iOS automation library for Midscene",
5
5
  "keywords": [
6
6
  "iOS UI automation",
@@ -38,9 +38,9 @@
38
38
  "dependencies": {
39
39
  "@inquirer/prompts": "^7.8.6",
40
40
  "open": "10.1.0",
41
- "@midscene/core": "0.30.3-beta-20251011064436.0",
42
- "@midscene/webdriver": "0.30.3-beta-20251011064436.0",
43
- "@midscene/shared": "0.30.3-beta-20251011064436.0"
41
+ "@midscene/core": "0.30.3-beta-20251011080128.0",
42
+ "@midscene/shared": "0.30.3-beta-20251011080128.0",
43
+ "@midscene/webdriver": "0.30.3-beta-20251011080128.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@rslib/core": "^0.11.2",
@@ -49,7 +49,7 @@
49
49
  "typescript": "^5.8.3",
50
50
  "tsx": "^4.19.2",
51
51
  "vitest": "3.0.5",
52
- "@midscene/playground": "0.30.3-beta-20251011064436.0"
52
+ "@midscene/playground": "0.30.3-beta-20251011080128.0"
53
53
  },
54
54
  "license": "MIT",
55
55
  "scripts": {
package/static/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.f566a9ed.js"></script><script defer src="/static/js/657.5a5fe47b.js"></script><script defer src="/static/js/index.d6090407.js"></script><link href="/static/css/index.44466eb4.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
1
+ <!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.f566a9ed.js"></script><script defer src="/static/js/657.5a5fe47b.js"></script><script defer src="/static/js/index.8d6e2c5c.js"></script><link href="/static/css/index.44466eb4.css" rel="stylesheet"></head><body><div id="root"></div></body></html>