@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/react/index.js
CHANGED
|
@@ -1476,6 +1476,9 @@ var HttpConnector = class extends BaseConnector {
|
|
|
1476
1476
|
throw error;
|
|
1477
1477
|
}
|
|
1478
1478
|
await this.completeInteractiveAuthorization();
|
|
1479
|
+
if (!this.connected || !this.client) {
|
|
1480
|
+
throw new Error("MCP client is not connected");
|
|
1481
|
+
}
|
|
1479
1482
|
return operation();
|
|
1480
1483
|
}
|
|
1481
1484
|
}
|
|
@@ -1901,7 +1904,7 @@ var HttpConnector = class extends BaseConnector {
|
|
|
1901
1904
|
};
|
|
1902
1905
|
|
|
1903
1906
|
// src/utils/version.ts
|
|
1904
|
-
var VERSION = "2.2.
|
|
1907
|
+
var VERSION = "2.2.3-canary.0";
|
|
1905
1908
|
function getPackageVersion() {
|
|
1906
1909
|
return VERSION;
|
|
1907
1910
|
}
|