Flagsmith / flagsmith-js-client

Javascript Client for Flagsmith. Ship features with confidence using feature flags and remote config. Host yourself or use our hosted version at https://www.flagsmith.com/

Home Page:https://www.flagsmith.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript breaking change in version 1.4.0

mrlubos opened this issue · comments

commented

The version 1.4.0 was meant to add an optional parameter to the identify() method like identify(userId:string, traits?: Record<string, string|number|boolean>), but the actual type is identify(userId:string, traits: Record<string, string|number|boolean>) which leads to compiler crashing when simply upgraded from version 1.3.0

Ah yep, typo on my end should be fixed in 1.4.1