asteroid-odyssey 1.0.16 → 1.0.17
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/dist/index.js +1 -2
- package/package.json +1 -4
package/dist/index.js
CHANGED
|
@@ -50,8 +50,7 @@ const AgentsSDK = __importStar(require("./generated/agents/sdk.gen"));
|
|
|
50
50
|
*/
|
|
51
51
|
const AsteroidClient = (apiKey) => {
|
|
52
52
|
return (0, client_fetch_1.createClient)({
|
|
53
|
-
baseUrl: '
|
|
54
|
-
// baseUrl: 'https://odyssey.asteroid.ai/api/v1',
|
|
53
|
+
baseUrl: 'https://odyssey.asteroid.ai/api/v1',
|
|
55
54
|
headers: {
|
|
56
55
|
'X-Asteroid-Agents-Api-Key': apiKey
|
|
57
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "asteroid-odyssey",
|
|
3
|
-
"version": "v1.0.
|
|
3
|
+
"version": "v1.0.17",
|
|
4
4
|
"description": "SDK for interacting with Asteroid Agents API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,9 +8,6 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
|
-
"generate-agents": "openapi -i ../agents/server/api/openapi.yaml -o src/generated/agents",
|
|
12
|
-
"generate-platform": "openapi -i ../platform/server/openapi.yaml -o src/generated/platform",
|
|
13
|
-
"generate": "npm run generate-agents && npm run generate-platform",
|
|
14
11
|
"build": "tsc",
|
|
15
12
|
"prepare": "npm run build",
|
|
16
13
|
"openapi-ts": "openapi-ts"
|