@@ -17,10 +17,7 @@ import { TLRUInMemoryAssignmentCache } from '../cache/tlru-in-memory-assignment-
17
17
import ConfigurationRequestor from '../configuration-requestor' ;
18
18
import { ConfigurationManager } from '../configuration-store/configuration-manager' ;
19
19
import { IConfigurationStore , ISyncStore } from '../configuration-store/configuration-store' ;
20
- import {
21
- ConfigurationStoreBundle ,
22
- IConfigurationManager ,
23
- } from '../configuration-store/i-configuration-manager' ;
20
+ import { IConfigurationManager } from '../configuration-store/i-configuration-manager' ;
24
21
import { MemoryOnlyConfigurationStore } from '../configuration-store/memory.store' ;
25
22
import {
26
23
ConfigurationWireV1 ,
@@ -249,15 +246,7 @@ export default class EppoClient {
249
246
this . configurationRequestParameters = configurationRequestParameters ;
250
247
}
251
248
252
- public setConfigurationStores ( configStores : ConfigurationStoreBundle ) {
253
- // Update the configuration manager
254
- this . configurationManager . setConfigurationStores ( configStores ) ;
255
- }
256
-
257
249
// noinspection JSUnusedGlobalSymbols
258
- /**
259
- * @deprecated use `setConfigurationStores` instead
260
- */
261
250
setFlagConfigurationStore ( flagConfigurationStore : IConfigurationStore < Flag | ObfuscatedFlag > ) {
262
251
this . flagConfigurationStore = flagConfigurationStore ;
263
252
this . configObfuscatedCache = undefined ;
@@ -267,9 +256,6 @@ export default class EppoClient {
267
256
}
268
257
269
258
// noinspection JSUnusedGlobalSymbols
270
- /**
271
- * @deprecated use `setConfigurationStores` instead
272
- */
273
259
setBanditVariationConfigurationStore (
274
260
banditVariationConfigurationStore : IConfigurationStore < BanditVariation [ ] > ,
275
261
) {
@@ -280,9 +266,6 @@ export default class EppoClient {
280
266
}
281
267
282
268
// noinspection JSUnusedGlobalSymbols
283
- /**
284
- * @deprecated use `setConfigurationStores` instead
285
- */
286
269
setBanditModelConfigurationStore (
287
270
banditModelConfigurationStore : IConfigurationStore < BanditParameters > ,
288
271
) {
@@ -294,7 +277,7 @@ export default class EppoClient {
294
277
295
278
private innerSetConfigurationStores ( ) {
296
279
// Set the set of configuration stores to those owned by the `this`.
297
- this . setConfigurationStores ( {
280
+ this . configurationManager . setConfigurationStores ( {
298
281
flagConfigurationStore : this . flagConfigurationStore ,
299
282
banditReferenceConfigurationStore : this . banditVariationConfigurationStore ,
300
283
banditConfigurationStore : this . banditModelConfigurationStore ,
0 commit comments