@qozara/ai-client 1.2.1 → 1.2.2
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.d.ts +2 -2
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -128,8 +128,8 @@ declare class LruMemoryCache<K, V> {
|
|
|
128
128
|
type AiErrorCode = 'RATE_LIMIT_EXCEEDED' | 'AI_DISABLED' | 'NO_ITEMS_PARSED' | 'NETWORK_ERROR' | 'FORBIDDEN_NOT_REGISTERED' | 'AUTHENTICATION_REQUIRED' | 'PARSE_FAILED';
|
|
129
129
|
declare class AiError extends Error {
|
|
130
130
|
readonly code: AiErrorCode;
|
|
131
|
-
readonly cause?: unknown;
|
|
132
|
-
constructor(code: AiErrorCode, message: string, cause?: unknown);
|
|
131
|
+
readonly cause?: unknown | undefined;
|
|
132
|
+
constructor(code: AiErrorCode, message: string, cause?: unknown | undefined);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
declare function classifyAiError(err: unknown): AiError;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qozara/ai-client",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Isomorphic AI client SDK for Qozara ecosystem with polymorphic fallback and KMS envelope encryption support",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"check": "tsc --noEmit"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"tsup": "^8.
|
|
35
|
-
"typescript": "5.
|
|
36
|
-
"vitest": "^4.1.
|
|
34
|
+
"tsup": "^8.5.1",
|
|
35
|
+
"typescript": "^5.9.3",
|
|
36
|
+
"vitest": "^4.1.12"
|
|
37
37
|
}
|
|
38
38
|
}
|