Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastp committed Nov 18, 2023
2 parents 0bd90ed + 9329fe3 commit 53bd17a
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 7 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/next-websockets-starter",
"version": "10.43.3",
"version": "10.43.6",
"private": true,
"engines": {
"node": "^18.15.0"
Expand Down Expand Up @@ -42,10 +42,10 @@
"dependencies": {
"@prisma/client": "^4.14.1",
"@tanstack/react-query": "^4.18.0",
"@trpc/client": "^10.43.3",
"@trpc/next": "^10.43.3",
"@trpc/react-query": "^10.43.3",
"@trpc/server": "^10.43.3",
"@trpc/client": "^10.43.6",
"@trpc/next": "^10.43.6",
"@trpc/react-query": "^10.43.6",
"@trpc/server": "^10.43.6",
"clsx": "^2.0.0",
"next": "^14.0.1",
"next-auth": "^4.22.1",
Expand Down
66 changes: 66 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/server/context.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as trpc from '@trpc/server';
import * as trpcNext from '@trpc/server/adapters/next';
import { NodeHTTPCreateContextFnOptions } from '@trpc/server/adapters/node-http';
import { IncomingMessage } from 'http';
Expand All @@ -23,4 +22,4 @@ export const createContext = async (
};
};

export type Context = trpc.inferAsyncReturnType<typeof createContext>;
export type Context = Awaited<ReturnType<typeof createContext>>;

0 comments on commit 53bd17a

Please sign in to comment.