@orpc/tanstack-query 0.0.0-next.df717fa → 0.0.0-next.e02ffab

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
@@ -17,6 +17,9 @@
17
17
  <a href="https://discord.gg/TXEbwRBvQn">
18
18
  <img alt="Discord" src="https://img.shields.io/discord/1308966753044398161?color=7389D8&label&logo=discord&logoColor=ffffff" />
19
19
  </a>
20
+ <a href="https://deepwiki.com/unnoq/orpc">
21
+ <img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki">
22
+ </a>
20
23
  </div>
21
24
 
22
25
  <h3 align="center">Typesafe APIs Made Simple 🪄</h3>
@@ -30,7 +33,8 @@
30
33
  - **🔗 End-to-End Type Safety**: Ensure type-safe inputs, outputs, and errors from client to server.
31
34
  - **📘 First-Class OpenAPI**: Built-in support that fully adheres to the OpenAPI standard.
32
35
  - **📝 Contract-First Development**: Optionally define your API contract before implementation.
33
- - **⚙️ Framework Integrations**: Seamlessly integrate with TanStack Query (React, Vue, Solid, Svelte, Angular), Pinia Colada, and more.
36
+ - **🔍 First-Class OpenTelemetry**: Seamlessly integrate with OpenTelemetry for observability.
37
+ - **⚙️ Framework Integrations**: Seamlessly integrate with TanStack Query (React, Vue, Solid, Svelte, Angular), SWR, Pinia Colada, and more.
34
38
  - **🚀 Server Actions**: Fully compatible with React Server Actions on Next.js, TanStack Start, and other platforms.
35
39
  - **🔠 Standard Schema Support**: Works out of the box with Zod, Valibot, ArkType, and other schema validators.
36
40
  - **🗃️ Native Types**: Supports native types like Date, File, Blob, BigInt, URL, and more.
@@ -38,7 +42,6 @@
38
42
  - **📡 SSE & Streaming**: Enjoy full type-safe support for SSE and streaming.
39
43
  - **🌍 Multi-Runtime Support**: Fast and lightweight on Cloudflare, Deno, Bun, Node.js, and beyond.
40
44
  - **🔌 Extendability**: Easily extend functionality with plugins, middleware, and interceptors.
41
- - **🛡️ Reliability**: Well-tested, TypeScript-based, production-ready, and MIT licensed.
42
45
 
43
46
  ## Documentation
44
47
 
