Skip to content

Commit 382bf6b

Browse files
committed
Use browser RawFlags for bootstrapped payload
1 parent e704387 commit 382bf6b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/react-sdk/src/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
InitOptions,
1818
Logger,
1919
RawFlag,
20+
RawFlags as BrowserRawFlags,
2021
ReflagClient,
2122
ReflagContext,
2223
RequestFeedbackData,
@@ -132,7 +133,7 @@ export type RawFlags = Record<FlagKey, RawFlag>;
132133

133134
export type BootstrappedFlags = {
134135
context: ReflagContext;
135-
flags: Record<string, RawFlag>;
136+
flags: BrowserRawFlags;
136137
};
137138

138139
const SDK_VERSION = `react-sdk/${version}`;

0 commit comments

Comments
 (0)