@orpc/shared 1.11.2 → 1.12.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/dist/index.d.mts CHANGED
@@ -30,7 +30,7 @@ type OmitChainMethodDeep<T extends object, K extends keyof any> = {
30
30
 
31
31
  declare const ORPC_NAME = "orpc";
32
32
  declare const ORPC_SHARED_PACKAGE_NAME = "@orpc/shared";
33
- declare const ORPC_SHARED_PACKAGE_VERSION = "1.11.2";
33
+ declare const ORPC_SHARED_PACKAGE_VERSION = "1.12.0";
34
34
 
35
35
  /**
36
36
  * Error thrown when an operation is aborted.
package/dist/index.d.ts CHANGED
@@ -30,7 +30,7 @@ type OmitChainMethodDeep<T extends object, K extends keyof any> = {
30
30
 
31
31
  declare const ORPC_NAME = "orpc";
32
32
  declare const ORPC_SHARED_PACKAGE_NAME = "@orpc/shared";
33
- declare const ORPC_SHARED_PACKAGE_VERSION = "1.11.2";
33
+ declare const ORPC_SHARED_PACKAGE_VERSION = "1.12.0";
34
34
 
35
35
  /**
36
36
  * Error thrown when an operation is aborted.
package/dist/index.mjs CHANGED
@@ -21,7 +21,7 @@ function readAsBuffer(source) {
21
21
 
22
22
  const ORPC_NAME = "orpc";
23
23
  const ORPC_SHARED_PACKAGE_NAME = "@orpc/shared";
24
- const ORPC_SHARED_PACKAGE_VERSION = "1.11.2";
24
+ const ORPC_SHARED_PACKAGE_VERSION = "1.12.0";
25
25
 
26
26
  class AbortError extends Error {
27
27
  constructor(...rest) {
@@ -573,6 +573,9 @@ function clone(value) {
573
573
  for (const key in value) {
574
574
  result[key] = clone(value[key]);
575
575
  }
576
+ for (const sym of Object.getOwnPropertySymbols(value)) {
577
+ result[sym] = clone(value[sym]);
578
+ }
576
579
  return result;
577
580
  }
578
581
  return value;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/shared",
3
3
  "type": "module",
4
- "version": "1.11.2",
4
+ "version": "1.12.0",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@opentelemetry/api": "^1.9.0",
40
- "arktype": "2.1.25",
41
- "valibot": "^1.1.0",
40
+ "arktype": "2.1.27",
41
+ "valibot": "^1.2.0",
42
42
  "zod": "^4.1.12"
43
43
  },
44
44
  "scripts": {