I have added the Publisher JS plugin script in my website. I am also using Firebase authentication for my website. After adding the Publisher JS, the authentication stopped working. On further analysis I found that there is an error in console:
This seems to be coming from the Publishe JS plugin's JS. On further analysis, it seems the issue is because the plugin is registering a callback for message event on window. There is no condition checking if the message is coming from your source and other plugins can also trigger this even. In such a case the callb function called from your code is missing and causes error.