@applitools/eyes.sdk.core
Advanced tools
Comparing version 1.4.1 to 1.4.2
{ | ||
"name": "@applitools/eyes.sdk.core", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Applitools Eyes SDK For JavaScript", | ||
@@ -5,0 +5,0 @@ "author": "Applitools Team <team@applitools.com> (http://www.applitools.com/)", |
@@ -127,3 +127,2 @@ 'use strict'; | ||
return that._takeScreenshot(userInputs, region, tag, shouldRunOnceOnTimeout, ignoreMismatch, checkSettings, imageMatchSettings, retryTimeout).then(screenshot => { | ||
// TODO: we need to return screenshot somehow, because it is used for compression | ||
if (ignoreMismatch) { | ||
@@ -276,2 +275,10 @@ return that._matchResult; | ||
/** | ||
* @return {EyesScreenshot} | ||
*/ | ||
getLastScreenshot() { | ||
return this._lastScreenshot; | ||
} | ||
// noinspection JSUnusedGlobalSymbols | ||
/** | ||
* @return {Region} | ||
@@ -278,0 +285,0 @@ */ |
@@ -11,3 +11,2 @@ 'use strict'; | ||
this.windowId = null; | ||
this.screenshot = null; | ||
} | ||
@@ -30,12 +29,4 @@ | ||
} | ||
getScreenshot() { | ||
return this.screenshot; | ||
} | ||
setScreenshot(value) { | ||
this.screenshot = value; | ||
} | ||
} | ||
module.exports = MatchResult; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
389694
104
10065