delvtech / hyperdrive-frontend

A monorepo of apps and packages for the Hyperdrive AMM.
https://hyperdrive.box
Apache License 2.0
10 stars 1 forks source link

Add cjs support to the `hyperdrive-wasm` package #1649

Closed sentilesdal closed 1 week ago

sentilesdal commented 1 week ago

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.

vercel[bot] commented 1 week ago

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](https://vercel.com/delvtech/hyperdrive-js/4BJ5uo3BpGjq3RJhTJWuLdKJG3vL)) | | | Nov 13, 2024 9:02pm | | **hyperdrive-mainnet-production** | ⬜️ Ignored ([Inspect](https://vercel.com/delvtech/hyperdrive-mainnet-production/3vJK6fWVc59o3Mbs2dJmMTa1AN7W)) | | | Nov 13, 2024 9:02pm | | **hyperdrive-sepolia-production** | ⬜️ Ignored ([Inspect](https://vercel.com/delvtech/hyperdrive-sepolia-production/uCVT5e4R5J4skVKH3NqpFRLQCPwL)) | | | Nov 13, 2024 9:02pm | | **testnet-v1** | ⬜️ Ignored ([Inspect](https://vercel.com/delvtech/testnet-v1/GEy6kYfH8wG4W8knFvgxbXrjrHp3)) | | | Nov 13, 2024 9:02pm | | **testnet-v1.0.6** | ⬜️ Ignored ([Inspect](https://vercel.com/delvtech/testnet-v1.0.6/2zHxFtT3UmaL1VzwMV3TSZDsmWBx)) | | | Nov 13, 2024 9:02pm | | **trading-competition** | ⬜️ Ignored ([Inspect](https://vercel.com/delvtech/trading-competition/5EFH21tvsgBF3KvEZzR7Q26HxYKh)) | | | Nov 13, 2024 9:02pm |
changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: fc95486ca8a0dce3d545da30c499439e819da6fd

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