@dynamoi/mcp 0.6.1 → 0.6.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/package",
3
3
  "name": "@dynamoi/mcp",
4
- "version": "0.6.1",
4
+ "version": "0.6.2",
5
5
  "mcpName": "io.github.getDynamoi/dynamoi",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -37,6 +37,7 @@
37
37
  "files": [
38
38
  "dist",
39
39
  "server.json",
40
+ "README.md",
40
41
  "CHANGELOG.md",
41
42
  "LICENSE"
42
43
  ],
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "io.github.getDynamoi/dynamoi",
4
4
  "title": "Dynamoi",
5
5
  "description": "Create free Smart Links and artist hubs from Spotify, view analytics, and manage Dynamoi music and YouTube campaigns.",
6
- "version": "0.6.1",
6
+ "version": "0.6.2",
7
7
  "websiteUrl": "https://dynamoi.com",
8
8
  "repository": {
9
9
  "url": "https://github.com/getDynamoi/mcp",
@@ -14,7 +14,7 @@
14
14
  {
15
15
  "registryType": "npm",
16
16
  "identifier": "@dynamoi/mcp",
17
- "version": "0.6.1",
17
+ "version": "0.6.2",
18
18
  "transport": {
19
19
  "type": "streamable-http",
20
20
  "url": "https://dynamoi.com/mcp"
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/auth/protected-resource.ts"],"sourcesContent":["type ProtectedResourceMetadata = {\n\tauthorization_servers: string[];\n\tbearer_methods_supported: [\"header\"];\n\tresource: string;\n\tresource_documentation?: string;\n\tscopes_supported: string[];\n};\n\nexport const DYNAMOI_MCP_SCOPES = [\"email\", \"profile\"] as const;\n\nexport function buildProtectedResourceMetadata(options: {\n\tresource: string;\n\tauthorizationServers: string[];\n\tresourceDocumentation?: string;\n\tscopesSupported?: string[];\n}): ProtectedResourceMetadata {\n\treturn {\n\t\tauthorization_servers: options.authorizationServers,\n\t\tbearer_methods_supported: [\"header\"],\n\t\tresource: options.resource,\n\t\t...(options.resourceDocumentation\n\t\t\t? { resource_documentation: options.resourceDocumentation }\n\t\t\t: {}),\n\t\t// Supabase OAuth Server (beta) can fail token exchange when `openid` is requested\n\t\t// (it attempts to mint an ID token). Our MCP only needs an access token.\n\t\tscopes_supported: options.scopesSupported ?? [...DYNAMOI_MCP_SCOPES],\n\t};\n}\n\nexport function buildWwwAuthenticateHeader(options: {\n\tresourceMetadataUrl: string;\n\terror?: \"insufficient_scope\" | \"invalid_token\";\n\tscope?: string;\n}): string {\n\tconst scope = options.scope ?? \"email profile\";\n\tconst error = options.error ? `, error=\"${options.error}\"` : \"\";\n\t// RFC 6750 style with resource metadata extension.\n\treturn `Bearer resource_metadata=\"${options.resourceMetadataUrl}\", scope=\"${scope}\"${error}`;\n}\n"],"mappings":";AAQO,IAAM,qBAAqB,CAAC,SAAS,SAAS;AAE9C,SAAS,+BAA+B,SAKjB;AAC7B,SAAO;AAAA,IACN,uBAAuB,QAAQ;AAAA,IAC/B,0BAA0B,CAAC,QAAQ;AAAA,IACnC,UAAU,QAAQ;AAAA,IAClB,GAAI,QAAQ,wBACT,EAAE,wBAAwB,QAAQ,sBAAsB,IACxD,CAAC;AAAA;AAAA;AAAA,IAGJ,kBAAkB,QAAQ,mBAAmB,CAAC,GAAG,kBAAkB;AAAA,EACpE;AACD;AAEO,SAAS,2BAA2B,SAIhC;AACV,QAAM,QAAQ,QAAQ,SAAS;AAC/B,QAAM,QAAQ,QAAQ,QAAQ,YAAY,QAAQ,KAAK,MAAM;AAE7D,SAAO,6BAA6B,QAAQ,mBAAmB,aAAa,KAAK,IAAI,KAAK;AAC3F;","names":[]}