3 Comments
User's avatar
Femi Orokunle's avatar

Well, of course. The SDK has to handle many different providers plus streaming logic for each, and no doubt zod + the need for deep, reliable type inference (I've never seen a package with that level of inference not come with some hefty bundle sizes) add a lot of weight as well

Expand full comment
Zsolt Ero's avatar

Nah, I rewrote it from scratch, 3 provider specs (covers most providers out there).

It's 1k lines, all-in-all. Types and everything.

The zod part isn't the one making it 186 kB.

Expand full comment
Russell Huang's avatar

Any plans to release that anywhere by any chance?

Expand full comment