@appium/base-driver 9.17.0 → 9.18.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.
Files changed (45) hide show
  1. package/build/lib/basedriver/capabilities.d.ts +1 -1
  2. package/build/lib/basedriver/capabilities.d.ts.map +1 -1
  3. package/build/lib/basedriver/capabilities.js +1 -1
  4. package/build/lib/basedriver/capabilities.js.map +1 -1
  5. package/build/lib/basedriver/commands/timeout.js +2 -2
  6. package/build/lib/basedriver/commands/timeout.js.map +1 -1
  7. package/build/lib/basedriver/core.d.ts +2 -1
  8. package/build/lib/basedriver/core.d.ts.map +1 -1
  9. package/build/lib/basedriver/core.js +2 -2
  10. package/build/lib/basedriver/core.js.map +1 -1
  11. package/build/lib/basedriver/driver.d.ts +5 -1
  12. package/build/lib/basedriver/driver.d.ts.map +1 -1
  13. package/build/lib/basedriver/driver.js +6 -1
  14. package/build/lib/basedriver/driver.js.map +1 -1
  15. package/build/lib/basedriver/extension-core.js +1 -1
  16. package/build/lib/basedriver/extension-core.js.map +1 -1
  17. package/build/lib/basedriver/helpers.js +3 -3
  18. package/build/lib/basedriver/helpers.js.map +1 -1
  19. package/build/lib/express/middleware.js +1 -1
  20. package/build/lib/express/middleware.js.map +1 -1
  21. package/build/lib/express/server.js +2 -2
  22. package/build/lib/express/server.js.map +1 -1
  23. package/build/lib/jsonwp-proxy/protocol-converter.js +2 -2
  24. package/build/lib/jsonwp-proxy/protocol-converter.js.map +1 -1
  25. package/build/lib/jsonwp-proxy/proxy.js +1 -1
  26. package/build/lib/jsonwp-proxy/proxy.js.map +1 -1
  27. package/build/lib/protocol/protocol.js +3 -3
  28. package/build/lib/protocol/protocol.js.map +1 -1
  29. package/build/lib/protocol/routes.d.ts +2 -0
  30. package/build/lib/protocol/routes.d.ts.map +1 -1
  31. package/build/lib/protocol/routes.js +10 -3
  32. package/build/lib/protocol/routes.js.map +1 -1
  33. package/lib/basedriver/capabilities.ts +2 -2
  34. package/lib/basedriver/commands/timeout.ts +2 -2
  35. package/lib/basedriver/core.ts +4 -2
  36. package/lib/basedriver/driver.ts +7 -1
  37. package/lib/basedriver/extension-core.ts +1 -1
  38. package/lib/basedriver/helpers.js +3 -3
  39. package/lib/express/middleware.js +1 -1
  40. package/lib/express/server.js +2 -2
  41. package/lib/jsonwp-proxy/protocol-converter.js +2 -2
  42. package/lib/jsonwp-proxy/proxy.js +1 -1
  43. package/lib/protocol/protocol.js +3 -3
  44. package/lib/protocol/routes.js +10 -3
  45. package/package.json +6 -6
@@ -327,8 +327,15 @@ export const METHOD_MAP = /** @type {const} */ ({
327
327
  POST: {command: 'setRotation', payloadParams: {required: ['x', 'y', 'z']}},
328
328
  },
329
329
  '/session/:sessionId/location': {
330
- GET: {command: 'getGeoLocation'},
331
- POST: {command: 'setGeoLocation', payloadParams: {required: ['location']}},
330
+ GET: {
331
+ command: 'getGeoLocation',
332
+ deprecated: true,
333
+ },
334
+ POST: {
335
+ command: 'setGeoLocation',
336
+ payloadParams: {required: ['location']},
337
+ deprecated: true,
338
+ },
332
339
  },
333
340
  '/session/:sessionId/orientation': {
334
341
  GET: {command: 'getOrientation'},
@@ -471,7 +478,7 @@ export const METHOD_MAP = /** @type {const} */ ({
471
478
  // #endregion
472
479
 
473
480
  //
474
- // 3rd party vendor/protcol support
481
+ // 3rd party vendor/protocol support
475
482
  //
476
483
  // #region Selenium/Chromium browsers
477
484
  '/session/:sessionId/se/log': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appium/base-driver",
3
- "version": "9.17.0",
3
+ "version": "9.18.0",
4
4
  "description": "Base driver class for Appium drivers",
5
5
  "keywords": [
6
6
  "automation",
@@ -44,12 +44,12 @@
44
44
  "test:types": "tsd"
45
45
  },
46
46
  "dependencies": {
47
- "@appium/support": "^6.1.0",
48
- "@appium/types": "^0.25.3",
47
+ "@appium/support": "^6.1.1",
48
+ "@appium/types": "^0.26.0",
49
49
  "@colors/colors": "1.6.0",
50
50
  "async-lock": "1.4.1",
51
51
  "asyncbox": "3.0.0",
52
- "axios": "1.8.4",
52
+ "axios": "1.9.0",
53
53
  "bluebird": "3.7.2",
54
54
  "body-parser": "1.20.3",
55
55
  "express": "4.21.2",
@@ -62,7 +62,7 @@
62
62
  "path-to-regexp": "8.2.0",
63
63
  "serve-favicon": "2.5.0",
64
64
  "source-map-support": "0.5.21",
65
- "type-fest": "4.40.0",
65
+ "type-fest": "4.41.0",
66
66
  "validate.js": "0.13.1"
67
67
  },
68
68
  "optionalDependencies": {
@@ -75,7 +75,7 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "8476bd3f65fc549f9a589d20d19236d0ce4ea335",
78
+ "gitHead": "c8fe4412525f7e1fa237813cf83fe7d98f0125eb",
79
79
  "tsd": {
80
80
  "directory": "test/types"
81
81
  }