Description
I'm using bun with sveltekit (svelte 5) and trpc-svelte.
I also want to include this adapter to use tanstack query for svelte.
Main problem is when I'm trying to access data
I'm actually getting this
So data is object which contains json value and this value contains my returned data.
I have uploaded my code so you can familiarise yourself with it:: https://github.com/SashaGoncharov19/database-manager
quick links:
+page.ts: https://github.com/SashaGoncharov19/database-manager/blob/master/src/routes/%2Bpage.ts
+page.svelte: https://github.com/SashaGoncharov19/database-manager/blob/master/src/routes/%2Bpage.svelte
near we have layout files which includes client provider from tanstack
trpc folder: https://github.com/SashaGoncharov19/database-manager/tree/master/src/lib/trpc