appium-xcuitest-driver 10.14.0 → 10.14.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/lib/commands/condition.d.ts +9 -72
  3. package/build/lib/commands/condition.d.ts.map +1 -1
  4. package/build/lib/commands/condition.js +5 -66
  5. package/build/lib/commands/condition.js.map +1 -1
  6. package/build/lib/commands/execute.d.ts +10 -22
  7. package/build/lib/commands/execute.d.ts.map +1 -1
  8. package/build/lib/commands/execute.js +12 -28
  9. package/build/lib/commands/execute.js.map +1 -1
  10. package/build/lib/commands/location.d.ts +8 -11
  11. package/build/lib/commands/location.d.ts.map +1 -1
  12. package/build/lib/commands/location.js +7 -15
  13. package/build/lib/commands/location.js.map +1 -1
  14. package/build/lib/commands/navigation.d.ts +14 -26
  15. package/build/lib/commands/navigation.d.ts.map +1 -1
  16. package/build/lib/commands/navigation.js +10 -18
  17. package/build/lib/commands/navigation.js.map +1 -1
  18. package/build/lib/commands/pcap.d.ts +18 -38
  19. package/build/lib/commands/pcap.d.ts.map +1 -1
  20. package/build/lib/commands/pcap.js +9 -14
  21. package/build/lib/commands/pcap.js.map +1 -1
  22. package/build/lib/commands/record-audio.d.ts +25 -53
  23. package/build/lib/commands/record-audio.d.ts.map +1 -1
  24. package/build/lib/commands/record-audio.js +17 -19
  25. package/build/lib/commands/record-audio.js.map +1 -1
  26. package/build/lib/commands/screenshots.d.ts +15 -9
  27. package/build/lib/commands/screenshots.d.ts.map +1 -1
  28. package/build/lib/commands/screenshots.js +13 -11
  29. package/build/lib/commands/screenshots.js.map +1 -1
  30. package/build/lib/commands/source.d.ts +10 -8
  31. package/build/lib/commands/source.d.ts.map +1 -1
  32. package/build/lib/commands/source.js +11 -14
  33. package/build/lib/commands/source.js.map +1 -1
  34. package/build/lib/commands/types.d.ts +58 -0
  35. package/build/lib/commands/types.d.ts.map +1 -1
  36. package/build/lib/commands/xctest-record-screen.d.ts +17 -47
  37. package/build/lib/commands/xctest-record-screen.d.ts.map +1 -1
  38. package/build/lib/commands/xctest-record-screen.js +28 -59
  39. package/build/lib/commands/xctest-record-screen.js.map +1 -1
  40. package/build/lib/driver.d.ts +1 -1
  41. package/build/lib/driver.d.ts.map +1 -1
  42. package/build/lib/driver.js +1 -1
  43. package/build/lib/driver.js.map +1 -1
  44. package/build/lib/execute-method-map.d.ts.map +1 -1
  45. package/build/lib/execute-method-map.js +0 -6
  46. package/build/lib/execute-method-map.js.map +1 -1
  47. package/lib/commands/{condition.js → condition.ts} +21 -77
  48. package/lib/commands/{execute.js → execute.ts} +41 -37
  49. package/lib/commands/{location.js → location.ts} +19 -22
  50. package/lib/commands/{navigation.js → navigation.ts} +23 -26
  51. package/lib/commands/{pcap.js → pcap.ts} +28 -28
  52. package/lib/commands/{record-audio.js → record-audio.ts} +35 -33
  53. package/lib/commands/{screenshots.js → screenshots.ts} +24 -16
  54. package/lib/commands/{source.js → source.ts} +23 -20
  55. package/lib/commands/types.ts +63 -0
  56. package/lib/commands/{xctest-record-screen.js → xctest-record-screen.ts} +54 -71
  57. package/lib/driver.ts +2 -2
  58. package/lib/execute-method-map.ts +0 -6
  59. package/npm-shrinkwrap.json +2 -2
  60. package/package.json +1 -1
@@ -466,28 +466,24 @@ export const executeMethodMap = {
466
466
  command: 'mobileResetLocationService',
467
467
  },
468
468
  'mobile: startPcap': {
469
- // @ts-expect-error Class field assignment - method exists on XCUITestDriver
470
469
  command: 'mobileStartPcap',
471
470
  params: {
472
471
  optional: ['timeLimitSec', 'forceRestart'],
473
472
  },
474
473
  },
475
474
  'mobile: stopPcap': {
476
- // @ts-expect-error Class field assignment - method exists on XCUITestDriver
477
475
  command: 'mobileStopPcap',
478
476
  },
479
477
  'mobile: listConditionInducers': {
480
478
  command: 'listConditionInducers',
481
479
  },
482
480
  'mobile: enableConditionInducer': {
483
- // @ts-expect-error Class field assignment - method exists on XCUITestDriver
484
481
  command: 'enableConditionInducer',
485
482
  params: {
486
483
  required: ['conditionID', 'profileID'],
487
484
  },
488
485
  },
489
486
  'mobile: disableConditionInducer': {
490
- // @ts-expect-error Class field assignment - method exists on XCUITestDriver
491
487
  command: 'disableConditionInducer',
492
488
  },
493
489
  'mobile: updateSafariPreferences': {
@@ -529,7 +525,6 @@ export const executeMethodMap = {
529
525
  command: 'mobileShake',
530
526
  },
531
527
  'mobile: startAudioRecording': {
532
- // @ts-expect-error Class field assignment - method exists on XCUITestDriver
533
528
  command: 'startAudioRecording',
534
529
  params: {
535
530
  required: ['audioInput'],
@@ -544,7 +539,6 @@ export const executeMethodMap = {
544
539
  },
545
540
  },
546
541
  'mobile: stopAudioRecording': {
547
- // @ts-expect-error Class field assignment - method exists on XCUITestDriver
548
542
  command: 'stopAudioRecording',
549
543
  },
550
544
  'mobile: hideKeyboard': {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "appium-xcuitest-driver",
3
- "version": "10.14.0",
3
+ "version": "10.14.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-xcuitest-driver",
9
- "version": "10.14.0",
9
+ "version": "10.14.2",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@appium/strongbox": "^1.0.0-rc.1",
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "xcuitest",
9
9
  "xctest"
10
10
  ],
11
- "version": "10.14.0",
11
+ "version": "10.14.2",
12
12
  "author": "Appium Contributors",
13
13
  "license": "Apache-2.0",
14
14
  "repository": {