@applitools/nml-client 1.7.5 → 1.8.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.8.1](https://github.com/Applitools-Dev/sdk/compare/js/nml-client@1.8.0...js/nml-client@1.8.1) (2024-04-15)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/utils bumped to 1.7.1
9
+ #### Bug Fixes
10
+
11
+ * region intersection algorithm ([#2290](https://github.com/Applitools-Dev/sdk/issues/2290)) ([aaa8d0c](https://github.com/Applitools-Dev/sdk/commit/aaa8d0cbcb0e39d23d652c2caf9d27bfaed0d2eb))
12
+ * @applitools/logger bumped to 2.0.15
13
+
14
+ * @applitools/req bumped to 1.6.6
15
+
16
+ * @applitools/spec-driver-webdriver bumped to 1.1.4
17
+
18
+ * @applitools/driver bumped to 1.16.6
19
+
20
+
21
+ ## [1.8.0](https://github.com/Applitools-Dev/sdk/compare/js/nml-client@1.7.5...js/nml-client@1.8.0) (2024-04-10)
22
+
23
+
24
+ ### Features
25
+
26
+ * refactor check to have a modular structure ([#2307](https://github.com/Applitools-Dev/sdk/issues/2307)) ([b9818f4](https://github.com/Applitools-Dev/sdk/commit/b9818f46e0a579ad0a4a6beaf142171aea7ce0fd))
27
+
3
28
  ## [1.7.5](https://github.com/Applitools-Dev/sdk/compare/js/nml-client@1.7.4...js/nml-client@1.7.5) (2024-03-18)
4
29
 
5
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/nml-client",
3
- "version": "1.7.5",
3
+ "version": "1.8.1",
4
4
  "description": "Client to integrate the SDKs to the Native Mobile Library (NML)",
5
5
  "homepage": "https://applitools.com",
6
6
  "bugs": {
@@ -36,12 +36,12 @@
36
36
  "test": "run --top-level mocha './test/**/*.spec.ts' --parallel --jobs ${MOCHA_JOBS:-15}"
37
37
  },
38
38
  "dependencies": {
39
- "@applitools/logger": "2.0.14",
40
- "@applitools/req": "1.6.5",
41
- "@applitools/utils": "1.7.0"
39
+ "@applitools/logger": "2.0.15",
40
+ "@applitools/req": "1.6.6",
41
+ "@applitools/utils": "1.7.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@applitools/spec-driver-webdriver": "^1.1.3",
44
+ "@applitools/spec-driver-webdriver": "^1.1.4",
45
45
  "@applitools/test-server": "^1.2.2",
46
46
  "@applitools/test-utils": "^1.5.17",
47
47
  "@types/node": "^12.20.55",
@@ -11,7 +11,7 @@ export interface NMLRequests {
11
11
  takeSnapshots<TSnapshot extends IOSSnapshot | AndroidSnapshot = IOSSnapshot | AndroidSnapshot>(options: {
12
12
  settings: SnapshotSettings;
13
13
  logger?: Logger;
14
- }): Promise<TSnapshot[]>;
14
+ }): Promise<TSnapshot extends any ? TSnapshot[] : never>;
15
15
  }
16
16
  export declare function makeNMLRequests({ settings, logger: mainLogger, }: {
17
17
  settings: BrokerServerSettings;
@@ -8,5 +8,5 @@ type Options = {
8
8
  export declare function makeTakeSnapshots({ requests, logger: defaultLogger }: Options): <TSnapshot extends IOSSnapshot | AndroidSnapshot = IOSSnapshot | AndroidSnapshot>({ settings, logger, }: {
9
9
  settings: SnapshotSettings;
10
10
  logger?: Logger | undefined;
11
- }) => Promise<TSnapshot[]>;
11
+ }) => Promise<TSnapshot extends any ? TSnapshot[] : never>;
12
12
  export {};
package/types/types.d.ts CHANGED
@@ -12,7 +12,7 @@ export interface NMLClient {
12
12
  takeSnapshots<TSnapshot extends IOSSnapshot | AndroidSnapshot = IOSSnapshot | AndroidSnapshot>(options: {
13
13
  settings: SnapshotSettings;
14
14
  logger?: Logger;
15
- }): Promise<TSnapshot[]>;
15
+ }): Promise<TSnapshot extends any ? TSnapshot[] : never>;
16
16
  }
17
17
  export interface BrokerServerSettings {
18
18
  brokerUrl: string;