@orpc/openapi-client 0.48.0 → 0.50.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.
- package/README.md +2 -0
- package/dist/adapters/standard/index.mjs +3 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -60,6 +60,8 @@ You can find the full documentation [here](https://orpc.unnoq.com).
|
|
|
60
60
|
- [@orpc/vue-colada](https://www.npmjs.com/package/@orpc/vue-colada): Integration with [Pinia Colada](https://pinia-colada.esm.dev/).
|
|
61
61
|
- [@orpc/openapi](https://www.npmjs.com/package/@orpc/openapi): Generate OpenAPI specs and handle OpenAPI requests.
|
|
62
62
|
- [@orpc/zod](https://www.npmjs.com/package/@orpc/zod): More schemas that [Zod](https://zod.dev/) doesn't support yet.
|
|
63
|
+
- [@orpc/valibot](https://www.npmjs.com/package/@orpc/valibot): OpenAPI spec generation from [Valibot](https://valibot.dev/).
|
|
64
|
+
- [@orpc/arktype](https://www.npmjs.com/package/@orpc/arktype): OpenAPI spec generation from [ArkType](https://arktype.io/).
|
|
63
65
|
|
|
64
66
|
## `@orpc/openapi-client`
|
|
65
67
|
|
|
@@ -150,6 +150,9 @@ class StandardOpenAPIJsonSerializer {
|
|
|
150
150
|
if (isObject(data)) {
|
|
151
151
|
const json = {};
|
|
152
152
|
for (const k in data) {
|
|
153
|
+
if (k === "toJSON" && typeof data[k] === "function") {
|
|
154
|
+
continue;
|
|
155
|
+
}
|
|
153
156
|
json[k] = this.serialize(data[k], hasBlobRef)[0];
|
|
154
157
|
}
|
|
155
158
|
return [json, hasBlobRef.value];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orpc/openapi-client",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.50.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
|
7
7
|
"repository": {
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@orpc/client": "0.
|
|
33
|
-
"@orpc/standard-server": "0.
|
|
34
|
-
"@orpc/shared": "0.
|
|
32
|
+
"@orpc/client": "0.50.0",
|
|
33
|
+
"@orpc/standard-server": "0.50.0",
|
|
34
|
+
"@orpc/shared": "0.50.0"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "unbuild",
|