- Added error parameter to request and response event - Dropped error event - Updated typescript indentation