Skip to content
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

fix: isomorphic Irys uploader #169

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

JesseTheRobot
Copy link
Contributor

@JesseTheRobot JesseTheRobot commented Mar 3, 2025

This PR aims to resolve known issues with projects like NextJS, where the @irys/upload package is mistakenly imported in client/browser contexts.
This problem is fixed by creating platform-specific export paths, @metaplex-foundation/umi-uploader-irys/node and @metaplex-foundation/umi-uploader-irys/web that can be used to explicitly import the correct version, when systems ignore the browser/module package.json fields.

Copy link

changeset-bot bot commented Mar 3, 2025

🦋 Changeset detected

Latest commit: 90f108e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@metaplex-foundation/umi-uploader-irys Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Mar 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
umi-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 3, 2025 9:43am

@JesseTheRobot JesseTheRobot marked this pull request as ready for review March 3, 2025 09:43
@JesseTheRobot JesseTheRobot changed the title wip: isomorphic Irys uploader fix: isomorphic Irys uploader Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant