@tokens-studio/sdk
Version:
The official SDK for Tokens Studio
11 lines • 378 B
JavaScript
import { create } from '../../api/index.js';
import { getKey } from './api-key.js';
export function createClient(args, config) {
return create({
auth: `Bearer ${getKey()}`,
host: args['--host'] ?? config?.host ?? 'graphql.prod.tokens.studio',
secure: !args['--insecure'],
webSocketImpl: WebSocket,
});
}
//# sourceMappingURL=client.js.map