@mcp-use/client 2.2.2 → 2.2.3-canary.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/dist/.tsbuildinfo +1 -1
- package/dist/index-browser.js +4 -1
- package/dist/index-browser.js.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.js +4 -1
- package/dist/react/index.js.map +1 -1
- package/dist/transport/http.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index-browser.js
CHANGED
|
@@ -128,7 +128,7 @@ var Logger = class {
|
|
|
128
128
|
var logger = Logger.get();
|
|
129
129
|
|
|
130
130
|
// src/utils/version.ts
|
|
131
|
-
var VERSION = "2.2.
|
|
131
|
+
var VERSION = "2.2.3-canary.0";
|
|
132
132
|
function getPackageVersion() {
|
|
133
133
|
return VERSION;
|
|
134
134
|
}
|
|
@@ -2989,6 +2989,9 @@ var HttpConnector = class extends BaseConnector {
|
|
|
2989
2989
|
throw error;
|
|
2990
2990
|
}
|
|
2991
2991
|
await this.completeInteractiveAuthorization();
|
|
2992
|
+
if (!this.connected || !this.client) {
|
|
2993
|
+
throw new Error("MCP client is not connected");
|
|
2994
|
+
}
|
|
2992
2995
|
return operation();
|
|
2993
2996
|
}
|
|
2994
2997
|
}
|