File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
libs/providers/go-feature-flag-web/src/lib Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import { DataCollectorRequest , FeatureEvent , GoFeatureFlagWebProviderOptions } from '../model' ;
22import { CollectorError } from '../errors/collector-error' ;
3- import { Logger } from '@openfeature/web-sdk' ;
43
54export class GoffApiController {
65 // endpoint of your go-feature-flag relay proxy instance
@@ -10,7 +9,7 @@ export class GoffApiController {
109 private readonly timeout : number ;
1110 private options : GoFeatureFlagWebProviderOptions ;
1211
13- constructor ( options : GoFeatureFlagWebProviderOptions , _ ?: Logger ) {
12+ constructor ( options : GoFeatureFlagWebProviderOptions ) {
1413 this . endpoint = options . endpoint ;
1514 this . timeout = options . apiTimeout ?? 0 ;
1615 this . options = options ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export class GoFeatureFlagDataCollectorHook implements Hook {
2525 constructor ( options : GoFeatureFlagWebProviderOptions , logger ?: Logger ) {
2626 this . dataFlushInterval = options . dataFlushInterval || 1000 * 60 ;
2727 this . logger = logger ;
28- this . goffApiController = new GoffApiController ( options , logger ) ;
28+ this . goffApiController = new GoffApiController ( options ) ;
2929 }
3030
3131 init ( ) {
You can’t perform that action at this time.
0 commit comments