ATL-7138
Fixes issue with sed commands, we have been having some regression issues around how libraries are built.
When wasm-pack builds the output for us, is generates :
if (typeof input === 'undefined') {
input = new URL('anoncreds_bg.wasm', import.meta.url);
}
This peace of code is invalid and should be removed by the build command.
We do this by running sed.
Description:
ATL-7138 Fixes issue with sed commands, we have been having some regression issues around how libraries are built. When wasm-pack builds the output for us, is generates :
This peace of code is invalid and should be removed by the build command. We do this by running sed.
Please follow this article for more information: https://stackoverflow.com/questions/12696125/sed-edit-file-in-place
But we need to run different code depending on where the build is running from.
Checklist: