@orpc/shared 1.10.4 → 1.11.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.10.4";
33
+ declare const ORPC_SHARED_PACKAGE_VERSION = "1.11.0";
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 = "1.10.4";
33
+ declare const ORPC_SHARED_PACKAGE_VERSION = "1.11.0";
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 = "1.10.4";
24
+ const ORPC_SHARED_PACKAGE_VERSION = "1.11.0";
25
25
 
26
26
  class AbortError extends Error {
27
27
  constructor(...rest) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/shared",
3
3
  "type": "module",
4
- "version": "1.10.4",
4
+ "version": "1.11.0",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {