@applitools/eyes-sdk-core
Advanced tools
Comparing version 5.0.1 to 5.1.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [5.1.0](https://github.com/applitools/eyes.sdk.javascript1/compare/@applitools/eyes-sdk-core@5.0.1...@applitools/eyes-sdk-core@5.1.0) (2019-03-17) | ||
### Features | ||
* **eyes-sdk-core:** add ability to pass object into `setConfiguration` ([c402a0f](https://github.com/applitools/eyes.sdk.javascript1/commit/c402a0f)) | ||
## [5.0.1](https://github.com/applitools/eyes.sdk.javascript1/compare/@applitools/eyes-sdk-core@5.0.0...@applitools/eyes-sdk-core@5.0.1) (2019-03-14) | ||
@@ -8,0 +19,0 @@ |
@@ -64,5 +64,9 @@ 'use strict'; | ||
/** | ||
* @param {Configuration} configuration | ||
* @param {Configuration|object} configuration | ||
*/ | ||
setConfiguration(configuration) { | ||
if (!(configuration instanceof Configuration)) { | ||
configuration = new Configuration(configuration); | ||
} | ||
this._configuration = configuration; | ||
@@ -69,0 +73,0 @@ } |
{ | ||
"name": "@applitools/eyes-sdk-core", | ||
"version": "5.0.1", | ||
"version": "5.1.0", | ||
"description": "The core components of Eyes JavaScript SDK", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@applitools/eyes-common": "^2.0.1", | ||
"@applitools/eyes-common": "^2.2.0", | ||
"axios": "^0.18.0", | ||
@@ -51,3 +51,3 @@ "es6-promise-pool": "^2.5.0" | ||
}, | ||
"gitHead": "945349c44f40cde7ef7452408575d356a64e8dcc" | ||
"gitHead": "86046c9c338445cda1d2190c0c6b73a97a508327" | ||
} |
375531
11115