diff --git a/packages/sdk/browser/src/compat/index.ts b/packages/sdk/browser/src/compat/index.ts index 5ef1113be..73b0052a8 100644 --- a/packages/sdk/browser/src/compat/index.ts +++ b/packages/sdk/browser/src/compat/index.ts @@ -5,10 +5,59 @@ * Some code changes may still be required, for example {@link LDOptions} removes * support for some previously available options. */ -import { LDContext, LDOptions } from '..'; +import { + basicLogger, + EvaluationSeriesContext, + EvaluationSeriesData, + Hook, + HookMetadata, + IdentifySeriesContext, + IdentifySeriesData, + IdentifySeriesResult, + IdentifySeriesStatus, + LDContext, + LDContextCommon, + LDContextMeta, + LDEvaluationDetail, + LDEvaluationDetailTyped, + LDEvaluationReason, + LDFlagSet, + LDIdentifyOptions, + LDLogger, + LDLogLevel, + LDMultiKindContext, + LDOptions, + LDSingleKindContext, +} from '..'; import { LDClient } from './LDClientCompat'; import LDClientCompatImpl from './LDClientCompatImpl'; +export type { + LDClient, + LDFlagSet, + LDContext, + LDContextCommon, + LDContextMeta, + LDMultiKindContext, + LDSingleKindContext, + LDLogLevel, + LDLogger, + LDOptions, + LDEvaluationDetail, + LDEvaluationDetailTyped, + LDEvaluationReason, + LDIdentifyOptions, + Hook, + HookMetadata, + EvaluationSeriesContext, + EvaluationSeriesData, + IdentifySeriesContext, + IdentifySeriesData, + IdentifySeriesResult, + IdentifySeriesStatus, + basicLogger, +}; + /** * Creates an instance of the LaunchDarkly client. This version of initialization is for * improved backwards compatibility. In general the `initialize` function from the root packge