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

Add cjs support to the hyperdrive-wasm package #1649

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

sentilesdal
Copy link
Contributor

Hardhat (among other packages) are still using commonjs so if we want to be able to use hyperdrive-wasm with these tool we need to add cjs support. I've added a basic build to the hyperdrive-wasm crate package that gets us both a cjs build and an esm build.

Copy link

vercel bot commented Nov 13, 2024

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

Name Status Preview Comments Updated (UTC)
hyperdrive-mainnet-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 9:02pm
hyperdrive-sepolia-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2024 9:02pm
6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
hyperdrive-js ⬜️ Ignored (Inspect) Nov 13, 2024 9:02pm
hyperdrive-mainnet-production ⬜️ Ignored (Inspect) Nov 13, 2024 9:02pm
hyperdrive-sepolia-production ⬜️ Ignored (Inspect) Nov 13, 2024 9:02pm
testnet-v1 ⬜️ Ignored (Inspect) Nov 13, 2024 9:02pm
testnet-v1.0.6 ⬜️ Ignored (Inspect) Nov 13, 2024 9:02pm
trading-competition ⬜️ Ignored (Inspect) Nov 13, 2024 9:02pm

Copy link

changeset-bot bot commented Nov 13, 2024

🦋 Changeset detected

Latest commit: fc95486

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

This PR includes changesets to release 4 packages
Name Type
@delvtech/hyperdrive-wasm Minor
@delvtech/hyperdrive-js-core Patch
@delvtech/hyperdrive-js Patch
@delvtech/hyperdrive-viem Patch

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

authors = [
"Ryan Goree <[email protected]>",
"Danny Delott <[email protected]>",
"Matt Brown <[email protected]>",
Copy link
Member

Choose a reason for hiding this comment

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

🥳

@sentilesdal sentilesdal merged commit c603599 into main Nov 13, 2024
14 checks passed
@sentilesdal sentilesdal deleted the matt/hyperdrive-wasm-cjs-support branch November 13, 2024 21:03
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