@mcp-use/client 2.3.4-canary.2 → 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.
@@ -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.3.4-canary.2";
131
+ var VERSION = "2.3.5-canary.0";
132
132
  function getPackageVersion() {
133
133
  return VERSION;
134
134
  }
package/dist/index.js CHANGED
@@ -1559,7 +1559,7 @@ init_connector_telemetry();
1559
1559
  init_logging();
1560
1560
 
1561
1561
  // src/utils/version.ts
1562
- var VERSION = "2.3.4-canary.2";
1562
+ var VERSION = "2.3.5-canary.0";
1563
1563
  function getPackageVersion() {
1564
1564
  return VERSION;
1565
1565
  }
@@ -1880,7 +1880,7 @@ var HttpConnector = class extends BaseConnector {
1880
1880
  };
1881
1881
 
1882
1882
  // src/utils/version.ts
1883
- var VERSION = "2.3.4-canary.2";
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
- htmlContent = atob(firstContent.blob);
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) {