Closed xaviergonz closed 6 years ago
When requiring the npm package 'asmcrypto.js' from a browser environment using a bundle (fusebox more specifically) global.Date is not available and therefore global.Date.now fails.
The same code runs without issues on 0.0.11.
Also the new version seems to polyfill window.crypto on the browser, making the native window.crypto.subtle.digest unavailable on chrome.
Fixed with 0.16.0
When requiring the npm package 'asmcrypto.js' from a browser environment using a bundle (fusebox more specifically) global.Date is not available and therefore global.Date.now fails.
The same code runs without issues on 0.0.11.