@apicity/xai 0.3.3 → 0.4.0

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.
Files changed (2) hide show
  1. package/README.md +6 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,11 +1,16 @@
1
1
  # @apicity/xai
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/@apicity/xai?color=cb0000)](https://www.npmjs.com/package/@apicity/xai)
4
- [![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)](package.json)
4
+ [![dependencies](https://img.shields.io/badge/dependencies-2-blue)](package.json)
5
5
  [![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue?logo=typescript&logoColor=white)](tsconfig.json)
6
6
 
7
7
  X.AI / Grok provider for chat and search.
8
8
 
9
+ Runtime dependencies:
10
+
11
+ - `@apicity/cost@workspace:*` — OTP pay-gate (`withPaidGate`) for paid endpoints
12
+ - `zod@^3.24.0` — request schemas attached to every POST endpoint as `.schema`
13
+
9
14
  ## Installation
10
15
 
11
16
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apicity/xai",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "X.AI / Grok provider for chat and search.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "zod": "^3.24.0",
29
- "@apicity/cost": "0.3.3"
29
+ "@apicity/cost": "0.4.0"
30
30
  },
31
31
  "files": [
32
32
  "dist",