@orpc/client 0.41.0 → 0.41.1
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/src/types.d.ts +1 -1
- package/package.json +2 -2
package/dist/src/types.d.ts
CHANGED
@@ -7,7 +7,7 @@ export type ClientOptions<TClientContext extends ClientContext> = {
|
|
7
7
|
} : {
|
8
8
|
context: TClientContext;
|
9
9
|
});
|
10
|
-
export type ClientRest<TClientContext extends ClientContext, TInput> =
|
10
|
+
export type ClientRest<TClientContext extends ClientContext, TInput> = Record<never, never> extends TClientContext ? undefined extends TInput ? [input?: TInput, options?: ClientOptions<TClientContext>] : [input: TInput, options?: ClientOptions<TClientContext>] : [input: TInput, options: ClientOptions<TClientContext>];
|
11
11
|
export type ClientPromiseResult<TOutput, TError extends Error> = Promise<TOutput> & {
|
12
12
|
__error?: {
|
13
13
|
type: TError;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@orpc/client",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.41.
|
4
|
+
"version": "0.41.1",
|
5
5
|
"license": "MIT",
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
7
7
|
"repository": {
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"dependencies": {
|
47
47
|
"@orpc/server-standard": "^0.4.0",
|
48
48
|
"@orpc/server-standard-fetch": "^0.4.0",
|
49
|
-
"@orpc/shared": "0.41.
|
49
|
+
"@orpc/shared": "0.41.1"
|
50
50
|
},
|
51
51
|
"devDependencies": {
|
52
52
|
"zod": "^3.24.1"
|