diff --git a/lib/src/flagsClient.ts b/lib/src/flagsClient.ts index eab36f7..ea9e0c1 100644 --- a/lib/src/flagsClient.ts +++ b/lib/src/flagsClient.ts @@ -43,9 +43,5 @@ export const flagsClient = ( }, }); - return { - isEnabled: (name: string) => client.isEnabled(name), - getVariant: (name: string) => client.getVariant(name), - sendMetrics: () => client.sendMetrics(), - }; + return client; };