MCP TypeScript SDK (V2) / @modelcontextprotocol/client / shimsBrowser
shimsBrowser
Variables
CORS_IS_POSSIBLE
constCORS_IS_POSSIBLE:true=true
Defined in: packages/client/src/shimsBrowser.ts:13
Whether fetch() may throw TypeError due to CORS. Only true in browser contexts (including Web Workers / Service Workers). In Node.js and Cloudflare Workers, a TypeError from fetch is always a real network/configuration error.
References
DefaultJsonSchemaValidator
Renames and re-exports CfWorkerJsonSchemaValidator