@applitools/eyes-webdriverio 5.44.18 → 5.45.0

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,6 +1,47 @@
1
1
  # Changelog
2
2
 
3
- ## 1.0.0 (2023-08-03)
3
+ ## [5.45.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-webdriverio@5.44.19...js/eyes-webdriverio@5.45.0) (2023-08-08)
4
+
5
+
6
+ ### Features
7
+
8
+ * rework log event on opent eyes ([#1842](https://github.com/applitools/eyes.sdk.javascript1/issues/1842)) ([532756b](https://github.com/applitools/eyes.sdk.javascript1/commit/532756b75c1023967c3781316148c890dbcfaac8))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * @applitools/core bumped to 3.8.0
14
+ #### Features
15
+
16
+ * rework log event on opent eyes ([#1842](https://github.com/applitools/eyes.sdk.javascript1/issues/1842)) ([532756b](https://github.com/applitools/eyes.sdk.javascript1/commit/532756b75c1023967c3781316148c890dbcfaac8))
17
+ * @applitools/eyes bumped to 1.7.0
18
+ #### Features
19
+
20
+ * rework log event on opent eyes ([#1842](https://github.com/applitools/eyes.sdk.javascript1/issues/1842)) ([532756b](https://github.com/applitools/eyes.sdk.javascript1/commit/532756b75c1023967c3781316148c890dbcfaac8))
21
+
22
+
23
+
24
+
25
+ ## [5.44.19](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-webdriverio-v5.44.18...js/eyes-webdriverio@5.44.19) (2023-08-08)
26
+
27
+
28
+ ### Dependencies
29
+
30
+ * @applitools/ufg-client bumped to 1.7.0
31
+ #### Features
32
+
33
+ * allow providing custom headers for resource fetching ([#1852](https://github.com/applitools/eyes.sdk.javascript1/issues/1852)) ([372cb96](https://github.com/applitools/eyes.sdk.javascript1/commit/372cb96b905a0661c36e2fa10a7855208fb55bb0))
34
+ * @applitools/core bumped to 3.7.0
35
+ #### Features
36
+
37
+ * allow providing custom headers for resource fetching ([#1852](https://github.com/applitools/eyes.sdk.javascript1/issues/1852)) ([372cb96](https://github.com/applitools/eyes.sdk.javascript1/commit/372cb96b905a0661c36e2fa10a7855208fb55bb0))
38
+
39
+
40
+
41
+ * @applitools/eyes bumped to 1.6.7
42
+
43
+
44
+ ## [5.44.18](https://github.com/applitools/eyes.sdk.javascript1/compare/js/eyes-webdriverio@5.44.17...js/eyes-webdriverio@5.44.18) (2023-08-03)
4
45
 
5
46
 
6
47
  ### Dependencies
package/dist/api.js CHANGED
@@ -27,11 +27,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.closeBatch = exports.BatchClose = exports.Configuration = exports.Target = exports.TargetAutomation = exports.CheckSettings = exports.CheckSettingsAutomation = exports.Eyes = void 0;
30
+ const extract_environment_1 = require("./extract-environment");
30
31
  const eyes = __importStar(require("@applitools/eyes"));
31
32
  const spec = __importStar(require("@applitools/spec-driver-webdriverio"));
32
33
  __exportStar(require("@applitools/eyes"), exports);
33
34
  __exportStar(require("./legacy"), exports);
34
- const sdk = { agentId: `eyes-webdriverio/${require('../package.json').version}`, spec };
35
+ const environment = (0, extract_environment_1.extractEnvironment)();
36
+ const sdk = { spec, agentId: `eyes-webdriverio/${require('../package.json').version}`, environment };
35
37
  class Eyes extends eyes.Eyes {
36
38
  }
37
39
  exports.Eyes = Eyes;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.extractEnvironment = void 0;
4
+ function extractEnvironment() {
5
+ const versions = {};
6
+ try {
7
+ const { name, version } = require('webdriverio/package.json');
8
+ versions[name] = version;
9
+ }
10
+ catch {
11
+ // NOTE: ignore error
12
+ }
13
+ return { versions };
14
+ }
15
+ exports.extractEnvironment = extractEnvironment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-webdriverio",
3
- "version": "5.44.18",
3
+ "version": "5.45.0",
4
4
  "description": "Applitools Eyes SDK for WebdriverIO",
5
5
  "keywords": [
6
6
  "eyes-webdriverio",
@@ -96,13 +96,13 @@
96
96
  "up:framework": "run --top-level add-silent webdriverio"
97
97
  },
98
98
  "dependencies": {
99
- "@applitools/eyes": "1.6.6",
99
+ "@applitools/eyes": "1.7.0",
100
100
  "@applitools/spec-driver-webdriverio": "1.5.10"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@applitools/api-extractor": "^1.2.21",
104
- "@applitools/bongo": "^5.4.2",
105
- "@applitools/generic": "^3.3.5",
104
+ "@applitools/bongo": "^5.4.3",
105
+ "@applitools/generic": "^3.3.6",
106
106
  "@applitools/test-utils": "^1.5.17",
107
107
  "@types/node": "^16.18.14",
108
108
  "@wdio/cli": "^8.3.9",