uwuwushiwu
uwuwushiwu
CCConvex Community
Created by uwuwushiwu on 6/18/2024 in #general
Env variables in schema
I see. So im trying to integrate an api via an sdk. the sdk allows you to create a client by doing const sdk = new sdk(process.env.FOO). All other functions using the sdk would be using sdk.Bar(). Whats a pretty way of only having to create a single sdk rather than making a new sdk object every function?
10 replies