convex-helpers 0.1.133 → 0.1.134
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/CHANGELOG.md +7 -0
- package/README.md +2 -0
- package/dist/bin.cjs +3814 -4183
- package/dist/server/cors.d.ts +17 -1
- package/dist/server/cors.d.ts.map +1 -1
- package/dist/server/cors.js +2 -7
- package/dist/server/cors.js.map +1 -1
- package/package.json +8 -11
- package/packages/convex-helpers/cli/openApiSpec.ts +30 -9
- package/packages/convex-helpers/server/cors.ts +26 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.134
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- `open-api-spec` renders unions as `anyOf`, so a value matching more than one member
|
|
8
|
+
validates. It also supports `v.bytes()` instead of aborting with "bytes unsupported".
|
|
9
|
+
|
|
3
10
|
## 0.1.133
|
|
4
11
|
|
|
5
12
|
- Zod 4 support: when a `z.object()` schema is passed as `args` to
|
package/README.md
CHANGED
|
@@ -1290,6 +1290,8 @@ http.route({
|
|
|
1290
1290
|
export default http;
|
|
1291
1291
|
```
|
|
1292
1292
|
|
|
1293
|
+
If you turn on `allowCredentials`, list the origins your frontend runs on in `allowedOrigins`. With `"*"`, any website can make requests that carry the user's cookies and read the responses. Note: if you authenticate with a bearer token in the `Authorization` header, you do not need `allowCredentials`.
|
|
1294
|
+
|
|
1293
1295
|
## Standard Schema
|
|
1294
1296
|
|
|
1295
1297
|
[Standard Schema](https://github.com/standard-schema/standard-schema)
|