yass.ts: parameter 'connectFailed' added to function 'connect'