Skip to content

Commit 93e84f2

Browse files
committed
Export IConfigurationStore properly
1 parent 0ced08d commit 93e84f2

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

js-client-sdk-common.api.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export { constants }
2222

2323
// @public (undocumented)
2424
export class EppoClient implements IEppoClient {
25-
// Warning: (ae-forgotten-export) The symbol "IConfigurationStore" needs to be exported by the entry point index.d.ts
2625
constructor(configurationStore: IConfigurationStore);
2726
// (undocumented)
2827
getAssignment(subjectKey: string, experimentKey: string, subjectAttributes?: {}): string;
@@ -53,6 +52,14 @@ export interface IAssignmentLogger {
5352
logAssignment(assignment: IAssignmentEvent): void;
5453
}
5554

55+
// @public (undocumented)
56+
export interface IConfigurationStore {
57+
// (undocumented)
58+
get<T>(key: string): T;
59+
// (undocumented)
60+
setEntries<T>(entries: Record<string, T>): void;
61+
}
62+
5663
// @public
5764
export interface IEppoClient {
5865
getAssignment(subjectKey: string, experimentKey: string, subjectAttributes?: Record<string, any>): string;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@eppo/js-client-sdk-common",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Eppo SDK for client-side JavaScript applications (base for both web and react native)",
55
"main": "dist/index.js",
66
"files": [

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { IAssignmentLogger } from './assignment-logger';
22
import EppoClient, { IEppoClient } from './client/eppo-client';
3+
import { IConfigurationStore } from './configuration-store';
34
import * as constants from './constants';
45
import ExperimentConfigurationRequestor from './experiment-configuration-requestor';
56
import HttpClient from './http-client';
@@ -13,4 +14,5 @@ export {
1314
ExperimentConfigurationRequestor,
1415
HttpClient,
1516
validation,
17+
IConfigurationStore,
1618
};

0 commit comments

Comments
 (0)