Optionalauth?: stringThe API Key to use for authentication. Not needed if using cookies.
Optionalcookies?: RequestCookies[]Optionally pass in an explicit jwt cookie
Optionalfetch?: { A custom fetch implementation. Defaults to the global fetch.
Optionalinit: RequestInitOptionalinit: RequestInitOptionalhost?: stringThe host address without the protocol. Defaults to graphql.prod.tokens.studio
Optionalsecure?: booleanWhether to use a secure connection. Defaults to true.
Optionalweb
Creates an instance of the SDK Client
The webSocketImpl parameter is used to inject a custom WebSocket implementation. This is useful for testing purposes, and handling isomorphic environments.