Closed damidina closed 1 year ago
@damidina Thanks for calling this issue out. It looks like v1.1.0 had a npm publish
without build assets. I've deployed v1.1.1
with build assets so you should see it working now.
I'll mark this as closed but feel free to re-open if you continue to have issues.
Much appreciated!
Issue:
Unable to build Vite / Astro project with the @code-wallet/elements@1.1.0 SDK. Error:
[commonjs--resolver] Failed to resolve entry for package "@code-wallet/elements". The package may have incorrect main/module/exports specified in its package.json.
Notes:
Included steps to reproduce with Astro + React and with standalone Vite + React project. A different error happens with Create React App from React example in docs https://code-wallet.github.io/code-sdk/docs/example/react-example.html and the steps to reproduce for that error is to follow the docs.
Steps to reproduce with Astro + React:
Steps to Reproduce with Vite + React