emil
TypeError: client[procedureType] is not a function
I used sveltekit so the setup was a bit different and backend was just normal medusa.js node application, the methods are just built like this on the client:
and then that is imported by a the authjs middleware to be used as a custom adapter:
the config.client is just the tRPC
16 replies