@autifyhq/autify-sdk 0.24.0 → 0.25.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.
@@ -19,7 +19,7 @@ class MobileClient {
19
19
  if (!accessToken) {
20
20
  throw new Error("accessToken is required.");
21
21
  }
22
- // eslint-disable-next-line @typescript-eslint/no-var-requires
22
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
23
23
  this.version = require("../../../package.json").version;
24
24
  const baseOptions = {
25
25
  ...(userAgent && {
@@ -433,6 +433,12 @@ export interface RunTestPlanRequest {
433
433
  * @memberof RunTestPlanRequest
434
434
  */
435
435
  build_id?: string;
436
+ /**
437
+ *
438
+ * @type {Array<string>}
439
+ * @memberof RunTestPlanRequest
440
+ */
441
+ device_ids?: Array<string>;
436
442
  }
437
443
  /**
438
444
  *
@@ -63,4 +63,4 @@ export declare const toPathString: (url: URL) => string;
63
63
  *
64
64
  * @export
65
65
  */
66
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
66
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -35,7 +35,7 @@ class Configuration {
35
35
  * @return True if the given MIME is JSON, false otherwise.
36
36
  */
37
37
  isJsonMime(mime) {
38
- const jsonMime = new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$", "i");
38
+ const jsonMime = new RegExp("^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$", "i");
39
39
  return (mime !== null &&
40
40
  (jsonMime.test(mime) ||
41
41
  mime.toLowerCase() === "application/json-patch+json"));
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  /* tslint:disable */
3
- /* eslint-disable */
4
3
  /**
5
4
  * Autify for Mobile API
6
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
@@ -63,4 +63,4 @@ export declare const toPathString: (url: URL) => string;
63
63
  *
64
64
  * @export
65
65
  */
66
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
66
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autifyhq/autify-sdk",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Autify SDK for JavaScript",
5
5
  "author": "Autify",
6
6
  "homepage": "https://github.com/autifyhq/autify-sdk-js",
@@ -13,37 +13,37 @@
13
13
  "/dist"
14
14
  ],
15
15
  "engines": {
16
- "node": ">=20.18.3"
16
+ "node": ">=22.14.0"
17
17
  },
18
18
  "dependencies": {
19
- "axios": "^1.7.9",
19
+ "axios": "^1.8.3",
20
20
  "axios-logger": "^2.8.1",
21
21
  "debug": "^4.4.0",
22
22
  "form-data": "^4.0.2",
23
23
  "tslib": "^2.8.1"
24
24
  },
25
25
  "devDependencies": {
26
- "@eslint/eslintrc": "^3.2.0",
27
- "@eslint/js": "^9.20.0",
28
- "@openapitools/openapi-generator-cli": "^2.16.3",
26
+ "@eslint/eslintrc": "^3.3.0",
27
+ "@eslint/js": "^9.22.0",
28
+ "@openapitools/openapi-generator-cli": "^2.18.4",
29
29
  "@types/debug": "^4.1.12",
30
30
  "@types/jest": "^29.5.14",
31
- "@types/node": "^20.17.19",
32
- "@typescript-eslint/eslint-plugin": "^8.24.1",
33
- "@typescript-eslint/parser": "^8.24.1",
31
+ "@types/node": "^22.13.10",
32
+ "@typescript-eslint/eslint-plugin": "^8.26.1",
33
+ "@typescript-eslint/parser": "^8.26.1",
34
34
  "axios-mock-adapter": "^2.1.0",
35
- "eslint": "^9.20.1",
36
- "eslint-config-prettier": "^10.0.1",
35
+ "eslint": "^9.22.0",
36
+ "eslint-config-prettier": "^10.1.1",
37
37
  "eslint-plugin-unused-imports": "^4.1.4",
38
38
  "husky": "^9.1.7",
39
39
  "jest": "^29.7.0",
40
- "lint-staged": "^15.4.3",
41
- "prettier": "^3.5.1",
42
- "shx": "^0.3.4",
43
- "ts-jest": "^29.2.5",
40
+ "lint-staged": "^15.5.0",
41
+ "prettier": "^3.5.3",
42
+ "shx": "^0.4.0",
43
+ "ts-jest": "^29.2.6",
44
44
  "ts-morph": "^25.0.1",
45
45
  "ts-node": "^10.9.2",
46
- "typescript": "^5.7.3"
46
+ "typescript": "^5.8.2"
47
47
  },
48
48
  "scripts": {
49
49
  "update-swagger-web": "curl -o swagger-web.yml https://autifyhq.github.io/autify-api/swagger.yml",