New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/eyes-sdk-core

Package Overview
Dependencies
Maintainers
17
Versions
466
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/eyes-sdk-core - npm Package Compare versions

Comparing version

to
5.14.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [5.14.0](https://github.com/applitools/eyes.sdk.javascript1/compare/@applitools/eyes-sdk-core@5.13.0...@applitools/eyes-sdk-core@5.14.0) (2019-08-14)
### Features
* add `displayName` property to SessionStartInfo ([68ebb4e](https://github.com/applitools/eyes.sdk.javascript1/commit/68ebb4e))
# [5.13.0](https://github.com/applitools/eyes.sdk.javascript1/compare/@applitools/eyes-sdk-core@5.12.3...@applitools/eyes-sdk-core@5.13.0) (2019-08-13)

@@ -8,0 +19,0 @@

@@ -596,2 +596,16 @@ 'use strict';

/**
* @param {string} displayName - The display name of the currently running test.
*/
setDisplayName(displayName) {
this._configuration.setDisplayName(displayName);
}
/**
* @return {?string} - The display name of the currently running test.
*/
getDisplayName() {
return this._configuration.getDisplayName();
}
/**
* @return {ImageMatchSettings} - The match settings used for the session.

@@ -598,0 +612,0 @@ */

2

lib/EyesBase.js

@@ -629,2 +629,3 @@ 'use strict';

scenarioIdOrName: this._configuration.getTestName(),
displayName: this._configuration.getDisplayName(),
batchInfo: this._configuration.getBatch(),

@@ -1169,2 +1170,3 @@ baselineEnvName: this._configuration.getBaselineEnvName(),

scenarioIdOrName: this._configuration.getTestName(),
displayName: this._configuration.getDisplayName(),
batchInfo: this._configuration.getBatch(),

@@ -1171,0 +1173,0 @@ baselineEnvName: this._configuration.getBaselineEnvName(),

@@ -15,2 +15,3 @@ 'use strict';

* @param {string} scenarioIdOrName
* @param {string} [displayName]
* @param {BatchInfo} batchInfo

@@ -30,3 +31,3 @@ * @param {string} [baselineEnvName]

*/
constructor({ agentId, sessionType, appIdOrName, verId, scenarioIdOrName, batchInfo, baselineEnvName, environmentName,
constructor({ agentId, sessionType, appIdOrName, verId, scenarioIdOrName, displayName, batchInfo, baselineEnvName, environmentName,
environment, defaultMatchSettings, branchName, parentBranchName, baselineBranchName, compareWithParentBranch,

@@ -46,2 +47,3 @@ ignoreBaseline, saveDiffs, render, properties } = {}) {

this._scenarioIdOrName = scenarioIdOrName;
this._displayName = displayName;
this._batchInfo = batchInfo;

@@ -104,2 +106,10 @@ this._baselineEnvName = baselineEnvName;

/**
* @return {string}
*/
getDisplayName() {
return this._displayName;
}
// noinspection JSUnusedGlobalSymbols
/**
* @return {BatchInfo}

@@ -106,0 +116,0 @@ */

6

package.json
{
"name": "@applitools/eyes-sdk-core",
"version": "5.13.0",
"version": "5.14.0",
"description": "The core components of Eyes JavaScript SDK",

@@ -34,3 +34,3 @@ "keywords": [

"dependencies": {
"@applitools/eyes-common": "^3.8.3",
"@applitools/eyes-common": "^3.9.0",
"axios": "^0.19.0",

@@ -50,3 +50,3 @@ "es6-promise-pool": "^2.5.0"

},
"gitHead": "06aa63fef7caf64fdcaa34f7c7155fe4d86bf0cc"
"gitHead": "67fdd34c4ff07819d1a9a3cecb22c89b93c6842b"
}