From 1eb79c039dfcde30dd4a279f96b8b903e5b356ff Mon Sep 17 00:00:00 2001 From: Nicklas Lundin Date: Thu, 22 Aug 2024 13:00:26 +0200 Subject: [PATCH] fix!: mark Confidence constructor as internal (#195) --- api/sdk.api.md | 1 + packages/sdk/src/Confidence.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/api/sdk.api.md b/api/sdk.api.md index c99b8fbb..25280b59 100644 --- a/api/sdk.api.md +++ b/api/sdk.api.md @@ -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; diff --git a/packages/sdk/src/Confidence.ts b/packages/sdk/src/Confidence.ts index 0fb344f9..48a190ac 100644 --- a/packages/sdk/src/Confidence.ts +++ b/packages/sdk/src/Confidence.ts @@ -80,6 +80,7 @@ export class Confidence implements EventSender, Trackable, FlagResolver { private readonly flagStateSubject: Subscribe; + /** @internal */ constructor(config: Configuration, parent?: Confidence) { this.config = config; this.parent = parent;