Events subscribe throws Error

While using the following routine:

fcl.events(eventName).subscribe((event) => {
  console.log(event)
})

I am getting

ReferenceError: getEvents is not defined
    at fcl.module.js:1

If anyone has some fix?
Regards

facing the same issue. Did you find a solution?

Hi @Creator @bearperson Fixes has been merged addressing this issue and can be found here.