@orpc/openapi-client 1.0.0-beta.2 → 1.0.0-beta.3

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.
@@ -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": "1.0.0-beta.2",
4
+ "version": "1.0.0-beta.3",
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": "1.0.0-beta.2",
33
- "@orpc/shared": "1.0.0-beta.2",
34
- "@orpc/standard-server": "1.0.0-beta.2"
32
+ "@orpc/shared": "1.0.0-beta.3",
33
+ "@orpc/client": "1.0.0-beta.3",
34
+ "@orpc/standard-server": "1.0.0-beta.3"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "unbuild",