File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @eppo/js-client-sdk-common" ,
3
- "version" : " 1.8.0 " ,
3
+ "version" : " 1.8.1 " ,
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 @@ -361,7 +361,7 @@ export default class EppoClient implements IEppoClient {
361
361
let holdoutVariation = null ;
362
362
363
363
const holdoutShard = getShard ( `holdout-${ subjectKey } ` , subjectShards ) ;
364
- const matchingHoldout = holdouts . find ( ( holdout ) => {
364
+ const matchingHoldout = holdouts ? .find ( ( holdout ) => {
365
365
const { statusQuoShardRange, shippedShardRange } = holdout ;
366
366
if ( isShardInRange ( holdoutShard , statusQuoShardRange ) ) {
367
367
assignedVariation = variations . find (
You can’t perform that action at this time.
0 commit comments