Listening to bit events

When trying to listen to bit events using the info from the docs, it triggers an error from the extension helper.

The snippet I am using is

window.Twitch.ext.listen('channel-bits-events-v1.<channel id>', function(t,c,m) {

Has anyone confirmed this to be working? I am also curious on how to handle listening to sub events as there is no info on where to pass an oAuth token like the pubSub docs show.

We discussed it here: Is there a way to get streamer ID via the JavaScript Helper?

And I can see the same problem with a test I did just now (badauth). No clear way to provide an auth, which you don’t want to do as then the secret/password/auth would be public and the JWT doesn’t handle it either.