@applitools/nml-client 1.3.11 → 1.3.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/nml-client",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "description": "Client to integrate the SDKs to the Native Mobile Library (NML)",
5
5
  "homepage": "https://applitools.com",
6
6
  "bugs": {
@@ -46,26 +46,26 @@
46
46
  "postversion": "bongo postversion --skip-release-notification"
47
47
  },
48
48
  "dependencies": {
49
- "@applitools/logger": "1.1.30",
50
- "@applitools/req": "1.1.16",
51
- "@applitools/utils": "1.3.16"
49
+ "@applitools/logger": "1.1.31",
50
+ "@applitools/req": "1.1.18",
51
+ "@applitools/utils": "1.3.17"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@applitools/bongo": "^2.2.0",
55
55
  "@applitools/scripts": "^1.2.0",
56
- "@applitools/spec-driver-selenium": "^1.5.8",
57
- "@applitools/test-server": "^1.1.10",
56
+ "@applitools/spec-driver-selenium": "^1.5.11",
57
+ "@applitools/test-server": "^1.1.12",
58
58
  "@applitools/test-utils": "^1.5.2",
59
59
  "@types/mocha": "^9.1.1",
60
60
  "@types/node": "12",
61
61
  "@types/selenium-webdriver": "^4.1.2",
62
- "@typescript-eslint/eslint-plugin": "^4.7.0",
63
- "@typescript-eslint/parser": "^4.7.0",
64
- "eslint": "^7.25.0",
65
- "eslint-config-prettier": "^6.15.0",
66
- "eslint-plugin-mocha-no-only": "^1.1.1",
62
+ "@typescript-eslint/eslint-plugin": "^5.45.0",
63
+ "@typescript-eslint/parser": "^5.45.0",
64
+ "eslint": "^8.28.0",
65
+ "eslint-config-prettier": "^8.5.0",
66
+ "eslint-plugin-no-only-tests": "^3.0.0",
67
67
  "eslint-plugin-node": "^11.1.0",
68
- "eslint-plugin-prettier": "^3.1.4",
68
+ "eslint-plugin-prettier": "^4.2.1",
69
69
  "mocha": "^10.0.0",
70
70
  "nock": "^13.2.9",
71
71
  "pixelmatch": "^5.3.0",
@@ -1,10 +1,10 @@
1
1
  import { type Logger } from '@applitools/logger';
2
2
  import { type Req, type Options, type Proxy } from '@applitools/req';
3
- export declare type ReqBrokerConfig = {
3
+ export type ReqBrokerConfig = {
4
4
  proxy?: Proxy;
5
5
  agentId?: string;
6
6
  };
7
- export declare type ReqBrokerOptions = Options & {
7
+ export type ReqBrokerOptions = Options & {
8
8
  name: string;
9
9
  body: {
10
10
  protocolVersion: '1.0';
@@ -14,7 +14,7 @@ export declare type ReqBrokerOptions = Options & {
14
14
  };
15
15
  logger?: Logger;
16
16
  };
17
- export declare type ReqBroker = Req<ReqBrokerOptions>;
17
+ export type ReqBroker = Req<ReqBrokerOptions>;
18
18
  export declare function makeReqBroker({ config, logger }: {
19
19
  config: ReqBrokerConfig;
20
20
  logger?: Logger;
package/types/types.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  /// <reference types="node" />
2
2
  import type { Size, Location, Region } from '@applitools/utils';
3
- export declare type Selector = string | {
3
+ export type Selector = string | {
4
4
  selector: string;
5
5
  type?: string;
6
6
  shadow?: Selector;
7
7
  frame?: Selector;
8
8
  };
9
- export declare type ScreenshotSettings = {
9
+ export type ScreenshotSettings = {
10
10
  region?: Region | Selector;
11
11
  debugImages?: {
12
12
  path: string;
@@ -31,7 +31,7 @@ export declare type ScreenshotSettings = {
31
31
  name?: string;
32
32
  selectorsToFindRegionsFor?: Selector[];
33
33
  };
34
- export declare type Screenshot = {
34
+ export type Screenshot = {
35
35
  image: Buffer | string;
36
36
  size?: Size;
37
37
  name?: string;
@@ -41,13 +41,13 @@ export declare type Screenshot = {
41
41
  locationInView?: Location;
42
42
  fullViewSize?: Size;
43
43
  };
44
- export declare type SnapshotSettings = {
44
+ export type SnapshotSettings = {
45
45
  name?: string;
46
46
  renderers: any[];
47
47
  resourceSeparation?: boolean;
48
48
  waitBeforeCapture?: number;
49
49
  };
50
- export declare type AndroidSnapshot = {
50
+ export type AndroidSnapshot = {
51
51
  platformName: 'android';
52
52
  vhsType: string;
53
53
  vhsHash: {
@@ -56,7 +56,7 @@ export declare type AndroidSnapshot = {
56
56
  contentType: string;
57
57
  };
58
58
  };
59
- export declare type IOSSnapshot = {
59
+ export type IOSSnapshot = {
60
60
  platformName: 'ios';
61
61
  vhsCompatibilityParams: Record<string, any>;
62
62
  } & ({