I think actually you can pass a function to the to...
# package-development
d
I think actually you can pass a function to the token property (async even) on
.setConfig({})
and simply pass in
config.token
. From the top of my head it's something like this:
Copy code
typescript
client.setConfig({
    // like this
    token: config.token,

    // or maybe like this
    token: () => config.token()
});