byteball / headless-obyte

Headless Obyte wallet
https://developer.obyte.org
MIT License
26 stars 41 forks source link

Fix window is not defined error #17

Closed achiku closed 6 years ago

achiku commented 6 years ago

Fixes https://github.com/byteball/headless-byteball/issues/16 .

I'm not sure this is the best way to avoid this issue, but it seems like byteballcore/mail.js's window handling needs to be fixed to work with server side nodejs.

https://github.com/byteball/byteballcore/blob/master/mail.js#L8

tonyofbyteball commented 6 years ago

fixed by https://github.com/byteball/byteballcore/commit/894a5b4a519bd9c419e093c7ba2a58a1fdcf05b3#diff-71a51ab03639aa934f293937ab30fb20