@botpress/zai 2.5.6 → 2.5.8

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@botpress/zai",
3
3
  "description": "Zui AI (zai) – An LLM utility library written on top of Zui and the Botpress API",
4
- "version": "2.5.6",
4
+ "version": "2.5.8",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
@@ -32,7 +32,7 @@
32
32
  "author": "",
33
33
  "license": "ISC",
34
34
  "dependencies": {
35
- "@botpress/cognitive": "0.3.3",
35
+ "@botpress/cognitive": "0.3.5",
36
36
  "json5": "^2.2.3",
37
37
  "jsonrepair": "^3.10.0",
38
38
  "lodash-es": "^4.17.21",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "peerDependencies": {
58
58
  "@bpinternal/thicktoken": "^1.0.0",
59
- "@bpinternal/zui": "^1.3.1"
59
+ "@bpinternal/zui": "^1.3.2"
60
60
  },
61
61
  "engines": {
62
62
  "node": ">=18.0.0"
@@ -129,7 +129,7 @@ const extract = async <S extends OfType<AnyObjectOrArray>>(
129
129
  try {
130
130
  schema = transforms.fromJSONSchema(transforms.toJSONSchema(_schema as any as z.ZodType))
131
131
  } catch {
132
- // The above transformers arent the legacy once. They are very strict and might fail on some schema types.
132
+ // The above transformers arent the legacy ones. They are very strict and might fail on some schema types.
133
133
  schema = _schema as any as z.ZodType
134
134
  }
135
135