@clervo/sdk
Advanced tools
+3
-3
@@ -192,3 +192,3 @@ export const CLERVO_CONTRACT_VERSION = '2026-07-29.1'; | ||
| try { | ||
| response = await this.#fetch(`${this.#baseUrl}/v1/models`, { method: 'GET', headers: { accept: 'application/json', 'x-clervo-client': '@clervo/sdk/0.4.0' }, redirect: 'error', ...(options.signal === undefined ? {} : { signal: options.signal }) }); | ||
| response = await this.#fetch(`${this.#baseUrl}/v1/models`, { method: 'GET', headers: { accept: 'application/json', 'x-clervo-client': '@clervo/sdk/0.4.1' }, redirect: 'error', ...(options.signal === undefined ? {} : { signal: options.signal }) }); | ||
| } | ||
@@ -216,3 +216,3 @@ catch (error) { | ||
| throw new TypeError('invalid_idempotency_key'); | ||
| const headers = { accept: 'application/json, application/problem+json', 'content-type': 'application/json', 'idempotency-key': key, 'x-clervo-client': '@clervo/sdk/0.4.0' }; | ||
| const headers = { accept: 'application/json, application/problem+json', 'content-type': 'application/json', 'idempotency-key': key, 'x-clervo-client': '@clervo/sdk/0.4.1' }; | ||
| if (options.paymentSignature !== undefined) | ||
@@ -267,3 +267,3 @@ headers['payment-signature'] = options.paymentSignature; | ||
| 'idempotency-key': requestIdempotencyKey, | ||
| 'x-clervo-client': '@clervo/sdk/0.4.0', | ||
| 'x-clervo-client': '@clervo/sdk/0.4.1', | ||
| }, | ||
@@ -270,0 +270,0 @@ body: JSON.stringify(body), |
+1
-1
| { | ||
| "name": "@clervo/sdk", | ||
| "version": "0.4.0", | ||
| "version": "0.4.1", | ||
| "description": "Typed client for live Clervo Search and provider-neutral AI.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |