Skip to content

Commit

Permalink
fix!: mark Confidence constructor as internal (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklasl authored Aug 22, 2024
1 parent a35de03 commit 1eb79c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/sdk.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export type Closer = () => void;

// @public
export class Confidence implements EventSender, Trackable, FlagResolver {
// @internal
constructor(config: Configuration, parent?: Confidence);
clearContext(): void;
readonly config: Configuration;
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/src/Confidence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export class Confidence implements EventSender, Trackable, FlagResolver {

private readonly flagStateSubject: Subscribe<State>;

/** @internal */
constructor(config: Configuration, parent?: Confidence) {
this.config = config;
this.parent = parent;
Expand Down

0 comments on commit 1eb79c0

Please sign in to comment.