tiny-http-mcp-server 0.1.7 → 0.1.9

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.
@@ -18,7 +18,7 @@
18
18
  },
19
19
  {
20
20
  "name": "tiny-http-mcp-server",
21
- "version": "0.1.7",
21
+ "version": "0.1.9",
22
22
  "license": "MIT"
23
23
  },
24
24
  {
@@ -19,6 +19,9 @@ export class MigratingSecretStore {
19
19
  await this.mutate(async () => {
20
20
  if (await this.store.get() === null) {
21
21
  try {
22
+ if (await this.legacyStore?.get() !== legacyValue) {
23
+ return;
24
+ }
22
25
  await this.store.set(legacyValue);
23
26
  }
24
27
  catch {
@@ -524,7 +524,7 @@ interface StdioTransportOptions {
524
524
  type HttpTransportFetch = (input: string | URL, init?: RequestInit) => Promise<Response>;
525
525
  interface HttpTransportOptions {
526
526
  url: string;
527
- headers?: HeadersInit;
527
+ headers?: RequestInit["headers"];
528
528
  fetch?: HttpTransportFetch;
529
529
  oauth?: OAuthClientProviderOptions;
530
530
  oauthDiscoveryCache?: OAuthDiscoveryCache;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-http-mcp-server",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Minimal MCP server over HTTP built on tiny-stdio-mcp-server",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",