File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,10 +89,10 @@ export default defineNuxtPlugin(() => {
8989 * built on top of \`useAsyncData\`.
9090 */
9191 const client = createTRPCNuxtClient<AppRouter>({
92- transformer: superjson,
9392 links: [
9493 httpBatchLink({
95- url: '/api/trpc'
94+ url: '/api/trpc',
95+ transformer: superjson
9696 })
9797 ]
9898 })
@@ -126,18 +126,18 @@ const hello = await $client.hello.useQuery({ text: 'client' })
126126`
127127
128128const trpc : ModuleConfig = {
129- humanReadableName : 'tRPC 10 ' ,
129+ humanReadableName : 'tRPC' ,
130130 description : 'Build end-to-end typesafe APIs in Nuxt applications. See more: https://trpc.io/' ,
131131 scripts : [ ] ,
132132 dependencies : [
133133 {
134134 name : '@trpc/server' ,
135- version : '^11.5.1 ' ,
135+ version : '^11.6.0 ' ,
136136 isDev : false
137137 } ,
138138 {
139139 name : '@trpc/client' ,
140- version : '^11.5.1 ' ,
140+ version : '^11.6.0 ' ,
141141 isDev : false
142142 } ,
143143 {
You can’t perform that action at this time.
0 commit comments