Closed michaeldev5 closed 8 months ago
Hi @michaeldev5.
With the introduction of our new major version 2, we have transitioned away from supporting CJS and now exclusively support ESM. Notably, Polkadot has also adopted ESM as the only option in its latest version, which includes type generation. Polkadot Api
Maintaining compatibility with both CommonJS and ESM has proven to be challenging, leading to various issues. As a result, we've decided to focus solely on ESM to streamline development and enhance overall stability.
If you prefer, you can still utilize version 1 of the SDK, specifically version 1.21.9. However, please be aware that while this version is available, we anticipate potential issues, and we won't introduce new features into version 1 going forward, except for critical patches.
Feel free to reach out if you have any questions or concerns.
Thank you for your help, we have switched the project to ESM only.
Hello,
I am trying to use Mangata SDK but I am running into issues in webpack compilation in my vue.js app. Does your SDK support only ESM modules? Is there a way to make it work for commonJS?
This is the error I am getting:
Appreciate your help. Best regards, Michael.