This repository was archived by the owner on May 22, 2025. It is now read-only.
Description 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
Follow the example, with webpack
Import the lib
See the crash in the browser.
Errors
Log:
Uncaught TypeError: _output__WEBPACK_IMPORTED_MODULE_2__ is undefined
OutputDiscriminator index.js:21
OutputResponse output-response.ts:20
<anonymous> output-response.ts:23
node_modules chunk-vendors.js:867
Screenshot:
Duplicate declaration
Reactions are currently unavailable
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