-
-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hello,
I'm trying to implement wombat wallet but either with nuxt 2 or nuxt 3 i get the error in the title. It can happen from two files:
on wallet-plugin-wombat.js
`} else if (typeof self !== 'undefined') {
ws$1 = self.WebSocket || self.MozWebSocket;
}
var browser$3$1 = ws$1;
browser$3$1.default;
var inherits$d$1;
if (typeof Object.create === 'function'){`
browser$3$1 is undefined
And on protocol-scatter.m.js
`} else if (typeof self !== 'undefined') {
ws = self.WebSocket || self.MozWebSocket;
}
var browser$3 = ws;
browser$3.default;
var inherits$d;
if (typeof Object.create === 'function'){
inherits$d = function inherits(ctor, superCtor) {`
Same browser variable is undefined.
I'm not sure why i get the error, you can check on this nuxt 3 repo https://github.com/Wapaca/waxel_claim_ninjas/tree/add-wombat this branch doesn't work but the master with only anchor and mycloudwallet does.