jlalmes / trpc-chrome

tRPC adapter for Web Extensions 🧩
https://www.npmjs.com/package/trpc-chrome
MIT License
270 stars 21 forks source link

update README to use the non deprecated createTRPCProxyClient #8

Open jqphu opened 1 year ago

jqphu commented 1 year ago

This change is tiny but I ran into it when checking out the README so thought I'd throw our a PR.

The README uses createTRPCClient which has been deprecated in favor of createTRPCProxyClient. This is the call that is also used in the examples.

For consistency, just switch to the non deprecated function createTRPCProxyClient.