@orpc/shared 0.11.0 → 0.13.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/error.js CHANGED
@@ -70,3 +70,4 @@ export {
70
70
  ORPCError,
71
71
  ORPC_ERROR_CODE_STATUSES
72
72
  };
73
+ //# sourceMappingURL=error.js.map
package/dist/index.js CHANGED
@@ -78,3 +78,4 @@ export {
78
78
  trim,
79
79
  value
80
80
  };
81
+ //# sourceMappingURL=index.js.map
@@ -55,3 +55,4 @@ export declare class ORPCError<TCode extends ORPCErrorCode, TData> extends Error
55
55
  };
56
56
  static fromJSON(json: unknown): ORPCError<ORPCErrorCode, any> | undefined;
57
57
  }
58
+ //# sourceMappingURL=error.d.ts.map
@@ -4,3 +4,4 @@ export * from './value';
4
4
  export { isPlainObject } from 'is-what';
5
5
  export { guard, mapEntries, mapValues, omit, trim } from 'radash';
6
6
  export type * from 'type-fest';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,2 @@
1
1
  export declare function parseJSONSafely(text: string): unknown;
2
+ //# sourceMappingURL=json.d.ts.map
@@ -5,3 +5,4 @@ export declare function findDeepMatches(check: (value: unknown) => boolean, payl
5
5
  maps: Segment[][];
6
6
  values: unknown[];
7
7
  };
8
+ //# sourceMappingURL=object.d.ts.map
@@ -1,3 +1,4 @@
1
1
  import type { Promisable } from 'type-fest';
2
2
  export type Value<T> = T | (() => Promisable<T>);
3
3
  export declare function value<T extends Value<any>>(value: T): Promise<T extends Value<infer U> ? U : never>;
4
+ //# sourceMappingURL=value.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/shared",
3
3
  "type": "module",
4
- "version": "0.11.0",
4
+ "version": "0.13.0",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -29,7 +29,8 @@
29
29
  }
30
30
  },
31
31
  "files": [
32
- "!dist/*.tsbuildinfo",
32
+ "!**/*.map",
33
+ "!**/*.tsbuildinfo",
33
34
  "dist"
34
35
  ],
35
36
  "dependencies": {
@@ -39,7 +40,7 @@
39
40
  "zod": "^3.23.8"
40
41
  },
41
42
  "scripts": {
42
- "build": "tsup --clean --entry.index=src/index.ts --entry.error=src/error.ts --format=esm --onSuccess='tsc -b --noCheck'",
43
+ "build": "tsup --clean --sourcemap --entry.index=src/index.ts --entry.error=src/error.ts --format=esm --onSuccess='tsc -b --noCheck'",
43
44
  "build:watch": "pnpm run build --watch",
44
45
  "type:check": "tsc -b"
45
46
  }