I'm trying to update OpenPGP JS from 4.10.1 to the latest. I tried to go through the documentation but couldn't find the replacement of EAX decryption. The tests folder directly imports the EAX module to test (as used here) however on production env, the EAX cannot be imported like that. Here is what I was doing before:
const eax = await window.openpgp.crypto.eax(cipher, key);
let result = await eax.decrypt(encryptedData, nonce, header);
How can I decrypt the same using latest version 5.3?