Skip to content

Commit f04760d

Browse files
committed
Merge branch 'node-readme-improvements' of github.com:reflagcom/javascript into node-readme-improvements
2 parents 3c9e71b + a5f41d7 commit f04760d

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.changeset/small-monkeys-warn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@reflag/react-sdk": patch
3+
---
4+
5+
Relaxed types for bootstrapping

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: RawFlags;
136+
flags: BrowserRawFlags;
136137
};
137138

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

0 commit comments

Comments
 (0)