Skip to content

Commit 6c33c36

Browse files
committed
Tests for the precomputed client
1 parent 50fb1ff commit 6c33c36

9 files changed

+839
-71
lines changed

src/api-endpoints.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import {
44
BANDIT_ENDPOINT,
55
PRECOMPUTED_FLAGS_ENDPOINT,
66
} from './constants';
7-
import { IQueryParams } from './http-client';
7+
import { IQueryParams, IQueryParamsWithSubject } from './http-client';
88

99
interface IApiEndpointsParams {
10-
queryParams?: IQueryParams;
10+
queryParams?: IQueryParams | IQueryParamsWithSubject;
1111
baseUrl?: string;
1212
}
1313

src/assignment-logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface IAssignmentEvent {
5252
/**
5353
* The flag evaluation details
5454
*/
55-
evaluationDetails: IFlagEvaluationDetails;
55+
evaluationDetails: IFlagEvaluationDetails | null;
5656
}
5757

5858
/**

0 commit comments

Comments
 (0)