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(sdk): update vite config and jest setup, use latest version of @a… #41

Conversation

dtfiedler
Copy link
Collaborator

…r.io/sdk

@dtfiedler dtfiedler requested a review from a team as a code owner July 10, 2024 13:15
Comment on lines -41 to -42
'process.env': process.env,
'process.version': `"${process.version}"`,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nodePolyfills polyfills process

Comment on lines -10 to -12
"^@src/(.*)$": "<rootDir>/src/$1",
"@ar.io/sdk/web": "<rootDir>/node_modules/@ar.io/sdk/lib/cjs/web/index.js",
"warp-contracts": "<rootDir>/node_modules/warp-contracts/lib/cjs/index.js"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jest uses the updated /web export paths provided in the SDK - so these are no longer needed

Copy link

Visit the preview URL for this PR (updated for commit ae4ce02):

https://ar-io-network-portal-a40ee--pr41-ar-io-sdk-fixes-ykvqoczz.web.app

(expires Wed, 24 Jul 2024 13:19:00 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7abfae09c4446982a71cbb94b0cbf4688377a111

@kunstmusik kunstmusik merged commit 22621d6 into PE-6343-upgrade-network-portal-to-use-ar-io-sdk-v-2-0-0 Jul 10, 2024
5 checks passed
@kunstmusik kunstmusik deleted the ar-io-sdk-fixes branch July 10, 2024 13:31
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.

2 participants