Skip to content

Commit

Permalink
fix: fix imports
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Reining <[email protected]>
  • Loading branch information
lukas-reining committed Jul 21, 2024
1 parent 1fb34fc commit 8ff2466
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { ConfigCatWebProvider } from './config-cat-web-provider';
import { ParseError, FlagNotFoundError, TypeMismatchError } from '@openfeature/core';
import { ProviderEvents } from '@openfeature/server-sdk';
import {
createConsoleLogger,
createFlagOverridesFromMap,
Expand All @@ -10,6 +8,7 @@ import {
OverrideBehaviour,
} from 'configcat-js-ssr';
import { EventEmitter } from 'events';
import { ProviderEvents, ParseError, FlagNotFoundError, TypeMismatchError } from '@openfeature/web-sdk';

describe('ConfigCatWebProvider', () => {
const targetingKey = 'abc';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import {
ProviderEvents,
ProviderNotReadyError,
ResolutionDetails,
TypeMismatchError,
} from '@openfeature/web-sdk';
import { TypeMismatchError } from '@openfeature/core';
import {
isType,
PrimitiveType,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ConfigCatProvider } from './config-cat-provider';
import { FlagNotFoundError, ParseError, TypeMismatchError } from '@openfeature/core';
import { ProviderEvents } from '@openfeature/server-sdk';
import { ProviderEvents, ParseError, FlagNotFoundError, TypeMismatchError } from '@openfeature/web-sdk';
import {
createConsoleLogger,
createFlagOverridesFromMap,
Expand Down
2 changes: 1 addition & 1 deletion libs/providers/config-cat/src/lib/config-cat-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
Provider,
ProviderEvents,
ResolutionDetails,
Paradigm,
ProviderNotReadyError,
TypeMismatchError,
FlagNotFoundError,
Expand All @@ -17,7 +18,6 @@ import {
toResolutionDetails,
transformContext,
} from '@openfeature/config-cat-core';
import { Paradigm } from '@openfeature/web-sdk';
import { PollingMode } from 'configcat-common';
import { IConfigCatClient, getClient, IConfig, OptionsForPollingMode } from 'configcat-node';

Expand Down

0 comments on commit 8ff2466

Please sign in to comment.