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 c6e9dd5 commit c4400e7Copy full SHA for c4400e7
src/client.ts
@@ -338,13 +338,13 @@ class OptimizelyReactSDKClient implements ReactSDKClient {
338
return null;
339
}
340
341
- public async fetchQualifiedSegments(): Promise<boolean> {
+ public async fetchQualifiedSegments(options?: optimizely.OptimizelySegmentOption[]): Promise<boolean> {
342
if (!this.userContext) {
343
logger.warn('Unable to fetch qualified segments for user because Optimizely client failed to initialize.');
344
return false;
345
346
347
- return await this.userContext.fetchQualifiedSegments();
+ return await this.userContext.fetchQualifiedSegments(options);
348
349
350
public setUser(userInfo: UserInfo): void {
0 commit comments