We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b7a18a commit f6f245dCopy full SHA for f6f245d
src/sdkClient/sdkClientMethod.ts
@@ -4,12 +4,13 @@ import { RETRIEVE_CLIENT_DEFAULT } from '../logger/constants';
4
import { ISdkFactoryContext } from '../sdkFactory/types';
5
6
/**
7
- * Factory of client method for server-side SDKs (ISDK and IAsyncSDK)
+ * Factory of client method for server-side SDKs
8
*/
9
export function sdkClientMethodFactory(params: ISdkFactoryContext): () => SplitIO.IClient | SplitIO.IAsyncClient {
10
const log = params.settings.log;
11
const clientInstance = sdkClientFactory(params);
12
13
+ // Only one client in server-side without bound key
14
params.clients[''] = clientInstance;
15
16
return function client() {
0 commit comments