Skip to content

Commit b0eff8f

Browse files
authored
fix: renamed-sentry-client-interface (#335)
1 parent d782dfa commit b0eff8f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

flagsmith-core.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
IFlagsmithResponse,
1010
IFlagsmithTrait,
1111
IInitConfig,
12-
ISentry,
12+
ISentryClient,
1313
IState,
1414
ITraits,
1515
LoadingState,
@@ -287,7 +287,7 @@ const Flagsmith = class {
287287
ticks: number|null= null
288288
timer: number|null= null
289289
dtrum= null
290-
sentryClient: ISentry | null = null
290+
sentryClient: ISentryClient | null = null
291291
withTraits?: ITraits|null= null
292292
cacheOptions = {ttl:0, skipAPI: false, loadStale: false, storageKey: undefined as string|undefined}
293293
async init(config: IInitConfig) {

types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export declare type IDatadogRum = {
7777
}
7878

7979

80-
export type ISentry = {
80+
export type ISentryClient = {
8181
getIntegrationByName(name:"FeatureFlags"): {
8282
addFeatureFlag(flag: string, enabled: boolean): void;
8383
} | undefined;

0 commit comments

Comments
 (0)