Skip to content

Commit

Permalink
Merge branch 'master' into utshaw/fix-onready-segments
Browse files Browse the repository at this point in the history
  • Loading branch information
rafinutshaw-optimizely authored Aug 4, 2023
2 parents 2a9c455 + afaaf60 commit 0473d7c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const default_user: UserInfo = {
attributes: {},
};

export interface ReactSDKClient extends Omit<optimizely.Client, 'createUserContext'> {
export interface ReactSDKClient extends Omit<optimizely.Client, 'createUserContext' | 'getVuid'> {
user: UserInfo;

onReady(opts?: { timeout?: number }): Promise<any>;
Expand Down Expand Up @@ -1210,11 +1210,6 @@ class OptimizelyReactSDKClient implements ReactSDKClient {
return this._client.notificationCenter;
}

// TODO: this is tobe removed in future once the js-sdk gets updated
public getVuid(): string | undefined {
return undefined;
}

public sendOdpEvent(
action: string,
type?: string,
Expand Down

0 comments on commit 0473d7c

Please sign in to comment.