Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @evmts/[email protected] ### Minor Changes - [#398](#398) [`bd4f456`](bd4f456) Thanks [@roninjin10](https://github.com/roninjin10)! - Added install command to install contracts from etherscan ### Patch Changes - Updated dependencies \[[`dbc2da6`](dbc2da6), [`1c4cbd2`](1c4cbd2), [`e99fcd0`](e99fcd0), [`cb83c0c`](cb83c0c)]: - @evmts/[email protected] - @evmts/[email protected] - @evmts/[email protected] ## @evmts/[email protected] ### Minor Changes - [#473](#473) [`9f44e3f`](9f44e3f) Thanks [@roninjin10](https://github.com/roninjin10)! - Added new package @evmts/viem as a new way to wrap viem with evmts functionality # @evmts/viem A [viem](https://viem.sh) extension for integrating viem with EVMts. [Extensions](https://viem.sh/docs/clients/custom.html) allow plugins to decorate viem clients with additional functionality. ## Installation #### npm: ```bash npm install @viem/evmts-extension ``` #### pnpm: ```bash pnpm install @viem/evmts-extension ``` #### bun: ```bash bun install @viem/evmts-extension ``` #### yarn: ```bash yarn add @viem/evmts-extension ``` ## Basic Usage ```typescript import { getContractFromEvmts } from "@evmts/viem"; import { publicClient } from "./client"; const contract = getContractFromEvmts({ evmts: await import("./MyContract.sol"), publicClient, }); // 2. Call contract methods, listen to events, etc. const result = await contract.read.totalSupply(); const unwatch = contract.watchEvent.Transfer( { from: "0xA0Cf798816D4b9b9866b5330EEa46a18382f251e" }, { onLogs(logs) { console.log(logs); }, } ); ``` ## @evmts/[email protected] ### Patch Changes - [#469](#469) [`dbc2da6`](dbc2da6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async - [#466](#466) [`1c4cbd2`](1c4cbd2) Thanks [@roninjin10](https://github.com/roninjin10)! - Updated Bun to use native Bun.file api which is more peformant than using `fs` - [#468](#468) [`e99fcd0`](e99fcd0) Thanks [@roninjin10](https://github.com/roninjin10)! - Improved peformance via using native Bun FS methods - [#468](#468) [`e99fcd0`](e99fcd0) Thanks [@roninjin10](https://github.com/roninjin10)! - Improved peformance of bundler via enabling async mode Previously all bundlers including the Bun bundler ran with syncronous IO such as readFileSync. With the introduction of async mode the bundler now is more non blocking when it is bundling now. Solc is still syncronous but all IO is now async. @evmts/bundler now takes a File-Access-Object as a param. This FileAccessObject is the same shape as `node:fs` module. Bun uses this generic interace to use native Bun file access. - Updated dependencies \[[`dbc2da6`](dbc2da6), [`1c4cbd2`](1c4cbd2), [`e99fcd0`](e99fcd0), [`cb83c0c`](cb83c0c)]: - @evmts/[email protected] - @evmts/[email protected] ## @evmts/[email protected] ### Patch Changes - [#469](#469) [`dbc2da6`](dbc2da6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async - [#466](#466) [`1c4cbd2`](1c4cbd2) Thanks [@roninjin10](https://github.com/roninjin10)! - Updated @evmts/bundler to take a fileAccessObject as a parameter ### Context @evmts/bundler is the internal bundler for all other bundlers and the language server. We changed it to take fileAccessObject as a parameter instead of using `fs` and `fs/promises` ### Impact By taking in a file-access-object instead of using `fs` we can implement important features. - the ability to use virtual files in the typescript lsp before the user saves the file. - the ability to use more peformant bun file read methods - [#468](#468) [`e99fcd0`](e99fcd0) Thanks [@roninjin10](https://github.com/roninjin10)! - Improved peformance of bundler via enabling async mode Previously all bundlers including the Bun bundler ran with syncronous IO such as readFileSync. With the introduction of async mode the bundler now is more non blocking when it is bundling now. Solc is still syncronous but all IO is now async. @evmts/bundler now takes a File-Access-Object as a param. This FileAccessObject is the same shape as `node:fs` module. Bun uses this generic interace to use native Bun file access. - [#475](#475) [`cb83c0c`](cb83c0c) Thanks [@roninjin10](https://github.com/roninjin10)! - Added snapshot test of vite bundler build outputs - Updated dependencies \[[`dbc2da6`](dbc2da6), [`cb83c0c`](cb83c0c)]: - @evmts/[email protected] - @evmts/[email protected] ## @evmts/[email protected] ### Patch Changes - [#469](#469) [`dbc2da6`](dbc2da6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async - [#468](#468) [`e99fcd0`](e99fcd0) Thanks [@roninjin10](https://github.com/roninjin10)! - Improved peformance of bundler via enabling async mode Previously all bundlers including the Bun bundler ran with syncronous IO such as readFileSync. With the introduction of async mode the bundler now is more non blocking when it is bundling now. Solc is still syncronous but all IO is now async. @evmts/bundler now takes a File-Access-Object as a param. This FileAccessObject is the same shape as `node:fs` module. Bun uses this generic interace to use native Bun file access. - Updated dependencies \[[`dbc2da6`](dbc2da6), [`1c4cbd2`](1c4cbd2), [`e99fcd0`](e99fcd0), [`cb83c0c`](cb83c0c)]: - @evmts/[email protected] ## @evmts/[email protected] ### Patch Changes - [#469](#469) [`dbc2da6`](dbc2da6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async - [#468](#468) [`e99fcd0`](e99fcd0) Thanks [@roninjin10](https://github.com/roninjin10)! - Improved peformance of bundler via enabling async mode Previously all bundlers including the Bun bundler ran with syncronous IO such as readFileSync. With the introduction of async mode the bundler now is more non blocking when it is bundling now. Solc is still syncronous but all IO is now async. @evmts/bundler now takes a File-Access-Object as a param. This FileAccessObject is the same shape as `node:fs` module. Bun uses this generic interace to use native Bun file access. - Updated dependencies \[[`dbc2da6`](dbc2da6), [`1c4cbd2`](1c4cbd2), [`e99fcd0`](e99fcd0), [`cb83c0c`](cb83c0c)]: - @evmts/[email protected] ## @evmts/[email protected] ### Patch Changes - [#469](#469) [`dbc2da6`](dbc2da6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async - [#468](#468) [`e99fcd0`](e99fcd0) Thanks [@roninjin10](https://github.com/roninjin10)! - Improved peformance of bundler via enabling async mode Previously all bundlers including the Bun bundler ran with syncronous IO such as readFileSync. With the introduction of async mode the bundler now is more non blocking when it is bundling now. Solc is still syncronous but all IO is now async. @evmts/bundler now takes a File-Access-Object as a param. This FileAccessObject is the same shape as `node:fs` module. Bun uses this generic interace to use native Bun file access. - Updated dependencies \[[`dbc2da6`](dbc2da6), [`1c4cbd2`](1c4cbd2), [`e99fcd0`](e99fcd0), [`cb83c0c`](cb83c0c)]: - @evmts/[email protected] ## @evmts/[email protected] ### Patch Changes - [#469](#469) [`dbc2da6`](dbc2da6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async - [#468](#468) [`e99fcd0`](e99fcd0) Thanks [@roninjin10](https://github.com/roninjin10)! - Improved peformance of bundler via enabling async mode Previously all bundlers including the Bun bundler ran with syncronous IO such as readFileSync. With the introduction of async mode the bundler now is more non blocking when it is bundling now. Solc is still syncronous but all IO is now async. @evmts/bundler now takes a File-Access-Object as a param. This FileAccessObject is the same shape as `node:fs` module. Bun uses this generic interace to use native Bun file access. - [#475](#475) [`cb83c0c`](cb83c0c) Thanks [@roninjin10](https://github.com/roninjin10)! - Added snapshot test of vite bundler build outputs - Updated dependencies \[[`dbc2da6`](dbc2da6), [`1c4cbd2`](1c4cbd2), [`e99fcd0`](e99fcd0), [`cb83c0c`](cb83c0c)]: - @evmts/[email protected] ## @evmts/[email protected] ### Patch Changes - [#469](#469) [`dbc2da6`](dbc2da6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async - [#468](#468) [`e99fcd0`](e99fcd0) Thanks [@roninjin10](https://github.com/roninjin10)! - Improved peformance of bundler via enabling async mode Previously all bundlers including the Bun bundler ran with syncronous IO such as readFileSync. With the introduction of async mode the bundler now is more non blocking when it is bundling now. Solc is still syncronous but all IO is now async. @evmts/bundler now takes a File-Access-Object as a param. This FileAccessObject is the same shape as `node:fs` module. Bun uses this generic interace to use native Bun file access. - Updated dependencies \[[`dbc2da6`](dbc2da6), [`1c4cbd2`](1c4cbd2), [`e99fcd0`](e99fcd0), [`cb83c0c`](cb83c0c)]: - @evmts/[email protected] ## @evmts/[email protected] ### Patch Changes - [#469](#469) [`dbc2da6`](dbc2da6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async - [#475](#475) [`cb83c0c`](cb83c0c) Thanks [@roninjin10](https://github.com/roninjin10)! - Added snapshot test of vite bundler build outputs ## @evmts/[email protected] ### Patch Changes - [#475](#475) [`cb83c0c`](cb83c0c) Thanks [@roninjin10](https://github.com/roninjin10)! - Added snapshot test of vite bundler build outputs ## @evmts/[email protected] ### Patch Changes - Updated dependencies \[[`dbc2da6`](dbc2da6), [`cb83c0c`](cb83c0c)]: - @evmts/[email protected] - @evmts/[email protected] ## @evmts/[email protected] ### Patch Changes - [#466](#466) [`1c4cbd2`](1c4cbd2) Thanks [@roninjin10](https://github.com/roninjin10)! - Updated @evmts/ts-plugin to use LSP to get files Previously EVMts relied on `fs.readFileSync` to implement the LSP. By replacing this with using `typescriptLanguageServer.readFile` we are able to rely on the LSP to get the file instead of the file system In future versions of EVMts when we add a vscode plugin this will make the LSP smart enough to update before the user even clicks `save` - [#418](#418) [`fbf8f49`](fbf8f49) Thanks [@roninjin10](https://github.com/roninjin10)! - Fixed bug with LSP potentially not resolving EVMts correctly in nested node module - Updated dependencies \[[`dbc2da6`](dbc2da6), [`1c4cbd2`](1c4cbd2), [`e99fcd0`](e99fcd0), [`cb83c0c`](cb83c0c)]: - @evmts/[email protected] ## [email protected] ### Patch Changes - Updated dependencies \[[`cb83c0c`](cb83c0c)]: - @evmts/[email protected] - @evmts/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
5574a5d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
evmts-docs – ./
evmts-docs-evmts.vercel.app
evmts-docs-git-main-evmts.vercel.app
evmts.dev