@orpc/client 0.0.0-next.1ea8333 → 0.0.0-next.21961be

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.
@@ -1,5 +1,5 @@
1
1
  import { toFetchRequest, toStandardLazyResponse } from '@orpc/standard-server-fetch';
2
- import { b as StandardRPCJsonSerializer, c as StandardRPCLinkCodec, d as StandardRPCSerializer, S as StandardLink } from '../../shared/client.3Q53fveR.mjs';
2
+ import { b as StandardRPCJsonSerializer, c as StandardRPCLinkCodec, d as StandardRPCSerializer, S as StandardLink } from '../../shared/client.Be-O_tdu.mjs';
3
3
  import '@orpc/shared';
4
4
  import '../../shared/client.CvnV7_uV.mjs';
5
5
  import '@orpc/standard-server';
@@ -1,4 +1,4 @@
1
- export { I as InvalidEventIteratorRetryResponse, a as STANDARD_RPC_JSON_SERIALIZER_BUILT_IN_TYPES, S as StandardLink, b as StandardRPCJsonSerializer, c as StandardRPCLinkCodec, d as StandardRPCSerializer } from '../../shared/client.3Q53fveR.mjs';
1
+ export { I as InvalidEventIteratorRetryResponse, a as STANDARD_RPC_JSON_SERIALIZER_BUILT_IN_TYPES, S as StandardLink, b as StandardRPCJsonSerializer, c as StandardRPCLinkCodec, d as StandardRPCSerializer } from '../../shared/client.Be-O_tdu.mjs';
2
2
  import '@orpc/shared';
3
3
  import '../../shared/client.CvnV7_uV.mjs';
4
4
  import '@orpc/standard-server';
@@ -111,9 +111,6 @@ class StandardRPCJsonSerializer {
111
111
  if (isObject(data)) {
112
112
  const json = {};
113
113
  for (const k in data) {
114
- if (k === "toJSON" && typeof data[k] === "function") {
115
- continue;
116
- }
117
114
  json[k] = this.serialize(data[k], [...segments, k], meta, maps, blobs)[0];
118
115
  }
119
116
  return [json, meta, maps, blobs];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/client",
3
3
  "type": "module",
4
- "version": "0.0.0-next.1ea8333",
4
+ "version": "0.0.0-next.21961be",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -39,9 +39,9 @@
39
39
  "dist"
40
40
  ],
41
41
  "dependencies": {
42
- "@orpc/standard-server-fetch": "0.0.0-next.1ea8333",
43
- "@orpc/standard-server": "0.0.0-next.1ea8333",
44
- "@orpc/shared": "0.0.0-next.1ea8333"
42
+ "@orpc/shared": "0.0.0-next.21961be",
43
+ "@orpc/standard-server-fetch": "0.0.0-next.21961be",
44
+ "@orpc/standard-server": "0.0.0-next.21961be"
45
45
  },
46
46
  "devDependencies": {
47
47
  "zod": "^3.24.2"