This patch introduce a breaking change in rrweb-record's API, so we will revert it in 0.7.x and release it in 0.8.