@mcp-use/client 2.1.0-canary.4 → 2.1.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 +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +7 -2
- package/dist/react/index.js.map +1 -1
- package/dist/react/view/sandbox-blob-url.d.ts.map +1 -1
- package/dist/sandbox.js +6 -1
- package/dist/sandbox.js.map +1 -1
- package/package.json +1 -1
package/dist/index-browser.js
CHANGED
package/dist/index.js
CHANGED
package/dist/react/index.js
CHANGED
|
@@ -1611,7 +1611,7 @@ var HttpConnector = class extends BaseConnector {
|
|
|
1611
1611
|
};
|
|
1612
1612
|
|
|
1613
1613
|
// src/utils/version.ts
|
|
1614
|
-
var VERSION = "2.1.0
|
|
1614
|
+
var VERSION = "2.1.0";
|
|
1615
1615
|
function getPackageVersion() {
|
|
1616
1616
|
return VERSION;
|
|
1617
1617
|
}
|
|
@@ -8033,7 +8033,12 @@ window.addEventListener('unhandledrejection', function(event) {
|
|
|
8033
8033
|
function buildSandboxProxyBlobHtml(search) {
|
|
8034
8034
|
const escaped = JSON.stringify(search).replace(/</g, "\\u003c");
|
|
8035
8035
|
const inject = "<script>window.__SANDBOX_SEARCH__ = " + escaped + ";</script>";
|
|
8036
|
-
return SANDBOX_PROXY_HTML.replace(
|
|
8036
|
+
return SANDBOX_PROXY_HTML.replace(
|
|
8037
|
+
` const scriptSrcParts = ["'unsafe-inline'", "'unsafe-eval'", resourceSrc];
|
|
8038
|
+
`,
|
|
8039
|
+
` const scriptSrcParts = ["'unsafe-inline'", resourceSrc];
|
|
8040
|
+
`
|
|
8041
|
+
).replace("<body>", "<body>" + inject);
|
|
8037
8042
|
}
|
|
8038
8043
|
|
|
8039
8044
|
// src/react/view/use-display-mode.ts
|