Skip to content

Commit 0e673b1

Browse files
1.0.11
1 parent f819e26 commit 0e673b1

28 files changed

+175
-139
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@programcomputer/nasa-mcp-server",
3-
"version": "1.0.10",
3+
"version": "1.0.11",
44
"description": "Model Context Protocol (MCP) server for NASA APIs",
55
"main": "dist/index.js",
66
"files": [

src/handlers/jpl/cad.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios from 'axios';
2-
import { addResource } from '../../index.js';
2+
import { addResource } from '../../resources';
33

44
/**
55
* Handler for JPL SB Close Approach (CAD) API
@@ -76,4 +76,4 @@ export async function cadHandler(args: Record<string, any>) {
7676
}
7777

7878
// Export default for dynamic imports
79-
export default cadHandler;
79+
export default cadHandler;

src/handlers/jpl/fireball.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ export async function jplFireballHandler(params: FireballParams) {
6060
}]
6161
};
6262
}
63-
}
63+
}

src/handlers/jpl/horizons.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios from 'axios';
2-
import { addResource } from '../../index.js';
2+
import { addResource } from '../../resources';
33

44
/**
55
* Handler for JPL Horizons API
@@ -80,4 +80,4 @@ export async function horizonsHandler(args: Record<string, any>) {
8080
}
8181

8282
// Export default for dynamic imports
83-
export default horizonsHandler;
83+
export default horizonsHandler;

src/handlers/jpl/horizons_file.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import axios from 'axios';
22
import FormData from 'form-data'; // Need form-data for multipart POST
3-
import { addResource } from '../../index';
3+
import { addResource } from '../../resources';
44

55
/**
66
* Handler for JPL Horizons File API (POST request)
@@ -100,4 +100,4 @@ export async function horizonsFileHandler(args: Record<string, any>) {
100100
}
101101

102102
// Export default for dynamic imports in index.ts
103-
export default horizonsFileHandler;
103+
export default horizonsFileHandler;

src/handlers/jpl/jd_cal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios from 'axios';
2-
import { addResource } from '../../index.js';
2+
import { addResource } from '../../resources';
33

44
/**
55
* Handler for JPL Julian Date Calendar Conversion API
@@ -56,4 +56,4 @@ export async function jdCalHandler(args: Record<string, any>) {
5656
}
5757

5858
// Export default for dynamic imports
59-
export default jdCalHandler;
59+
export default jdCalHandler;

src/handlers/jpl/nhats.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios from 'axios';
2-
import { addResource } from '../../index.js';
2+
import { addResource } from '../../resources';
33

44
/**
55
* Handler for JPL NHATS API (Human-accessible NEOs data)
@@ -68,4 +68,4 @@ export async function nhatsHandler(args: Record<string, any>) {
6868
}
6969

7070
// Export default for dynamic imports
71-
export default nhatsHandler;
71+
export default nhatsHandler;

src/handlers/jpl/periodic_orbits.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios from 'axios';
2-
import { addResource } from '../../index.js';
2+
import { addResource } from '../../resources';
33

44
// Define expected parameters based on documentation
55
// Required: sys, family
@@ -85,4 +85,4 @@ export async function periodicOrbitsHandler(args: PeriodicOrbitParams) {
8585
}
8686

8787
// Export default for dynamic imports in index.ts
88-
export default periodicOrbitsHandler;
88+
export default periodicOrbitsHandler;

src/handlers/jpl/sbdb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ export async function jplSbdbHandler(params: SbdbParams) {
8686
}]
8787
};
8888
}
89-
}
89+
}

0 commit comments

Comments
 (0)