@@ -15,7 +15,7 @@ import {
15
15
StandardResolutionReasons ,
16
16
TypeMismatchError ,
17
17
} from '@openfeature/web-sdk' ;
18
- import { Service } from '../proto/ts/schema/v1/schema_connectweb ' ;
18
+ import { Service } from '../proto/ts/schema/v1/schema_connect ' ;
19
19
import { AnyFlag } from '../proto/ts/schema/v1/schema_pb' ;
20
20
import { FlagdProviderOptions , getOptions } from './options' ;
21
21
@@ -67,23 +67,23 @@ export class FlagdWebProvider implements Provider {
67
67
await this . fetchAll ( newContext ) ;
68
68
}
69
69
70
- async initialize ( context : EvaluationContext ) : Promise < void > {
70
+ async initialize ( ) : Promise < void > {
71
71
await this . retryConnect ( ) ;
72
72
}
73
73
74
- resolveBooleanEvaluation ( flagKey : string , _ : boolean ) : ResolutionDetails < boolean > {
74
+ resolveBooleanEvaluation ( flagKey : string ) : ResolutionDetails < boolean > {
75
75
return this . evaluate ( flagKey , 'boolValue' ) ;
76
76
}
77
77
78
- resolveStringEvaluation ( flagKey : string , _ : string ) : ResolutionDetails < string > {
78
+ resolveStringEvaluation ( flagKey : string ) : ResolutionDetails < string > {
79
79
return this . evaluate ( flagKey , 'stringValue' ) ;
80
80
}
81
81
82
- resolveNumberEvaluation ( flagKey : string , _ : number ) : ResolutionDetails < number > {
82
+ resolveNumberEvaluation ( flagKey : string ) : ResolutionDetails < number > {
83
83
return this . evaluate ( flagKey , 'doubleValue' ) ;
84
84
}
85
85
86
- resolveObjectEvaluation < U extends JsonValue > ( flagKey : string , _ : U ) : ResolutionDetails < U > {
86
+ resolveObjectEvaluation < U extends JsonValue > ( flagKey : string ) : ResolutionDetails < U > {
87
87
return this . evaluate ( flagKey , 'objectValue' ) ;
88
88
}
89
89
0 commit comments