@orpc/shared 0.0.0-next.b1b9914 → 0.0.0-next.b2d00a3

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  <div align="center">
2
- <image align="center" src="https://orpc.unnoq.com/logo.webp" width=280 alt="oRPC logo" />
2
+ <image align="center" src="https://orpc.dev/logo.webp" width=280 alt="oRPC logo" />
3
3
  </div>
4
4
 
5
5
  <h1></h1>
@@ -45,7 +45,7 @@
45
45
 
46
46
  ## Documentation
47
47
 
48
- You can find the full documentation [here](https://orpc.unnoq.com).
48
+ You can find the full documentation [here](https://orpc.dev).
49
49
 
50
50
  ## Packages
51
51
 
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 = "0.0.0-next.b1b9914";
33
+ declare const ORPC_SHARED_PACKAGE_VERSION = "0.0.0-next.b2d00a3";
34
34
 
35
35
  /**
36
36
  * Error thrown when an operation is aborted.
@@ -285,7 +285,7 @@ declare function isObject(value: unknown): value is Record<PropertyKey, unknown>
285
285
  */
286
286
  declare function isTypescriptObject(value: unknown): value is object & Record<PropertyKey, unknown>;
287
287
  declare function clone<T>(value: T): T;
288
- declare function get(object: unknown, path: readonly string[]): unknown;
288
+ declare function get(object: unknown, path: readonly PropertyKey[]): unknown;
289
289
  declare function isPropertyKey(value: unknown): value is PropertyKey;
290
290
  declare const NullProtoObj: ({
291
291
  new <T extends Record<PropertyKey, unknown>>(): T;
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 = "0.0.0-next.b1b9914";
33
+ declare const ORPC_SHARED_PACKAGE_VERSION = "0.0.0-next.b2d00a3";
34
34
 
35
35
  /**
36
36
  * Error thrown when an operation is aborted.
@@ -285,7 +285,7 @@ declare function isObject(value: unknown): value is Record<PropertyKey, unknown>
285
285
  */
286
286
  declare function isTypescriptObject(value: unknown): value is object & Record<PropertyKey, unknown>;
287
287
  declare function clone<T>(value: T): T;
288
- declare function get(object: unknown, path: readonly string[]): unknown;
288
+ declare function get(object: unknown, path: readonly PropertyKey[]): unknown;
289
289
  declare function isPropertyKey(value: unknown): value is PropertyKey;
290
290
  declare const NullProtoObj: ({
291
291
  new <T extends Record<PropertyKey, unknown>>(): T;
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 = "0.0.0-next.b1b9914";
24
+ const ORPC_SHARED_PACKAGE_VERSION = "0.0.0-next.b2d00a3";
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,9 +1,9 @@
1
1
  {
2
2
  "name": "@orpc/shared",
3
3
  "type": "module",
4
- "version": "0.0.0-next.b1b9914",
4
+ "version": "0.0.0-next.b2d00a3",
5
5
  "license": "MIT",
6
- "homepage": "https://orpc.unnoq.com",
6
+ "homepage": "https://orpc.dev",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/unnoq/orpc.git",
@@ -33,12 +33,12 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "radash": "^12.1.1",
36
- "type-fest": "^5.1.0"
36
+ "type-fest": "^5.2.0"
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": {