Splits the logic of stamping userInfo and context out from applyRawEventData. This is required as the raw event data should only be basic data: timestamp and messageId that can be calculated from the start, the userInfo and context should wait for the initialization to finish
This caused a bug where events triggered at the very start of the app, just before initialization would not contain either userInfo or context
Added tests
Removed info.ts from the build as it is auto generated on build
Splits the logic of stamping
userInfo
andcontext
out fromapplyRawEventData
. This is required as the raw event data should only be basic data:timestamp
andmessageId
that can be calculated from the start, theuserInfo
andcontext
should wait for the initialization to finishuserInfo
orcontext
Removed
info.ts
from the build as it is auto generated on build