File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @eppo/js-client-sdk-common" ,
3
- "version" : " 3.0.7 " ,
3
+ "version" : " 3.0.8 " ,
4
4
"description" : " Eppo SDK for client-side JavaScript applications (base for both web and react native)" ,
5
5
"main" : " dist/index.js" ,
6
6
"files" : [
Original file line number Diff line number Diff line change @@ -87,6 +87,8 @@ export interface IEppoClient {
87
87
configurationRequestParameters : FlagConfigurationRequestParameters ,
88
88
) : void ;
89
89
90
+ setConfigurationStore ( configurationStore : IConfigurationStore < Flag | ObfuscatedFlag > ) : void ;
91
+
90
92
fetchFlagConfigurations ( ) : void ;
91
93
92
94
stopPolling ( ) : void ;
@@ -140,6 +142,10 @@ export default class EppoClient implements IEppoClient {
140
142
this . configurationRequestParameters = configurationRequestParameters ;
141
143
}
142
144
145
+ public setConfigurationStore ( configurationStore : IConfigurationStore < Flag | ObfuscatedFlag > ) {
146
+ this . configurationStore = configurationStore ;
147
+ }
148
+
143
149
public async fetchFlagConfigurations ( ) {
144
150
if ( ! this . configurationRequestParameters ) {
145
151
throw new Error (
You can’t perform that action at this time.
0 commit comments