Skip to content

Commit

Permalink
Merge pull request #26 from CookieGMVN/wasm-fix
Browse files Browse the repository at this point in the history
fix: MB changed the way to use WASM.
  • Loading branch information
CookieGMVN authored Aug 22, 2024
2 parents cc2e06a + c9c814c commit b941e61
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/utils/LoadWasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@
/* eslint-disable */
// @ts-nocheck

const window = {
globalThis,
document: {
welovemb: true
}
};

globalThis.window = window;
globalThis.location = new URL("https://online.mbbank.com.vn/pl/login");

const processAsync = (param1, param2, generatorFunction) =>
Expand Down

0 comments on commit b941e61

Please sign in to comment.