Can't use JSON within classes while using nuxt/stringify bug
[issue link]I initially thought that this error was due to the auth0 package i’m using however they think it’s because of nuxt.
I want to make a class wrapper (with ES6) for the Auth0 SDK I use within my app, like the following:

However I’m getting the error:

I can make an instance of WebAuth fine, it’s just when I define it within the ‘this’ namespace of my class that this fails.
The Auth0 team think it’s how Nuxt serialises JSON.
Any ideas/suggestions?