If the Tawk APIs are emitting/calling the function you added inside of the callback seems the API is working fine. Where did you get the e? is it a variable that exists in your code file?
I think the library might have a compatibility issue with the latest React version. In React 19 the library no longer seems to fall back to its default props.