@savantoai/ai-sdk 3.0.0 → 3.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savantoai/ai-sdk",
3
- "version": "3.0.0",
3
+ "version": "3.1.1",
4
4
  "description": "Official JavaScript/TypeScript SDK for Savanto AI — search, chat, recommendations, and knowledge base management",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -30,7 +30,8 @@
30
30
  "typecheck": "tsc --noEmit",
31
31
  "generate": "openapi-ts",
32
32
  "generate:live": "openapi-ts -i http://localhost:3001/doc",
33
- "prepublishOnly": "npm run build"
33
+ "prepack": "npm run build",
34
+ "prepublishOnly": "npm test"
34
35
  },
35
36
  "keywords": [
36
37
  "savanto",
@@ -63,14 +64,11 @@
63
64
  "node": ">=18.0.0"
64
65
  },
65
66
  "devDependencies": {
66
- "@hey-api/openapi-ts": "~0.97.1",
67
- "@types/node": "^20.19.41",
68
- "@typescript-eslint/eslint-plugin": "^6.21.0",
69
- "@typescript-eslint/parser": "^6.21.0",
70
- "eslint": "^8.57.1",
67
+ "@hey-api/openapi-ts": "~0.97.2",
68
+ "@types/node": "^24.12.4",
71
69
  "tsdown": "^0.22.0",
72
- "typescript": "^5.9.3",
73
- "vitest": "^3.2.4"
70
+ "typescript": "^6.0.3",
71
+ "vitest": "^4.1.7"
74
72
  },
75
73
  "publishConfig": {
76
74
  "access": "public"