ainvoker 3.2.0 → 3.2.1

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/README.md CHANGED
@@ -6,7 +6,7 @@ Official TypeScript/JavaScript SDK for the AInvoker AI gateway.
6
6
 
7
7
  AInvoker is an AI gateway. This package calls one HTTP API and routes to providers such as OpenAI and Gemini. Create projects, API keys, and billing in the [dashboard](https://ainvoker.com). Use the SDK to call models from your application.
8
8
 
9
- Current release: **3.2.0** (`ai.text.chat` and `ai.text.stream` for `POST /v1/text/chat` and `POST /v1/text/stream`, with optional `reasoning`).
9
+ Current release: **3.2.0** (`ai.text.chat` and `ai.text.stream` for `POST /v1/text/chat` and `POST /v1/text/stream`, with optional `reasoning`; adds `gemini-3.5-flash-lite`).
10
10
 
11
11
  ## Install
12
12
 
package/dist/index.d.cts CHANGED
@@ -26,7 +26,7 @@ interface ChatMessage {
26
26
  */
27
27
  type TextCatalog = {
28
28
  openai: "gpt-4o-mini";
29
- gemini: "gemini-3.6-flash";
29
+ gemini: "gemini-3.6-flash" | "gemini-3.5-flash-lite";
30
30
  };
31
31
  type TextProvider = keyof TextCatalog;
32
32
  type TextModel = TextCatalog[TextProvider];
package/dist/index.d.ts CHANGED
@@ -26,7 +26,7 @@ interface ChatMessage {
26
26
  */
27
27
  type TextCatalog = {
28
28
  openai: "gpt-4o-mini";
29
- gemini: "gemini-3.6-flash";
29
+ gemini: "gemini-3.6-flash" | "gemini-3.5-flash-lite";
30
30
  };
31
31
  type TextProvider = keyof TextCatalog;
32
32
  type TextModel = TextCatalog[TextProvider];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ainvoker",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "Official TypeScript/JavaScript SDK for the AInvoker AI gateway",
5
5
  "license": "MIT",
6
6
  "author": "AInvoker",