Socket
Book a DemoInstallSign in
Socket

@modelcontextprotocol/sdk

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modelcontextprotocol/sdk - npm Package Compare versions

Comparing version

to
1.17.2

6

dist/cjs/client/auth.js

@@ -505,3 +505,7 @@ "use strict";

if (!response) {
throw new Error(`CORS error trying to load ${type === 'oauth' ? 'OAuth' : 'OpenID provider'} metadata from ${endpointUrl}`);
/**
* CORS error occurred - don't throw as the endpoint may not allow CORS,
* continue trying other possible endpoints
*/
continue;
}

@@ -508,0 +512,0 @@ if (!response.ok) {

@@ -486,3 +486,7 @@ import pkceChallenge from "pkce-challenge";

if (!response) {
throw new Error(`CORS error trying to load ${type === 'oauth' ? 'OAuth' : 'OpenID provider'} metadata from ${endpointUrl}`);
/**
* CORS error occurred - don't throw as the endpoint may not allow CORS,
* continue trying other possible endpoints
*/
continue;
}

@@ -489,0 +493,0 @@ if (!response.ok) {

2

package.json
{
"name": "@modelcontextprotocol/sdk",
"version": "1.17.1",
"version": "1.17.2",
"description": "Model Context Protocol implementation for TypeScript",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.