@@ -50,9 +53,11 @@ You can find the full documentation [here](https://orpc.unnoq.com).
50
53
  - [@orpc/server](https://www.npmjs.com/package/@orpc/server): Build your API or implement API contract.
51
54
  - [@orpc/client](https://www.npmjs.com/package/@orpc/client): Consume your API on the client with type-safety.
52
55
  - [@orpc/openapi](https://www.npmjs.com/package/@orpc/openapi): Generate OpenAPI specs and handle OpenAPI requests.
56
+ - [@orpc/otel](https://www.npmjs.com/package/@orpc/otel): [OpenTelemetry](https://opentelemetry.io/) integration for observability.
53
57
  - [@orpc/nest](https://www.npmjs.com/package/@orpc/nest): Deeply integrate oRPC with [NestJS](https://nestjs.com/).
54
58
  - [@orpc/react](https://www.npmjs.com/package/@orpc/react): Utilities for integrating oRPC with React and React Server Actions.
55
59
  - [@orpc/tanstack-query](https://www.npmjs.com/package/@orpc/tanstack-query): [TanStack Query](https://tanstack.com/query/latest) integration.
60
+ - [@orpc/experimental-react-swr](https://www.npmjs.com/package/@orpc/experimental-react-swr): [SWR](https://swr.vercel.app/) integration.
56
61
  - [@orpc/vue-colada](https://www.npmjs.com/package/@orpc/vue-colada): Integration with [Pinia Colada](https://pinia-colada.esm.dev/).
57
62
  - [@orpc/hey-api](https://www.npmjs.com/package/@orpc/hey-api): [Hey API](https://heyapi.dev/) integration.
58
63
  - [@orpc/zod](https://www.npmjs.com/package/@orpc/zod): More schemas that [Zod](https://zod.dev/) doesn't support yet.
package/dist/index.d.mts CHANGED
@@ -1,15 +1,40 @@
1
1
  import { ClientContext, Client, NestedClient } from '@orpc/client';
2
- import { SetOptional, PartialDeep, MaybeOptionalOptions } from '@orpc/shared';
3
- import { SkipToken, QueryKey, QueryObserverOptions, DataTag, QueryFunction, experimental_streamedQuery, InfiniteQueryObserverOptions, InfiniteData, MutationObserverOptions } from '@tanstack/query-core';
2
+ import { Promisable, SetOptional, PartialDeep, MaybeOptionalOptions } from '@orpc/shared';
3
+ import { QueryKey, QueryFunctionContext, QueryFunction, SkipToken, QueryObserverOptions, DataTag, InfiniteQueryObserverOptions, InfiniteData, MutationObserverOptions } from '@tanstack/query-core';
4
+
5
+ interface experimental_SerializableStreamedQueryOptions {
6
+ /**
7
+ * Determines how data is handled when the query is refetched.
8
+ *
9
+ * - `'reset'`: Clears existing data and sets the query back to a pending state.
10
+ * - `'append'`: Appends new data chunks to the existing data.
11
+ * - `'replace'`: Collects all streamed data and replaces the cache once the stream finishes.
12
+ *
13
+ * @default 'reset'
14
+ */
15
+ refetchMode?: 'append' | 'reset' | 'replace';
16
+ /**
17
+ * Limits the number of data chunks stored in the query result.
18
+ * Older chunks are removed when the limit is reached.
19
+ *
20
+ * @default Number.POSITIVE_INFINITY (unlimited)
21
+ */
22
+ maxChunks?: number;
23
+ }
24
+ /**
25
+ * A variant of `streamedQuery` where:
26
+ * - Options are serializable
27
+ * - The output is predictable
28
+ */
29
+ declare function experimental_serializableStreamedQuery<TQueryFnData = unknown, TQueryKey extends QueryKey = QueryKey>(queryFn: (context: QueryFunctionContext<TQueryKey>) => Promisable<AsyncIterable<TQueryFnData>>, { refetchMode, maxChunks }?: experimental_SerializableStreamedQueryOptions): QueryFunction<Array<TQueryFnData>, TQueryKey>;
4
30
 
5
31
  type experimental_StreamedQueryOutput<TOutput> = TOutput extends AsyncIterable<infer U> ? U[] : never;
6
32
  type experimental_LiveQueryOutput<TOutput> = TOutput extends AsyncIterable<infer U> ? U : never;
7
- type experimental_StreamedQueryOptions = Omit<Parameters<typeof experimental_streamedQuery>[0], 'queryFn'>;
8
33
  type OperationType = 'query' | 'streamed' | 'live' | 'infinite' | 'mutation';
9
34
  type OperationKeyOptions<TType extends OperationType, TInput> = {
10
35
  type?: TType;
11
36
  input?: TType extends 'mutation' ? never : PartialDeep<TInput>;
12
- fnOptions?: TType extends 'streamed' ? experimental_StreamedQueryOptions : never;
37
+ fnOptions?: TType extends 'streamed' ? experimental_SerializableStreamedQueryOptions : never;
13
38
  };
14
39
  type OperationKey<TType extends OperationType, TInput> = [path: readonly string[], options: OperationKeyOptions<TType, TInput>];
15
40
  declare const OPERATION_CONTEXT_SYMBOL: unique symbol;
@@ -36,13 +61,13 @@ interface QueryOptionsBase<TOutput, TError> {
36
61
  queryFn: QueryFunction<TOutput>;
37
62
  throwOnError?: (error: TError) => boolean;
38
63
  retryDelay?: (count: number, error: TError) => number;
39
- enabled: boolean;
64
+ enabled?: boolean;
40
65
  }
41
66
  type experimental_StreamedKeyOptions<TInput> = QueryKeyOptions<TInput> & {
42
- queryFnOptions?: experimental_StreamedQueryOptions;
67
+ queryFnOptions?: experimental_SerializableStreamedQueryOptions;
43
68
  };
44
69
  type experimental_StreamedOptionsIn<TClientContext extends ClientContext, TInput, TOutput, TError, TSelectData> = QueryOptionsIn<TClientContext, TInput, TOutput, TError, TSelectData> & {
45
- queryFnOptions?: experimental_StreamedQueryOptions;
70
+ queryFnOptions?: experimental_SerializableStreamedQueryOptions;
46
71
  };
47
72
  interface experimental_StreamedOptionsBase<TOutput, TError> extends QueryOptionsBase<TOutput, TError> {
48
73
  }
@@ -59,7 +84,7 @@ interface InfiniteOptionsBase<TOutput, TError, TPageParam> {
59
84
  select?(): InfiniteData<TOutput, TPageParam>;
60
85
  throwOnError?: (error: TError) => boolean;
61
86
  retryDelay?: (count: number, error: TError) => number;
62
- enabled: boolean;
87
+ enabled?: boolean;
63
88
  }
64
89
  type MutationOptionsIn<TClientContext extends ClientContext, TInput, TOutput, TError, TMutationContext> = (Record<never, never> extends TClientContext ? {
65
90
  context?: TClientContext;
@@ -174,5 +199,5 @@ interface CreateRouterUtilsOptions {
174
199
  */
175
200
  declare function createRouterUtils<T extends NestedClient<any>>(client: T, options?: CreateRouterUtilsOptions): RouterUtils<T>;
176
201
 
177
- export { OPERATION_CONTEXT_SYMBOL, OPERATION_CONTEXT_SYMBOL as TANSTACK_QUERY_OPERATION_CONTEXT_SYMBOL, createGeneralUtils, createProcedureUtils, createRouterUtils, createRouterUtils as createTanstackQueryUtils, generateOperationKey };
178
- export type { CreateProcedureUtilsOptions, CreateRouterUtilsOptions, GeneralUtils, InfiniteOptionsBase, InfiniteOptionsIn, MutationOptions, MutationOptionsIn, OperationContext, OperationKey, OperationKeyOptions, OperationType, ProcedureUtils, QueryKeyOptions, QueryOptionsBase, QueryOptionsIn, RouterUtils, OperationContext as TanstackQueryOperationContext, experimental_LiveQueryOutput, experimental_StreamedKeyOptions, experimental_StreamedOptionsBase, experimental_StreamedOptionsIn, experimental_StreamedQueryOutput };
202
+ export { OPERATION_CONTEXT_SYMBOL, OPERATION_CONTEXT_SYMBOL as TANSTACK_QUERY_OPERATION_CONTEXT_SYMBOL, createGeneralUtils, createProcedureUtils, createRouterUtils, createRouterUtils as createTanstackQueryUtils, experimental_serializableStreamedQuery, generateOperationKey };
203
+ export type { CreateProcedureUtilsOptions, CreateRouterUtilsOptions, GeneralUtils, InfiniteOptionsBase, InfiniteOptionsIn, MutationOptions, MutationOptionsIn, OperationContext, OperationKey, OperationKeyOptions, OperationType, ProcedureUtils, QueryKeyOptions, QueryOptionsBase, QueryOptionsIn, RouterUtils, OperationContext as TanstackQueryOperationContext, experimental_LiveQueryOutput, experimental_SerializableStreamedQueryOptions, experimental_StreamedKeyOptions, experimental_StreamedOptionsBase, experimental_StreamedOptionsIn, experimental_StreamedQueryOutput };
package/dist/index.d.ts CHANGED
@@ -1,15 +1,40 @@
1
1
  import { ClientContext, Client, NestedClient } from '@orpc/client';
2
- import { SetOptional, PartialDeep, MaybeOptionalOptions } from '@orpc/shared';
3
- import { SkipToken, QueryKey, QueryObserverOptions, DataTag, QueryFunction, experimental_streamedQuery, InfiniteQueryObserverOptions, InfiniteData, MutationObserverOptions } from '@tanstack/query-core';
2
+ import { Promisable, SetOptional, PartialDeep, MaybeOptionalOptions } from '@orpc/shared';
3
+ import { QueryKey, QueryFunctionContext, QueryFunction, SkipToken, QueryObserverOptions, DataTag, InfiniteQueryObserverOptions, InfiniteData, MutationObserverOptions } from '@tanstack/query-core';
4
+
5
+ interface experimental_SerializableStreamedQueryOptions {
6
+ /**
7
+ * Determines how data is handled when the query is refetched.
8
+ *
9
+ * - `'reset'`: Clears existing data and sets the query back to a pending state.
10
+ * - `'append'`: Appends new data chunks to the existing data.
11
+ * - `'replace'`: Collects all streamed data and replaces the cache once the stream finishes.
12
+ *
13
+ * @default 'reset'
14
+ */
15
+ refetchMode?: 'append' | 'reset' | 'replace';
16
+ /**
17
+ * Limits the number of data chunks stored in the query result.
18
+ * Older chunks are removed when the limit is reached.
19
+ *
20
+ * @default Number.POSITIVE_INFINITY (unlimited)
21
+ */
22
+ maxChunks?: number;
23
+ }
24
+ /**
25
+ * A variant of `streamedQuery` where:
26
+ * - Options are serializable
27
+ * - The output is predictable
28
+ */
29
+ declare function experimental_serializableStreamedQuery<TQueryFnData = unknown, TQueryKey extends QueryKey = QueryKey>(queryFn: (context: QueryFunctionContext<TQueryKey>) => Promisable<AsyncIterable<TQueryFnData>>, { refetchMode, maxChunks }?: experimental_SerializableStreamedQueryOptions): QueryFunction<Array<TQueryFnData>, TQueryKey>;
4
30
 
5
31
  type experimental_StreamedQueryOutput<TOutput> = TOutput extends AsyncIterable<infer U> ? U[] : never;
6
32
  type experimental_LiveQueryOutput<TOutput> = TOutput extends AsyncIterable<infer U> ? U : never;
7
- type experimental_StreamedQueryOptions = Omit<Parameters<typeof experimental_streamedQuery>[0], 'queryFn'>;
8
33
  type OperationType = 'query' | 'streamed' | 'live' | 'infinite' | 'mutation';
9
34
  type OperationKeyOptions<TType extends OperationType, TInput> = {
10
35
  type?: TType;
11
36
  input?: TType extends 'mutation' ? never : PartialDeep<TInput>;
12
- fnOptions?: TType extends 'streamed' ? experimental_StreamedQueryOptions : never;
37
+ fnOptions?: TType extends 'streamed' ? experimental_SerializableStreamedQueryOptions : never;
13
38
  };
14
39
  type OperationKey<TType extends OperationType, TInput> = [path: readonly string[], options: OperationKeyOptions<TType, TInput>];
15
40
  declare const OPERATION_CONTEXT_SYMBOL: unique symbol;
@@ -36,13 +61,13 @@ interface QueryOptionsBase<TOutput, TError> {
36
61
  queryFn: QueryFunction<TOutput>;
37
62
  throwOnError?: (error: TError) => boolean;
38
63
  retryDelay?: (count: number, error: TError) => number;
39
- enabled: boolean;
64
+ enabled?: boolean;
40
65
  }
41
66
  type experimental_StreamedKeyOptions<TInput> = QueryKeyOptions<TInput> & {
42
- queryFnOptions?: experimental_StreamedQueryOptions;
67
+ queryFnOptions?: experimental_SerializableStreamedQueryOptions;
43
68
  };
44
69
  type experimental_StreamedOptionsIn<TClientContext extends ClientContext, TInput, TOutput, TError, TSelectData> = QueryOptionsIn<TClientContext, TInput, TOutput, TError, TSelectData> & {
45
- queryFnOptions?: experimental_StreamedQueryOptions;
70
+ queryFnOptions?: experimental_SerializableStreamedQueryOptions;
46
71
  };
47
72
  interface experimental_StreamedOptionsBase<TOutput, TError> extends QueryOptionsBase<TOutput, TError> {
48
73
  }
@@ -59,7 +84,7 @@ interface InfiniteOptionsBase<TOutput, TError, TPageParam> {
59
84
  select?(): InfiniteData<TOutput, TPageParam>;
60
85
  throwOnError?: (error: TError) => boolean;
61
86
  retryDelay?: (count: number, error: TError) => number;
62
- enabled: boolean;
87
+ enabled?: boolean;
63
88
  }
64
89
  type MutationOptionsIn<TClientContext extends ClientContext, TInput, TOutput, TError, TMutationContext> = (Record<never, never> extends TClientContext ? {
65
90
  context?: TClientContext;
@@ -174,5 +199,5 @@ interface CreateRouterUtilsOptions {
174
199
  */
175
200
  declare function createRouterUtils<T extends NestedClient<any>>(client: T, options?: CreateRouterUtilsOptions): RouterUtils<T>;
176
201
 
177
- export { OPERATION_CONTEXT_SYMBOL, OPERATION_CONTEXT_SYMBOL as TANSTACK_QUERY_OPERATION_CONTEXT_SYMBOL, createGeneralUtils, createProcedureUtils, createRouterUtils, createRouterUtils as createTanstackQueryUtils, generateOperationKey };
178
- export type { CreateProcedureUtilsOptions, CreateRouterUtilsOptions, GeneralUtils, InfiniteOptionsBase, InfiniteOptionsIn, MutationOptions, MutationOptionsIn, OperationContext, OperationKey, OperationKeyOptions, OperationType, ProcedureUtils, QueryKeyOptions, QueryOptionsBase, QueryOptionsIn, RouterUtils, OperationContext as TanstackQueryOperationContext, experimental_LiveQueryOutput, experimental_StreamedKeyOptions, experimental_StreamedOptionsBase, experimental_StreamedOptionsIn, experimental_StreamedQueryOutput };
202
+ export { OPERATION_CONTEXT_SYMBOL, OPERATION_CONTEXT_SYMBOL as TANSTACK_QUERY_OPERATION_CONTEXT_SYMBOL, createGeneralUtils, createProcedureUtils, createRouterUtils, createRouterUtils as createTanstackQueryUtils, experimental_serializableStreamedQuery, generateOperationKey };
203
+ export type { CreateProcedureUtilsOptions, CreateRouterUtilsOptions, GeneralUtils, InfiniteOptionsBase, InfiniteOptionsIn, MutationOptions, MutationOptionsIn, OperationContext, OperationKey, OperationKeyOptions, OperationType, ProcedureUtils, QueryKeyOptions, QueryOptionsBase, QueryOptionsIn, RouterUtils, OperationContext as TanstackQueryOperationContext, experimental_LiveQueryOutput, experimental_SerializableStreamedQueryOptions, experimental_StreamedKeyOptions, experimental_StreamedOptionsBase, experimental_StreamedOptionsIn, experimental_StreamedQueryOutput };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { stringifyJSON, isAsyncIteratorObject, toArray } from '@orpc/shared';
2
- import { skipToken, experimental_streamedQuery } from '@tanstack/query-core';
2
+ import { skipToken } from '@tanstack/query-core';
3
3
 
4
4
  function generateOperationKey(path, state = {}) {
5
5
  return [path, {
@@ -23,7 +23,7 @@ function experimental_liveQuery(queryFn) {
23
23
  let last;
24
24
  for await (const chunk of stream) {
25
25
  if (context.signal.aborted) {
26
- break;
26
+ throw context.signal.reason;
27
27
  }
28
28
  last = { chunk };
29
29
  context.client.setQueryData(context.queryKey, chunk);
@@ -37,6 +37,49 @@ function experimental_liveQuery(queryFn) {
37
37
  };
38
38
  }
39
39
 
40
+ function experimental_serializableStreamedQuery(queryFn, { refetchMode = "reset", maxChunks = Number.POSITIVE_INFINITY } = {}) {
41
+ return async (context) => {
42
+ const query = context.client.getQueryCache().find({ queryKey: context.queryKey, exact: true });
43
+ const isRefetch = !!query && query.state.data !== void 0;
44
+ if (isRefetch && refetchMode === "reset") {
45
+ query.setState({
46
+ status: "pending",
47
+ data: void 0,
48
+ error: null,
49
+ fetchStatus: "fetching"
50
+ });
51
+ }
52
+ let result = [];
53
+ const stream = await queryFn(context);
54
+ for await (const chunk of stream) {
55
+ if (context.signal.aborted) {
56
+ throw context.signal.reason;
57
+ }
58
+ if (!isRefetch || refetchMode !== "replace") {
59
+ context.client.setQueryData(
60
+ context.queryKey,
61
+ (prev = []) => {
62
+ return addToEnd(prev, chunk, maxChunks);
63
+ }
64
+ );
65
+ }
66
+ result = addToEnd(result, chunk, maxChunks);
67
+ }
68
+ if (isRefetch && refetchMode === "replace") {
69
+ context.client.setQueryData(context.queryKey, result);
70
+ }
71
+ const currentResult = context.client.getQueryData(context.queryKey);
72
+ if (!Array.isArray(currentResult)) {
73
+ return result;
74
+ }
75
+ return currentResult;
76
+ };
77
+ }
78
+ function addToEnd(items, item, max) {
79
+ const newItems = [...items, item];
80
+ return newItems.length > max ? newItems.slice(newItems.length - max) : newItems;
81
+ }
82
+
40
83
  const OPERATION_CONTEXT_SYMBOL = Symbol("ORPC_OPERATION_CONTEXT");
41
84
 
42
85
  function createProcedureUtils(client, options) {
@@ -64,7 +107,7 @@ function createProcedureUtils(client, options) {
64
107
  }
65
108
  });
66
109
  },
67
- enabled: optionsIn.input !== skipToken,
110
+ ...optionsIn.input === skipToken ? { enabled: false } : {},
68
111
  ...optionsIn,
69
112
  queryKey
70
113
  };
@@ -76,9 +119,8 @@ function createProcedureUtils(client, options) {
76
119
  experimental_streamedOptions(...[optionsIn = {}]) {
77
120
  const queryKey = utils.experimental_streamedKey(optionsIn);
78
121
  return {
79
- enabled: optionsIn.input !== skipToken,
80
- queryFn: experimental_streamedQuery({
81
- queryFn: async ({ signal }) => {
122
+ queryFn: experimental_serializableStreamedQuery(
123
+ async ({ signal }) => {
82
124
  if (optionsIn.input === skipToken) {
83
125
  throw new Error("queryFn should not be called with skipToken used as input");
84
126
  }
@@ -97,8 +139,9 @@ function createProcedureUtils(client, options) {
97
139
  }
98
140
  return output;
99
141
  },
100
- ...optionsIn.queryFnOptions
101
- }),
142
+ optionsIn.queryFnOptions
143
+ ),
144
+ ...optionsIn.input === skipToken ? { enabled: false } : {},
102
145
  ...optionsIn,
103
146
  queryKey
104
147
  };
@@ -110,7 +153,6 @@ function createProcedureUtils(client, options) {
110
153
  experimental_liveOptions(...[optionsIn = {}]) {
111
154
  const queryKey = utils.experimental_liveKey(optionsIn);
112
155
  return {
113
- enabled: optionsIn.input !== skipToken,
114
156
  queryFn: experimental_liveQuery(async ({ signal }) => {
115
157
  if (optionsIn.input === skipToken) {
116
158
  throw new Error("queryFn should not be called with skipToken used as input");
@@ -130,6 +172,7 @@ function createProcedureUtils(client, options) {
130
172
  }
131
173
  return output;
132
174
  }),
175
+ ...optionsIn.input === skipToken ? { enabled: false } : {},
133
176
  ...optionsIn,
134
177
  queryKey
135
178
  };
@@ -159,7 +202,7 @@ function createProcedureUtils(client, options) {
159
202
  }
160
203
  });
161
204
  },
162
- enabled: optionsIn.input !== skipToken,
205
+ ...optionsIn.input === skipToken ? { enabled: false } : {},
163
206
  ...optionsIn,
164
207
  queryKey
165
208
  };
@@ -215,4 +258,4 @@ function createRouterUtils(client, options = {}) {
215
258
  return recursive;
216
259
  }
217
260
 
218
- export { OPERATION_CONTEXT_SYMBOL, OPERATION_CONTEXT_SYMBOL as TANSTACK_QUERY_OPERATION_CONTEXT_SYMBOL, createGeneralUtils, createProcedureUtils, createRouterUtils, createRouterUtils as createTanstackQueryUtils, generateOperationKey };
261
+ export { OPERATION_CONTEXT_SYMBOL, OPERATION_CONTEXT_SYMBOL as TANSTACK_QUERY_OPERATION_CONTEXT_SYMBOL, createGeneralUtils, createProcedureUtils, createRouterUtils, createRouterUtils as createTanstackQueryUtils, experimental_serializableStreamedQuery, generateOperationKey };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/tanstack-query",
3
3
  "type": "module",
4
- "version": "0.0.0-next.df717fa",
4
+ "version": "0.0.0-next.e02ffab",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -25,22 +25,22 @@
25
25
  ],
26
26
  "peerDependencies": {
27
27
  "@tanstack/query-core": ">=5.80.2",
28
- "@orpc/client": "0.0.0-next.df717fa"
28
+ "@orpc/client": "0.0.0-next.e02ffab"
29
29
  },
30
30
  "dependencies": {
31
- "@orpc/shared": "0.0.0-next.df717fa"
31
+ "@orpc/shared": "0.0.0-next.e02ffab"
32
32
  },
33
33
  "devDependencies": {
34
- "@angular/core": "^20.0.6",
35
- "@tanstack/angular-query-experimental": "^5.81.5",
36
- "@tanstack/query-core": "^5.81.5",
37
- "@tanstack/react-query": "^5.81.5",
38
- "@tanstack/solid-query": "^5.81.5",
39
- "@tanstack/svelte-query": "^5.81.5",
40
- "@tanstack/vue-query": "^5.81.5",
41
- "svelte": "^5.35.4",
42
- "vue": "^3.5.17",
43
- "zod": "^4.0.5"
34
+ "@angular/core": "^20.3.3",
35
+ "@tanstack/angular-query-experimental": "^5.90.2",
36
+ "@tanstack/query-core": "^5.90.2",
37
+ "@tanstack/react-query": "^5.90.2",
38
+ "@tanstack/solid-query": "^5.90.3",
39
+ "@tanstack/svelte-query": "^5.90.2",
40
+ "@tanstack/vue-query": "^5.90.2",
41
+ "svelte": "^5.39.8",
42
+ "vue": "^3.5.22",
43
+ "zod": "^4.1.11"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "unbuild",