Skip to content

Commit 9c283aa

Browse files
build(deps): bump @polinetwork/backend
1 parent c34db1b commit 9c283aa

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"dependencies": {
1919
"@hookform/resolvers": "^3.9.1",
20-
"@polinetwork/backend": "^0.5.3",
20+
"@polinetwork/backend": "^0.9.1",
2121
"@radix-ui/react-alert-dialog": "^1.1.3",
2222
"@radix-ui/react-avatar": "^1.1.1",
2323
"@radix-ui/react-collapsible": "^1.1.1",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/trpc/server.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ import { makeQueryClient } from "./query-client";
66
import { createTRPCClient, httpLink } from "@trpc/client";
77
import { TRPC_PATH, type AppRouter } from "@polinetwork/backend";
88
import { getBaseUrl } from "../utils";
9+
import SuperJSON from "superjson";
910

1011
const url = getBaseUrl() + TRPC_PATH;
1112
export const getQueryClient = cache(makeQueryClient);
1213
export const trpc = createTRPCOptionsProxy<AppRouter>({
1314
client: createTRPCClient({
14-
links: [httpLink({ url })],
15+
links: [httpLink({ url, transformer: SuperJSON })],
1516
}),
1617
queryClient: getQueryClient,
1718
});

0 commit comments

Comments
 (0)