File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,18 @@ export class HttpClient {
46
46
get<T >(resource : string ): Promise <T >;
47
47
}
48
48
49
+ // @public
50
+ export interface IAssignmentEvent {
51
+ experiment: string ;
52
+ subject: string ;
53
+ // (undocumented)
54
+ subjectAttributes: Record <string , any >;
55
+ timestamp: string ;
56
+ variation: string ;
57
+ }
58
+
49
59
// @public
50
60
export interface IAssignmentLogger {
51
- // Warning: (ae-forgotten-export) The symbol "IAssignmentEvent" needs to be exported by the entry point index.d.ts
52
61
logAssignment(assignment : IAssignmentEvent ): void ;
53
62
}
54
63
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @eppo/js-client-sdk-common" ,
3
- "version" : " 1.0.3 " ,
3
+ "version" : " 1.0.4 " ,
4
4
"description" : " Eppo SDK for client-side JavaScript applications (base for both web and react native)" ,
5
5
"main" : " dist/index.js" ,
6
6
"files" : [
Original file line number Diff line number Diff line change 1
- import { IAssignmentLogger } from './assignment-logger' ;
1
+ import { IAssignmentLogger , IAssignmentEvent } from './assignment-logger' ;
2
2
import EppoClient , { IEppoClient } from './client/eppo-client' ;
3
3
import { IConfigurationStore } from './configuration-store' ;
4
4
import * as constants from './constants' ;
@@ -8,6 +8,7 @@ import * as validation from './validation';
8
8
9
9
export {
10
10
IAssignmentLogger ,
11
+ IAssignmentEvent ,
11
12
EppoClient ,
12
13
IEppoClient ,
13
14
constants ,
You can’t perform that action at this time.
0 commit comments