@chaoslabs/ai-sdk 0.0.8 → 0.0.10

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/client.d.ts CHANGED
@@ -55,7 +55,7 @@ declare class V1Chat {
55
55
  *
56
56
  * const chaos = new Chaos({
57
57
  * apiKey: 'ck-...',
58
- * baseUrl: 'https://ai-staging.chaoslabs.co'
58
+ * baseUrl: 'https://ai.chaoslabs.co'
59
59
  * });
60
60
  *
61
61
  * const response = await chaos.chat.responses.create({
package/dist/client.js CHANGED
@@ -155,7 +155,7 @@ class V1Chat {
155
155
  *
156
156
  * const chaos = new Chaos({
157
157
  * apiKey: 'ck-...',
158
- * baseUrl: 'https://ai-staging.chaoslabs.co'
158
+ * baseUrl: 'https://ai.chaoslabs.co'
159
159
  * });
160
160
  *
161
161
  * const response = await chaos.chat.responses.create({
@@ -181,7 +181,7 @@ export class Chaos {
181
181
  const useNativeHttp = config.useNativeHttp !== false;
182
182
  this.config = {
183
183
  apiKey: config.apiKey,
184
- baseUrl: config.baseUrl || 'https://ai-staging.chaoslabs.co',
184
+ baseUrl: config.baseUrl || 'https://ai.chaoslabs.co',
185
185
  timeout: config.timeout || DEFAULT_TIMEOUT,
186
186
  useNativeHttp,
187
187
  };
package/dist/types.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  export interface ChaosConfig {
5
5
  /** API key for authentication */
6
6
  apiKey: string;
7
- /** Base URL for the API (defaults to https://ai-staging.chaoslabs.co) */
7
+ /** Base URL for the API (defaults to https://ai.chaoslabs.co) */
8
8
  baseUrl?: string;
9
9
  /** Request timeout in milliseconds (defaults to 120000) */
10
10
  timeout?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chaoslabs/ai-sdk",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "Chaos AI SDK - TypeScript SDK for the Chaos AI API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -47,7 +47,7 @@
47
47
  "bugs": {
48
48
  "url": "https://github.com/ChaosLabsInc/ai-sdk/issues"
49
49
  },
50
- "peerDependencies": {
50
+ "dependencies": {
51
51
  "zod": "^4.0.0"
52
52
  },
53
53
  "devDependencies": {