Skip to content

Commit

Permalink
Remove implemented getVuid method
Browse files Browse the repository at this point in the history
  • Loading branch information
rafinutshaw-optimizely committed Aug 3, 2023
1 parent 4f4f13d commit cd85e5e
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 @@ -1207,11 +1207,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 cd85e5e

Please sign in to comment.