This fixes#116 by adhering to the newer whatsapp-web.js interface and using 'window.require' instead of 'window.store'
Co-authored-by: nir <nir@severin>
window.Store was removed from whatsapp web. This piece of code was using it still.
I was now getting hit with it once #104 was merged, although I'm not sure why I wasn't earlier.
This might be a bigger issue that needs addressing here, or something that depends on whatsapp web js version
Co-authored-by: nir <nir@severin>