-
source code here: https://github.com/xmtp/snap i recently upgraded our SDK for use with a snap and the WASM integration has stopped working. our SDK now includes 2 different ways to access the WASM module via when using the the snap manifest hasn't changed and includes the webassembly endowment. the snap config also includes the experiment wasm support flag. if i attempt to use the for this error, the issue seems to be that i would prefer to use the please advise, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I tried to reproduce using
|
Beta Was this translation helpful? Give feedback.
-
this has been resolved. it was an issue with also, using the thank you to @Mrtenz for help in debugging this issue! |
Beta Was this translation helpful? Give feedback.
this has been resolved. it was an issue with
sideEffects: false
being set inpackage.json
. forwasm-pack
builds using thebundler
option,webpack
will tree-shake necessary code when this option is set.also, using the
web
option inwasm-pack
is not supported due to the use ofimport.meta.url
.thank you to @Mrtenz for help in debugging this issue!