1 export const isWasmSupported = () => {
3 if (typeof WebAssembly === 'object' && typeof WebAssembly.instantiate === 'function') {
4 const module = new WebAssembly.Module(Uint8Array.of(0x0, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00));
5 if (module instanceof WebAssembly.Module) {
6 return new WebAssembly.Instance(module) instanceof WebAssembly.Instance;
14 export const loadWasmModule = async () => {
15 return import('@proton/andromeda');