@togohq/sdk-browser 1.2.0
Version 1.2.0 introduces event ID returns and updates email handling rules
- Browser SDK
Breaking
- The governance wire's
declaredandcontractSha256are nowdefinedanddefinitionSha256;DeclaredEventis nowDefinedEvent.
New
track(),identify(),setPersonProperties()now return theeventIdof the event they queued, orundefinedwhen no event is sent.
Improved
- Session IDs are no longer rejected for resembling emails; diagnostics attach to TEST events only.
Fixed
- The scenario driver's Intl stub now survives a fake clock by using a regular function instead of an arrow function.
Migration
Update governance wire and event types to use 'defined' instead of 'declared'.
(DeclaredEvent, declared, contractSha256);(DefinedEvent, defined, definitionSha256);