@applitools/nml-client 1.3.52 → 1.3.54
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/dist/client.js +2 -3
- package/package.json +8 -8
- package/types/client.d.ts +1 -1
package/dist/client.js
CHANGED
|
@@ -5,9 +5,8 @@ const logger_1 = require("@applitools/logger");
|
|
|
5
5
|
const requests_1 = require("./server/requests");
|
|
6
6
|
const take_snapshots_1 = require("./take-snapshots");
|
|
7
7
|
const take_screenshot_1 = require("./take-screenshot");
|
|
8
|
-
function makeNMLClient({ config, logger }) {
|
|
9
|
-
|
|
10
|
-
logger = (_a = logger === null || logger === void 0 ? void 0 : logger.extend({ label: 'nml client' })) !== null && _a !== void 0 ? _a : (0, logger_1.makeLogger)({ label: 'nml client' });
|
|
8
|
+
function makeNMLClient({ config, logger: defaultLogger, }) {
|
|
9
|
+
const logger = (0, logger_1.makeLogger)({ logger: defaultLogger, format: { label: 'nml-client' } });
|
|
11
10
|
const requests = (0, requests_1.makeNMLRequests)({ config, logger });
|
|
12
11
|
return {
|
|
13
12
|
takeScreenshot: (0, take_screenshot_1.makeTakeScreenshot)({ requests, logger }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/nml-client",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.54",
|
|
4
4
|
"description": "Client to integrate the SDKs to the Native Mobile Library (NML)",
|
|
5
5
|
"homepage": "https://applitools.com",
|
|
6
6
|
"bugs": {
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"postversion": "bongo postversion"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@applitools/logger": "
|
|
49
|
-
"@applitools/req": "1.
|
|
50
|
-
"@applitools/utils": "1.3.
|
|
48
|
+
"@applitools/logger": "2.0.1",
|
|
49
|
+
"@applitools/req": "1.3.0",
|
|
50
|
+
"@applitools/utils": "1.3.37"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@applitools/bongo": "^3.0.
|
|
54
|
-
"@applitools/spec-driver-webdriverio": "^1.
|
|
55
|
-
"@applitools/test-server": "^1.1
|
|
56
|
-
"@applitools/test-utils": "^1.5.
|
|
53
|
+
"@applitools/bongo": "^3.0.4",
|
|
54
|
+
"@applitools/spec-driver-webdriverio": "^1.5.1",
|
|
55
|
+
"@applitools/test-server": "^1.2.1",
|
|
56
|
+
"@applitools/test-utils": "^1.5.17",
|
|
57
57
|
"@types/node": "^12.20.55",
|
|
58
58
|
"chromedriver": "^109.0.0",
|
|
59
59
|
"nock": "^13.2.9",
|
package/types/client.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { NMLClient } from './types';
|
|
2
2
|
import { type Logger } from '@applitools/logger';
|
|
3
3
|
import { type NMLRequestsConfig } from './server/requests';
|
|
4
|
-
export declare function makeNMLClient({ config, logger }: {
|
|
4
|
+
export declare function makeNMLClient({ config, logger: defaultLogger, }: {
|
|
5
5
|
config: NMLRequestsConfig;
|
|
6
6
|
logger?: Logger;
|
|
7
7
|
}): NMLClient;
|