@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.js
CHANGED
|
@@ -1526,7 +1526,7 @@ init_connector_telemetry();
|
|
|
1526
1526
|
init_logging();
|
|
1527
1527
|
|
|
1528
1528
|
// src/utils/version.ts
|
|
1529
|
-
var VERSION = "2.2.
|
|
1529
|
+
var VERSION = "2.2.3-canary.0";
|
|
1530
1530
|
function getPackageVersion() {
|
|
1531
1531
|
return VERSION;
|
|
1532
1532
|
}
|
|
@@ -3101,6 +3101,9 @@ var HttpConnector = class extends BaseConnector {
|
|
|
3101
3101
|
throw error;
|
|
3102
3102
|
}
|
|
3103
3103
|
await this.completeInteractiveAuthorization();
|
|
3104
|
+
if (!this.connected || !this.client) {
|
|
3105
|
+
throw new Error("MCP client is not connected");
|
|
3106
|
+
}
|
|
3104
3107
|
return operation();
|
|
3105
3108
|
}
|
|
3106
3109
|
}
|