@featbit/js-client-sdk 4.2.2 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/IFbClientCore.d.ts +5 -0
- package/dist/esm/IFbClientCore.d.ts.map +1 -1
- package/dist/esm/platform/browser/FbClient.d.ts.map +1 -1
- package/dist/esm/platform/browser/FbClient.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/umd/{featbit-js-client-sdk-4.2.2.js → featbit-js-client-sdk-4.2.3.js} +2 -2
- package/dist/umd/{featbit-js-client-sdk-4.2.2.js.map → featbit-js-client-sdk-4.2.3.js.map} +1 -1
- package/dist/umd/featbit-js-client-sdk.js +1 -1
- package/dist/umd/featbit-js-client-sdk.js.map +1 -1
- package/package.json +1 -1
- package/src/IFbClientCore.ts +6 -0
- package/src/platform/browser/FbClient.ts +1 -0
- package/src/version.ts +1 -1
package/package.json
CHANGED
package/src/IFbClientCore.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { IEvalDetail } from "./evaluation/IEvalDetail";
|
|
|
2
2
|
import { IConvertResult } from "./utils/ValueConverters";
|
|
3
3
|
import { IUser } from "./options";
|
|
4
4
|
import { FlagValue } from "./evaluation";
|
|
5
|
+
import { ILogger } from "./logging";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* The FeatBit SDK client object.
|
|
@@ -289,4 +290,9 @@ export interface IFbClientCore {
|
|
|
289
290
|
* @returns A promise that resolves when the client has been shut down.
|
|
290
291
|
*/
|
|
291
292
|
flush(callback?: (res: boolean) => void): Promise<boolean>;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Expose the logger.
|
|
296
|
+
*/
|
|
297
|
+
logger?: ILogger;
|
|
292
298
|
}
|
|
@@ -8,6 +8,7 @@ import { IEventEmitter } from "../../utils/IEventEmitter";
|
|
|
8
8
|
import { BrowserPlatform } from "./BrowserPlatform";
|
|
9
9
|
import LocalStorageStore from "./LocalStorageStore";
|
|
10
10
|
import { IPlatform } from "../IPlatform";
|
|
11
|
+
import { ILogger } from "../../logging";
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* @ignore
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "4.2.
|
|
1
|
+
export const version = "4.2.3"; export const name = "@featbit/js-client-sdk";
|