@mcp-use/client 2.3.4 → 2.3.5-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/index-browser.js
CHANGED
package/dist/index.js
CHANGED
package/dist/react/index.js
CHANGED
|
@@ -1880,7 +1880,7 @@ var HttpConnector = class extends BaseConnector {
|
|
|
1880
1880
|
};
|
|
1881
1881
|
|
|
1882
1882
|
// src/utils/version.ts
|
|
1883
|
-
var VERSION = "2.3.
|
|
1883
|
+
var VERSION = "2.3.5-canary.0";
|
|
1884
1884
|
function getPackageVersion() {
|
|
1885
1885
|
return VERSION;
|
|
1886
1886
|
}
|
|
@@ -8172,7 +8172,11 @@ function resolveViewResource(options) {
|
|
|
8172
8172
|
if (typeof firstContent.text === "string") {
|
|
8173
8173
|
htmlContent = firstContent.text;
|
|
8174
8174
|
} else if (typeof firstContent.blob === "string") {
|
|
8175
|
-
|
|
8175
|
+
const bytes = Uint8Array.from(
|
|
8176
|
+
atob(firstContent.blob),
|
|
8177
|
+
(char) => char.charCodeAt(0)
|
|
8178
|
+
);
|
|
8179
|
+
htmlContent = new TextDecoder().decode(bytes);
|
|
8176
8180
|
}
|
|
8177
8181
|
}
|
|
8178
8182
|
if (!htmlContent) {
|