File tree Expand file tree Collapse file tree 5 files changed +19
-8
lines changed Expand file tree Collapse file tree 5 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 6
6
7
7
import { IAssignmentEvent } from ' @eppo/js-client-sdk-common' ;
8
8
import { IAssignmentLogger } from ' @eppo/js-client-sdk-common' ;
9
+ import { IBanditEvent } from ' @eppo/js-client-sdk-common' ;
9
10
import { IBanditLogger } from ' @eppo/js-client-sdk-common' ;
10
11
import { IEppoClient } from ' @eppo/js-client-sdk-common' ;
11
12
@@ -16,6 +17,10 @@ export { IAssignmentEvent }
16
17
17
18
export { IAssignmentLogger }
18
19
20
+ export { IBanditEvent }
21
+
22
+ export { IBanditLogger }
23
+
19
24
// @public
20
25
export interface IClientConfig {
21
26
apiKey: string ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @eppo/node-server-sdk" ,
3
- "version" : " 3.1.0 " ,
3
+ "version" : " 3.1.1 " ,
4
4
"description" : " Eppo node server SDK" ,
5
5
"main" : " dist/index.js" ,
6
6
"files" : [
29
29
},
30
30
"homepage" : " https://github.com/Eppo-exp/node-server-sdk#readme" ,
31
31
"dependencies" : {
32
- "@eppo/js-client-sdk-common" : " 3.5 .0" ,
32
+ "@eppo/js-client-sdk-common" : " 3.6 .0" ,
33
33
"lru-cache" : " ^10.0.1"
34
34
},
35
35
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -68,7 +68,12 @@ export interface IClientConfig {
68
68
pollAfterFailedInitialization ?: boolean ;
69
69
}
70
70
71
- export { IAssignmentEvent , IAssignmentLogger } from '@eppo/js-client-sdk-common' ;
71
+ export {
72
+ IAssignmentEvent ,
73
+ IAssignmentLogger ,
74
+ IBanditEvent ,
75
+ IBanditLogger ,
76
+ } from '@eppo/js-client-sdk-common' ;
72
77
73
78
let clientInstance : IEppoClient ;
74
79
Original file line number Diff line number Diff line change @@ -97,7 +97,8 @@ export function validateTestAssignments(
97
97
// the expect works well for objects, but this comparison does not
98
98
if ( assignment !== subject . assignment ) {
99
99
throw new Error (
100
- `subject ${ subject . subjectKey
100
+ `subject ${
101
+ subject . subjectKey
101
102
} was assigned ${ assignment ?. toString ( ) } when expected ${ subject . assignment ?. toString ( ) } for flag ${ flag } `,
102
103
) ;
103
104
}
Original file line number Diff line number Diff line change 460
460
resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz"
461
461
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
462
462
463
- " @eppo/js-client-sdk-common@3.5 .0 " :
464
- version "3.5 .0"
465
- resolved "https://registry.yarnpkg.com/@eppo/js-client-sdk-common/-/js-client-sdk-common-3.5 .0.tgz#456616067a7044707828eea596cf6915d9c21c71 "
466
- integrity sha512-uCzPXRq7Z7Ir8a9XDz0YU3TP5F1vKYtKqXSjRjqViDSBBfbdTkHBNh1zeA3hEdpppjQKZHExbV1Stl0rmNWznw ==
463
+ " @eppo/js-client-sdk-common@3.6 .0 " :
464
+ version "3.6 .0"
465
+ resolved "https://registry.yarnpkg.com/@eppo/js-client-sdk-common/-/js-client-sdk-common-3.6 .0.tgz#b67cff89809f10df8a1b5619c4e6bec701f6d2c8 "
466
+ integrity sha512-9G43xdGUwLJPiwvO6OUTqwFuko6nvD6FgrsCUroRVPQbHrOnWbyylAE8h2vwbxIhSTlLwxS0xRqWO+WEYiWepA ==
467
467
dependencies :
468
468
js-base64 "^3.7.7"
469
469
md5 "^2.3.0"
You can’t perform that action at this time.
0 commit comments