Skip to content

Commit 0bc1681

Browse files
leoromanovskyaarsilv
authored andcommitted
remove underscores
1 parent f21a0b7 commit 0bc1681

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

src/client/eppo-client.ts

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { EppoValue, ValueType } from '../eppo_value';
3030
import ExperimentConfigurationRequestor from '../experiment-configuration-requestor';
3131
import HttpClient from '../http-client';
3232
import { getMD5Hash } from '../obfuscation';
33-
import initPoller, { IPoller, _pollerStats } from '../poller';
33+
import initPoller, { IPoller, pollerStats } from '../poller';
3434
import { findMatchingRule } from '../rule_evaluator';
3535
import { getShard, isShardInRange } from '../shard';
3636
import { validateNotBlank } from '../validation';
@@ -60,9 +60,9 @@ export interface IEppoClient {
6060
): string | null;
6161

6262
// eslint-disable-next-line @typescript-eslint/no-explicit-any
63-
_pollerStats(): any;
63+
pollerStats(): any;
6464

65-
_getStringAssignmentWithReason(
65+
getStringAssignmentWithReason(
6666
subjectKey: string,
6767
flagKey: string,
6868
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -174,11 +174,8 @@ export default class EppoClient implements IEppoClient {
174174
this.configurationRequestParameters = configurationRequestParameters;
175175
}
176176

177-
/**
178-
* @deprecated added for temporary debugging
179-
*/
180-
public _pollerStats() {
181-
return _pollerStats();
177+
public pollerStats() {
178+
return pollerStats();
182179
}
183180

184181
public async fetchFlagConfigurations() {
@@ -283,10 +280,7 @@ export default class EppoClient implements IEppoClient {
283280
}
284281
}
285282

286-
/**
287-
* @deprecated added for temporary debugging
288-
*/
289-
public _getStringAssignmentWithReason(
283+
public getStringAssignmentWithReason(
290284
subjectKey: string,
291285
flagKey: string,
292286
// eslint-disable-next-line @typescript-eslint/no-explicit-any

src/poller.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ let succeededPolls = 0;
1717
const pollDurations: number[] = [];
1818
const failureMessages: string[] = [];
1919

20-
/**
21-
* @deprecated added for temporary debugging
22-
*/
23-
export function _pollerStats() {
20+
export function pollerStats() {
2421
return {
2522
initializations,
2623
attemptedPolls,

0 commit comments

Comments
 (0)