@applitools/core 3.0.3 → 3.1.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
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 3.1.0 - 2023/5/22
6
+
7
+ ### Features
8
+ - Add an API to send logEvents
9
+ ### Bug fixes
10
+
5
11
  ## 3.0.3 - 2023/5/22
6
12
 
7
13
  ### Features
@@ -180,6 +180,10 @@ printStdout = false, isProcess = false, ...handlerOptions } = {}) {
180
180
  socket.command('Debug.getHistory', async () => {
181
181
  return getHistory();
182
182
  });
183
+ socket.command('Core.logEvent', async ({ settings }) => {
184
+ const core = await corePromise;
185
+ core.logEvent({ settings });
186
+ });
183
187
  });
184
188
  return { port, close: () => server.close() };
185
189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "3.0.3",
3
+ "version": "3.1.0",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"