@clipform/mcp-server 2.15.10 → 2.15.12

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.
@@ -3141,8 +3141,9 @@ async function callApi(path, options = {}) {
3141
3141
  response = await fetch(url, fetchOptions);
3142
3142
  } catch (err) {
3143
3143
  const message = err instanceof Error ? err.message : String(err);
3144
+ const isTimeout = err instanceof Error && (err.name === "TimeoutError" || err.name === "AbortError" || /aborted due to timeout/i.test(message));
3144
3145
  reportError({
3145
- error_type: "connection_error",
3146
+ error_type: isTimeout ? "timeout" : "connection_error",
3146
3147
  error_message: message,
3147
3148
  tool_name: getMcpAuth()?.tool_name,
3148
3149
  api_path: `${prefix}${path}`
@@ -3294,4 +3295,4 @@ export {
3294
3295
  getSessionContextWithAuth,
3295
3296
  getSessionContext
3296
3297
  };
3297
- //# sourceMappingURL=chunk-VLI2LYIB.js.map
3298
+ //# sourceMappingURL=chunk-CW6LYA3K.js.map