@applitools/mcp 0.4.1 → 0.4.2

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
@@ -5,6 +5,13 @@ All notable changes to the Applitools Eyes MCP will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.4.2](https://github.com/Applitools-Dev/sdk/compare/js/mcp@0.4.1...js/mcp@0.4.2) (2026-03-10)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * req not found in dist/index file ([#3625](https://github.com/Applitools-Dev/sdk/issues/3625)) ([9c7d391](https://github.com/Applitools-Dev/sdk/commit/9c7d3917656690db2186ce6685cefa8fed9fe6bc))
14
+
8
15
  ## [0.4.1](https://github.com/Applitools-Dev/sdk/compare/js/mcp@0.4.0...js/mcp@0.4.1) (2026-03-08)
9
16
 
10
17
 
package/dist/index.js CHANGED
@@ -23059,7 +23059,7 @@ function getAutomationFramework(workingDirectory, activeFile) {
23059
23059
 
23060
23060
  var name = "@applitools/mcp";
23061
23061
  var mcpName = "io.github.applitools/applitools";
23062
- var version = "0.4.1";
23062
+ var version = "0.4.2";
23063
23063
  var description = "Applitools MCP server for AI coding assistants";
23064
23064
  var main = "./dist/index.js";
23065
23065
  var bin = "./dist/index.js";
@@ -23308,7 +23308,7 @@ class ApiClient {
23308
23308
  throw new MissingApiKeyError();
23309
23309
  }
23310
23310
  try {
23311
- const response = await req(`${this.baseUrl}/${endpoint}`, {
23311
+ const response = await req.req(`${this.baseUrl}/${endpoint}`, {
23312
23312
  method: 'GET',
23313
23313
  headers: {
23314
23314
  'X-Eyes-Api-Key': this.apiKey,
@@ -23410,7 +23410,7 @@ class ApiClient {
23410
23410
  };
23411
23411
  // Add API key to query for POST requests (Eyes API pattern)
23412
23412
  const url = `${this.baseUrl}/${endpoint}${endpoint.includes('?') ? '&' : '?'}apiKey=${this.apiKey}`;
23413
- const response = await req(url, reqOptions);
23413
+ const response = await req.req(url, reqOptions);
23414
23414
  // Handle authentication errors
23415
23415
  if (response.status === 401) {
23416
23416
  throw new InvalidApiKeyError(this.apiKey);