diff --git a/.changeset/calm-ads-burn.md b/.changeset/calm-ads-burn.md deleted file mode 100644 index 411356fc22..0000000000 --- a/.changeset/calm-ads-burn.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@evmts/bundler": patch -"@evmts/bun-plugin": patch -"@evmts/config": patch -"@evmts/esbuild-plugin": patch -"@evmts/rollup-plugin": patch -"@evmts/rspack-plugin": patch -"@evmts/vite-plugin": patch -"@evmts/webpack-plugin": patch ---- - -Made @evmts/config loading async diff --git a/.changeset/empty-queens-perform.md b/.changeset/empty-queens-perform.md deleted file mode 100644 index d0fde84f1e..0000000000 --- a/.changeset/empty-queens-perform.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -"@evmts/viem": minor ---- - -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) } } -) -``` diff --git a/.changeset/famous-ravens-tease.md b/.changeset/famous-ravens-tease.md deleted file mode 100644 index 0988a535c6..0000000000 --- a/.changeset/famous-ravens-tease.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@evmts/cli": minor ---- - -Added install command to install contracts from etherscan diff --git a/.changeset/kind-eggs-mate.md b/.changeset/kind-eggs-mate.md deleted file mode 100644 index 76c00b70f7..0000000000 --- a/.changeset/kind-eggs-mate.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@evmts/bundler": patch ---- - -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 - diff --git a/.changeset/lucky-jobs-yell.md b/.changeset/lucky-jobs-yell.md deleted file mode 100644 index 609715f5c0..0000000000 --- a/.changeset/lucky-jobs-yell.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@evmts/ts-plugin": patch ---- - -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` - diff --git a/.changeset/moody-pets-wink.md b/.changeset/moody-pets-wink.md deleted file mode 100644 index 66ac3894e3..0000000000 --- a/.changeset/moody-pets-wink.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@evmts/bun-plugin": patch ---- - -Updated Bun to use native Bun.file api which is more peformant than using `fs` - diff --git a/.changeset/silver-papayas-kick.md b/.changeset/silver-papayas-kick.md deleted file mode 100644 index d4913d6f61..0000000000 --- a/.changeset/silver-papayas-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@evmts/bun-plugin": patch ---- - -Improved peformance via using native Bun FS methods diff --git a/.changeset/silver-starfishes-refuse.md b/.changeset/silver-starfishes-refuse.md deleted file mode 100644 index cc7d016444..0000000000 --- a/.changeset/silver-starfishes-refuse.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@evmts/bundler": patch -"@evmts/esbuild-plugin": patch -"@evmts/webpack-plugin": patch -"@evmts/rollup-plugin": patch -"@evmts/rspack-plugin": patch -"@evmts/vite-plugin": patch -"@evmts/bun-plugin": patch ---- - -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. - diff --git a/.changeset/slow-files-stare.md b/.changeset/slow-files-stare.md deleted file mode 100644 index 5d50eee489..0000000000 --- a/.changeset/slow-files-stare.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@evmts/bundler": patch -"@evmts/vite-plugin": patch -"@evmts/config": patch -"@evmts/core": patch ---- - -Added snapshot test of vite bundler build outputs diff --git a/.changeset/thin-fans-wink.md b/.changeset/thin-fans-wink.md deleted file mode 100644 index b7933a8e24..0000000000 --- a/.changeset/thin-fans-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@evmts/ts-plugin": patch ---- - -Fixed bug with LSP potentially not resolving EVMts correctly in nested node module diff --git a/bundlers/bun/CHANGELOG.md b/bundlers/bun/CHANGELOG.md index be49e555df..9198e1cd7d 100644 --- a/bundlers/bun/CHANGELOG.md +++ b/bundlers/bun/CHANGELOG.md @@ -1,5 +1,25 @@ # @evmts/bun-plugin +## 0.10.0 + +### Patch Changes + +- [#469](https://github.com/evmts/evmts-monorepo/pull/469) [`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async + +- [#466](https://github.com/evmts/evmts-monorepo/pull/466) [`1c4cbd2`](https://github.com/evmts/evmts-monorepo/commit/1c4cbd2b87abd1c2174fb0d2e7a684367e074440) Thanks [@roninjin10](https://github.com/roninjin10)! - Updated Bun to use native Bun.file api which is more peformant than using `fs` + +- [#468](https://github.com/evmts/evmts-monorepo/pull/468) [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30) Thanks [@roninjin10](https://github.com/roninjin10)! - Improved peformance via using native Bun FS methods + +- [#468](https://github.com/evmts/evmts-monorepo/pull/468) [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30) 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`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6), [`1c4cbd2`](https://github.com/evmts/evmts-monorepo/commit/1c4cbd2b87abd1c2174fb0d2e7a684367e074440), [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30), [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e)]: + - @evmts/bundler@0.10.0 + - @evmts/config@0.10.0 + ## 0.9.0 ### Minor Changes diff --git a/bundlers/bun/package.json b/bundlers/bun/package.json index 562de7ca08..c3f30e9899 100644 --- a/bundlers/bun/package.json +++ b/bundlers/bun/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/bun-plugin", - "version": "0.9.0", + "version": "0.10.0", "private": false, "description": "A bun plugin for evmts", "contributors": [ @@ -45,7 +45,7 @@ }, "dependencies": { "@evmts/bundler": "workspace:^", - "@evmts/config": "^0.9.0" + "@evmts/config": "^0.10.0" }, "devDependencies": { "@evmts/core": "workspace:^", diff --git a/bundlers/bundler/CHANGELOG.md b/bundlers/bundler/CHANGELOG.md index 62c5b05a87..3caac5539b 100644 --- a/bundlers/bundler/CHANGELOG.md +++ b/bundlers/bundler/CHANGELOG.md @@ -1,5 +1,36 @@ # @evmts/core +## 0.10.0 + +### Patch Changes + +- [#469](https://github.com/evmts/evmts-monorepo/pull/469) [`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async + +- [#466](https://github.com/evmts/evmts-monorepo/pull/466) [`1c4cbd2`](https://github.com/evmts/evmts-monorepo/commit/1c4cbd2b87abd1c2174fb0d2e7a684367e074440) 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](https://github.com/evmts/evmts-monorepo/pull/468) [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30) 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](https://github.com/evmts/evmts-monorepo/pull/475) [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e) Thanks [@roninjin10](https://github.com/roninjin10)! - Added snapshot test of vite bundler build outputs + +- Updated dependencies [[`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6), [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e)]: + - @evmts/config@0.10.0 + - @evmts/core@0.10.0 + ## 0.9.0 ### Patch Changes diff --git a/bundlers/bundler/package.json b/bundlers/bundler/package.json index 13cb151d56..f3d9192851 100644 --- a/bundlers/bundler/package.json +++ b/bundlers/bundler/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/bundler", - "version": "0.9.0", + "version": "0.10.0", "private": false, "description": "Internal bundler for Evmts", "keywords": [ diff --git a/bundlers/esbuild/CHANGELOG.md b/bundlers/esbuild/CHANGELOG.md index fbb612bd73..cc13823f81 100644 --- a/bundlers/esbuild/CHANGELOG.md +++ b/bundlers/esbuild/CHANGELOG.md @@ -1,5 +1,20 @@ # @evmts/plugin +## 0.10.0 + +### Patch Changes + +- [#469](https://github.com/evmts/evmts-monorepo/pull/469) [`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async + +- [#468](https://github.com/evmts/evmts-monorepo/pull/468) [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30) 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`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6), [`1c4cbd2`](https://github.com/evmts/evmts-monorepo/commit/1c4cbd2b87abd1c2174fb0d2e7a684367e074440), [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30), [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e)]: + - @evmts/bundler@0.10.0 + ## 0.9.0 ### Patch Changes diff --git a/bundlers/esbuild/package.json b/bundlers/esbuild/package.json index 16adb25e4e..bb85e79d43 100644 --- a/bundlers/esbuild/package.json +++ b/bundlers/esbuild/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/esbuild-plugin", - "version": "0.9.0", + "version": "0.10.0", "contributors": [ "Will Cory " ], diff --git a/bundlers/rollup/CHANGELOG.md b/bundlers/rollup/CHANGELOG.md index 757aca15e5..0f69d0c3bd 100644 --- a/bundlers/rollup/CHANGELOG.md +++ b/bundlers/rollup/CHANGELOG.md @@ -1,5 +1,20 @@ # @evmts/plugin +## 0.10.0 + +### Patch Changes + +- [#469](https://github.com/evmts/evmts-monorepo/pull/469) [`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async + +- [#468](https://github.com/evmts/evmts-monorepo/pull/468) [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30) 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`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6), [`1c4cbd2`](https://github.com/evmts/evmts-monorepo/commit/1c4cbd2b87abd1c2174fb0d2e7a684367e074440), [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30), [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e)]: + - @evmts/bundler@0.10.0 + ## 0.9.0 ### Patch Changes diff --git a/bundlers/rollup/package.json b/bundlers/rollup/package.json index c0129dc9af..d01504dd49 100644 --- a/bundlers/rollup/package.json +++ b/bundlers/rollup/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/rollup-plugin", - "version": "0.9.0", + "version": "0.10.0", "contributors": [ "Will Cory " ], diff --git a/bundlers/rspack/CHANGELOG.md b/bundlers/rspack/CHANGELOG.md index c4d790c052..dc2e1c54d2 100644 --- a/bundlers/rspack/CHANGELOG.md +++ b/bundlers/rspack/CHANGELOG.md @@ -1,5 +1,20 @@ # @evmts/plugin +## 0.10.0 + +### Patch Changes + +- [#469](https://github.com/evmts/evmts-monorepo/pull/469) [`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async + +- [#468](https://github.com/evmts/evmts-monorepo/pull/468) [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30) 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`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6), [`1c4cbd2`](https://github.com/evmts/evmts-monorepo/commit/1c4cbd2b87abd1c2174fb0d2e7a684367e074440), [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30), [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e)]: + - @evmts/bundler@0.10.0 + ## 0.9.0 ### Patch Changes diff --git a/bundlers/rspack/package.json b/bundlers/rspack/package.json index 7a78596db4..0e1cfff829 100644 --- a/bundlers/rspack/package.json +++ b/bundlers/rspack/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/rspack-plugin", - "version": "0.9.0", + "version": "0.10.0", "private": false, "contributors": [ "Will Cory " diff --git a/bundlers/vite/CHANGELOG.md b/bundlers/vite/CHANGELOG.md index 985e0b3189..ce4c98ff47 100644 --- a/bundlers/vite/CHANGELOG.md +++ b/bundlers/vite/CHANGELOG.md @@ -1,5 +1,22 @@ # @evmts/plugin +## 0.10.0 + +### Patch Changes + +- [#469](https://github.com/evmts/evmts-monorepo/pull/469) [`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async + +- [#468](https://github.com/evmts/evmts-monorepo/pull/468) [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30) 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](https://github.com/evmts/evmts-monorepo/pull/475) [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e) Thanks [@roninjin10](https://github.com/roninjin10)! - Added snapshot test of vite bundler build outputs + +- Updated dependencies [[`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6), [`1c4cbd2`](https://github.com/evmts/evmts-monorepo/commit/1c4cbd2b87abd1c2174fb0d2e7a684367e074440), [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30), [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e)]: + - @evmts/bundler@0.10.0 + ## 0.9.0 ### Patch Changes diff --git a/bundlers/vite/package.json b/bundlers/vite/package.json index b9663457a4..8bf697fded 100644 --- a/bundlers/vite/package.json +++ b/bundlers/vite/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/vite-plugin", - "version": "0.9.0", + "version": "0.10.0", "private": false, "contributors": [ "Will Cory " diff --git a/bundlers/webpack/CHANGELOG.md b/bundlers/webpack/CHANGELOG.md index c4d790c052..dc2e1c54d2 100644 --- a/bundlers/webpack/CHANGELOG.md +++ b/bundlers/webpack/CHANGELOG.md @@ -1,5 +1,20 @@ # @evmts/plugin +## 0.10.0 + +### Patch Changes + +- [#469](https://github.com/evmts/evmts-monorepo/pull/469) [`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async + +- [#468](https://github.com/evmts/evmts-monorepo/pull/468) [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30) 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`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6), [`1c4cbd2`](https://github.com/evmts/evmts-monorepo/commit/1c4cbd2b87abd1c2174fb0d2e7a684367e074440), [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30), [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e)]: + - @evmts/bundler@0.10.0 + ## 0.9.0 ### Patch Changes diff --git a/bundlers/webpack/package.json b/bundlers/webpack/package.json index 6ef7574ae4..506bd597b6 100644 --- a/bundlers/webpack/package.json +++ b/bundlers/webpack/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/webpack-plugin", - "version": "0.9.0", + "version": "0.10.0", "private": false, "description": "A webpack plugin for evmts", "contributors": [ diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index c87daa3f3d..104290d7ba 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -1,5 +1,18 @@ # @evmts/cli +## 0.10.0 + +### Minor Changes + +- [#398](https://github.com/evmts/evmts-monorepo/pull/398) [`bd4f456`](https://github.com/evmts/evmts-monorepo/commit/bd4f4563e1c6f3203df5d8042a30082f7f739f68) Thanks [@roninjin10](https://github.com/roninjin10)! - Added install command to install contracts from etherscan + +### Patch Changes + +- Updated dependencies [[`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6), [`1c4cbd2`](https://github.com/evmts/evmts-monorepo/commit/1c4cbd2b87abd1c2174fb0d2e7a684367e074440), [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30), [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e)]: + - @evmts/bundler@0.10.0 + - @evmts/config@0.10.0 + - @evmts/core@0.10.0 + ## 0.9.0 ### Patch Changes diff --git a/cli/package.json b/cli/package.json index 41ba359c97..8801d5e076 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/cli", - "version": "0.9.0", + "version": "0.10.0", "private": false, "description": "Cli commands for Evmts", "keywords": [ diff --git a/config/CHANGELOG.md b/config/CHANGELOG.md index c8622cb96c..2e65388d13 100644 --- a/config/CHANGELOG.md +++ b/config/CHANGELOG.md @@ -1,5 +1,13 @@ # @evmts/core +## 0.10.0 + +### Patch Changes + +- [#469](https://github.com/evmts/evmts-monorepo/pull/469) [`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6) Thanks [@roninjin10](https://github.com/roninjin10)! - Made @evmts/config loading async + +- [#475](https://github.com/evmts/evmts-monorepo/pull/475) [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e) Thanks [@roninjin10](https://github.com/roninjin10)! - Added snapshot test of vite bundler build outputs + ## 0.9.0 ### Patch Changes diff --git a/config/package.json b/config/package.json index bd5f02c24a..686c1c9ae3 100644 --- a/config/package.json +++ b/config/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/config", - "version": "0.9.0", + "version": "0.10.0", "private": false, "description": "Manages config for evmts", "keywords": [ diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index be341babec..07048f0b2e 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -1,5 +1,11 @@ # @evmts/core +## 0.10.0 + +### Patch Changes + +- [#475](https://github.com/evmts/evmts-monorepo/pull/475) [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e) Thanks [@roninjin10](https://github.com/roninjin10)! - Added snapshot test of vite bundler build outputs + ## 0.8.1 ### Patch Changes diff --git a/core/package.json b/core/package.json index 2c593af172..73fe60b3e8 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/core", - "version": "0.8.1", + "version": "0.10.0", "private": false, "description": "A typesafe library for writing forge scripts in typescript", "keywords": [ diff --git a/examples/bun/package.json b/examples/bun/package.json index b057b4afa0..9a23d886b9 100644 --- a/examples/bun/package.json +++ b/examples/bun/package.json @@ -10,7 +10,7 @@ "test": "bun test" }, "dependencies": { - "@evmts/core": "^0.8.0", + "@evmts/core": "^0.10.0", "bun-types": "^0.8.1", "viem": "^1.2.12" }, diff --git a/examples/esbuild/package.json b/examples/esbuild/package.json index 17eee202ae..0169a289fe 100644 --- a/examples/esbuild/package.json +++ b/examples/esbuild/package.json @@ -15,7 +15,7 @@ "test:ui": "vitest --ui" }, "dependencies": { - "@evmts/core": "^0.8.1", + "@evmts/core": "^0.10.0", "viem": "^1.2.12" }, "devDependencies": { diff --git a/examples/next/package.json b/examples/next/package.json index a711f29abf..0511fa2a74 100644 --- a/examples/next/package.json +++ b/examples/next/package.json @@ -13,7 +13,7 @@ "start": "next start" }, "dependencies": { - "@evmts/core": "^0.8.1", + "@evmts/core": "^0.10.0", "@rainbow-me/rainbowkit": "^1.0.5", "next": "^13.4.9", "react": "^18.2.0", @@ -22,9 +22,9 @@ "wagmi": "~1.3.8" }, "devDependencies": { - "@evmts/config": "^0.9.0", - "@evmts/ts-plugin": "^0.9.0", - "@evmts/webpack-plugin": "^0.9.0", + "@evmts/config": "^0.10.0", + "@evmts/ts-plugin": "^0.10.0", + "@evmts/webpack-plugin": "^0.10.0", "@openzeppelin/contracts": "^4.9.2", "@types/node": "^20.4.1", "@types/react": "^18.2.14", diff --git a/examples/svelte-ethers/CHANGELOG.md b/examples/svelte-ethers/CHANGELOG.md index 10f2080e06..e19ec97182 100644 --- a/examples/svelte-ethers/CHANGELOG.md +++ b/examples/svelte-ethers/CHANGELOG.md @@ -1,5 +1,13 @@ # svelte-ethers +## 0.1.3 + +### Patch Changes + +- Updated dependencies [[`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e)]: + - @evmts/core@0.10.0 + - @evmts/ethers@0.8.1 + ## 0.1.2 ### Patch Changes diff --git a/examples/svelte-ethers/package.json b/examples/svelte-ethers/package.json index 84361b1e6d..b0040612a6 100644 --- a/examples/svelte-ethers/package.json +++ b/examples/svelte-ethers/package.json @@ -1,6 +1,6 @@ { "name": "svelte-ethers", - "version": "0.1.2", + "version": "0.1.3", "private": true, "type": "module", "scripts": { diff --git a/examples/vite/package.json b/examples/vite/package.json index f4407023ed..b5d87aa434 100644 --- a/examples/vite/package.json +++ b/examples/vite/package.json @@ -32,7 +32,7 @@ "@evmts/cli": "workspace:^", "@evmts/config": "workspace:^", "@evmts/contracts": "^0.0.1", - "@evmts/core": "workspace:^0.8.1", + "@evmts/core": "workspace:^0.10.0", "@rainbow-me/rainbowkit": "^1.0.9", "buffer": "^6.0.3", "ds-test": "github:dapphub/ds-test", diff --git a/experimental/solc/CHANGELOG.md b/experimental/solc/CHANGELOG.md index af7614292f..81b8fcb0b4 100644 --- a/experimental/solc/CHANGELOG.md +++ b/experimental/solc/CHANGELOG.md @@ -1,5 +1,13 @@ # @evmts/core +## 0.10.0 + +### Patch Changes + +- Updated dependencies [[`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6), [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e)]: + - @evmts/config@0.10.0 + - @evmts/core@0.10.0 + ## 0.7.1 ### Patch Changes diff --git a/experimental/solc/package.json b/experimental/solc/package.json index 78c4cd9661..a2a862f035 100644 --- a/experimental/solc/package.json +++ b/experimental/solc/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/experimental-solc", - "version": "0.7.1", + "version": "0.10.0", "private": false, "description": "Experimental wrapper around solc", "keywords": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 19dd53aa4a..d191fd87e7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: '6.0' +lockfileVersion: '6.1' settings: autoInstallPeers: true @@ -49,7 +49,7 @@ importers: specifier: workspace:^ version: link:../bundler '@evmts/config': - specifier: ^0.9.0 + specifier: ^0.10.0 version: link:../../config devDependencies: '@evmts/core': @@ -503,7 +503,7 @@ importers: examples/bun: dependencies: '@evmts/core': - specifier: ^0.8.0 + specifier: ^0.10.0 version: link:../../core bun-types: specifier: ^0.8.1 @@ -543,7 +543,7 @@ importers: examples/esbuild: dependencies: '@evmts/core': - specifier: ^0.8.1 + specifier: ^0.10.0 version: link:../../core viem: specifier: ^1.2.12 @@ -625,7 +625,7 @@ importers: examples/next: dependencies: '@evmts/core': - specifier: ^0.8.1 + specifier: ^0.10.0 version: link:../../core '@rainbow-me/rainbowkit': specifier: ^1.0.5 @@ -647,13 +647,13 @@ importers: version: 1.3.8(react-dom@18.2.0)(react@18.2.0)(typescript@5.1.6)(viem@1.2.11) devDependencies: '@evmts/config': - specifier: ^0.9.0 + specifier: ^0.10.0 version: link:../../config '@evmts/ts-plugin': - specifier: ^0.9.0 + specifier: ^0.10.0 version: link:../../ts-plugin '@evmts/webpack-plugin': - specifier: ^0.9.0 + specifier: ^0.10.0 version: link:../../bundlers/webpack '@openzeppelin/contracts': specifier: ^4.9.2 @@ -741,7 +741,7 @@ importers: specifier: ^0.0.1 version: 0.0.1(@types/node@20.6.2)(ethers@5.7.2)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) '@evmts/core': - specifier: workspace:^0.8.1 + specifier: workspace:^0.10.0 version: link:../../core '@rainbow-me/rainbowkit': specifier: ^1.0.9 @@ -794,7 +794,7 @@ importers: version: 4.0.4(vite@4.4.9) abitype: specifier: ^0.9.8 - version: 0.9.8(typescript@5.2.2)(zod@3.22.2) + version: 0.9.8(typescript@5.1.6)(zod@3.21.4) forge-deploy: specifier: ^0.2.0 version: 0.2.0 @@ -7214,7 +7214,6 @@ packages: optional: true dependencies: typescript: 5.1.6 - dev: true /@wagmi/chains@1.7.0(typescript@5.2.2): resolution: {integrity: sha512-TKVeHv0GqP5sV1yQ8BDGYToAFezPnCexbbBpeH14x7ywi5a1dDStPffpt9x+ytE6LJWkZ6pAMs/HNWXBQ5Nqmw==} @@ -7320,42 +7319,6 @@ packages: - zod dev: false - /@wagmi/connectors@2.6.6(@wagmi/chains@1.5.0)(react@18.2.0)(typescript@5.1.6)(viem@1.2.11): - resolution: {integrity: sha512-/o1c/TCivQs8DOAUOcQvY2UIt3p2mWOAHi39D0LC74+ncpXzLC5/gyaWU38qnTxPM8s/PmTmaWDgz+VhICXrag==} - peerDependencies: - '@wagmi/chains': '>=1.3.0' - typescript: '>=5.0.4' - viem: '>=0.3.35' - peerDependenciesMeta: - '@wagmi/chains': - optional: true - typescript: - optional: true - dependencies: - '@coinbase/wallet-sdk': 3.7.1 - '@ledgerhq/connect-kit-loader': 1.1.0 - '@safe-global/safe-apps-provider': 0.17.1(typescript@5.1.6)(zod@3.21.4) - '@safe-global/safe-apps-sdk': 8.0.0(typescript@5.1.6)(zod@3.21.4) - '@wagmi/chains': 1.5.0(typescript@5.1.6) - '@walletconnect/ethereum-provider': 2.9.0(@walletconnect/modal@2.5.9) - '@walletconnect/legacy-provider': 2.0.0 - '@walletconnect/modal': 2.5.9(react@18.2.0) - '@walletconnect/utils': 2.9.0 - abitype: 0.8.7(typescript@5.1.6)(zod@3.21.4) - eventemitter3: 4.0.7 - typescript: 5.1.6 - viem: 1.2.11(typescript@5.1.6) - transitivePeerDependencies: - - '@react-native-async-storage/async-storage' - - bufferutil - - encoding - - lokijs - - react - - supports-color - - utf-8-validate - - zod - dev: false - /@wagmi/connectors@2.6.6(@wagmi/chains@1.6.0)(react@18.2.0)(typescript@5.1.6)(viem@1.10.14)(zod@3.21.4): resolution: {integrity: sha512-/o1c/TCivQs8DOAUOcQvY2UIt3p2mWOAHi39D0LC74+ncpXzLC5/gyaWU38qnTxPM8s/PmTmaWDgz+VhICXrag==} peerDependencies: @@ -7390,7 +7353,6 @@ packages: - supports-color - utf-8-validate - zod - dev: true /@wagmi/connectors@3.0.0(@wagmi/chains@1.8.0)(react@18.2.0)(typescript@5.2.2)(viem@1.10.14)(zod@3.22.2): resolution: {integrity: sha512-phHrd4dKctynlh7eRefsaWuh2NF9T24tkLmUHctJeZg/tPzvw+sRFy0XlP7kLw/kwKArn2oSvck7iFemvMeLoQ==} @@ -7428,42 +7390,6 @@ packages: - zod dev: true - /@wagmi/connectors@3.0.0(@wagmi/chains@1.8.0)(react@18.2.0)(typescript@5.2.2)(viem@1.8.1): - resolution: {integrity: sha512-phHrd4dKctynlh7eRefsaWuh2NF9T24tkLmUHctJeZg/tPzvw+sRFy0XlP7kLw/kwKArn2oSvck7iFemvMeLoQ==} - peerDependencies: - '@wagmi/chains': '>=1.8.0' - typescript: '>=5.0.4' - viem: '>=0.3.35' - peerDependenciesMeta: - '@wagmi/chains': - optional: true - typescript: - optional: true - dependencies: - '@coinbase/wallet-sdk': 3.7.1 - '@ledgerhq/connect-kit-loader': 1.1.0 - '@safe-global/safe-apps-provider': 0.17.1(typescript@5.2.2)(zod@3.22.2) - '@safe-global/safe-apps-sdk': 8.0.0(typescript@5.2.2)(zod@3.22.2) - '@wagmi/chains': 1.8.0(typescript@5.2.2) - '@walletconnect/ethereum-provider': 2.10.0(@walletconnect/modal@2.6.1) - '@walletconnect/legacy-provider': 2.0.0 - '@walletconnect/modal': 2.6.1(react@18.2.0) - '@walletconnect/utils': 2.10.0 - abitype: 0.8.7(typescript@5.2.2)(zod@3.22.2) - eventemitter3: 4.0.7 - typescript: 5.2.2 - viem: 1.8.1(typescript@5.2.2)(zod@3.22.2) - transitivePeerDependencies: - - '@react-native-async-storage/async-storage' - - bufferutil - - encoding - - lokijs - - react - - supports-color - - utf-8-validate - - zod - dev: false - /@wagmi/connectors@3.0.0(@wagmi/chains@1.8.0)(react@18.2.0)(typescript@5.2.2)(viem@1.8.1)(zod@3.22.2): resolution: {integrity: sha512-phHrd4dKctynlh7eRefsaWuh2NF9T24tkLmUHctJeZg/tPzvw+sRFy0XlP7kLw/kwKArn2oSvck7iFemvMeLoQ==} peerDependencies: @@ -7498,7 +7424,6 @@ packages: - supports-color - utf-8-validate - zod - dev: true /@wagmi/core@0.9.7(@types/node@20.6.2)(ethers@5.7.2)(react@18.2.0)(typescript@5.2.2): resolution: {integrity: sha512-9NYoxpEM+sYAv0Jg3DvMbWTnJguPwiqs61382ATU5dqMsYF1v17ngg6S15gg8oIv9Y7nYrLsiFsQ9qkNYzKlJA==} @@ -7560,34 +7485,6 @@ packages: - zod dev: true - /@wagmi/core@1.3.10(react@18.2.0)(typescript@5.2.2)(viem@1.8.1): - resolution: {integrity: sha512-sJ+nTUppsEkJqZ6gwM4PK6yNlD/CsT4ejRXbad2RoM9fuNDHzZIUA9g+7b0BpgTpyXDYbjk0vBUXHUFMSlmyIA==} - peerDependencies: - typescript: '>=5.0.4' - viem: '>=0.3.35' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@wagmi/chains': 1.8.0(typescript@5.2.2) - '@wagmi/connectors': 3.0.0(@wagmi/chains@1.8.0)(react@18.2.0)(typescript@5.2.2)(viem@1.8.1) - abitype: 0.8.7(typescript@5.2.2)(zod@3.22.2) - eventemitter3: 4.0.7 - typescript: 5.2.2 - viem: 1.8.1(typescript@5.2.2)(zod@3.22.2) - zustand: 4.3.9(react@18.2.0) - transitivePeerDependencies: - - '@react-native-async-storage/async-storage' - - bufferutil - - encoding - - immer - - lokijs - - react - - supports-color - - utf-8-validate - - zod - dev: false - /@wagmi/core@1.3.10(react@18.2.0)(typescript@5.2.2)(viem@1.8.1)(zod@3.22.2): resolution: {integrity: sha512-sJ+nTUppsEkJqZ6gwM4PK6yNlD/CsT4ejRXbad2RoM9fuNDHzZIUA9g+7b0BpgTpyXDYbjk0vBUXHUFMSlmyIA==} peerDependencies: @@ -7614,7 +7511,6 @@ packages: - supports-color - utf-8-validate - zod - dev: true /@wagmi/core@1.3.7(react@18.2.0)(typescript@5.1.6)(viem@1.2.11): resolution: {integrity: sha512-ens31RwICdrbRanNYwlJs0DAw/LOqUPQm6qXsmEciOENT4w+7pC959LXU9xfaOADWVMekeLDmRqAGCszTNIXAg==} @@ -7626,7 +7522,7 @@ packages: optional: true dependencies: '@wagmi/chains': 1.5.0(typescript@5.1.6) - '@wagmi/connectors': 2.6.6(@wagmi/chains@1.5.0)(react@18.2.0)(typescript@5.1.6)(viem@1.2.11) + '@wagmi/connectors': 2.6.6(@wagmi/chains@1.6.0)(react@18.2.0)(typescript@5.1.6)(viem@1.10.14)(zod@3.21.4) abitype: 0.8.7(typescript@5.1.6)(zod@3.21.4) eventemitter3: 4.0.7 typescript: 5.1.6 @@ -9349,6 +9245,7 @@ packages: get-intrinsic: 1.2.1 is-array-buffer: 3.0.2 is-shared-array-buffer: 1.0.2 + dev: false /arraybuffer.prototype.slice@1.0.2: resolution: {integrity: sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==} @@ -9361,7 +9258,6 @@ packages: get-intrinsic: 1.2.1 is-array-buffer: 3.0.2 is-shared-array-buffer: 1.0.2 - dev: true /arrify@1.0.1: resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} @@ -11292,7 +11188,6 @@ packages: get-intrinsic: 1.2.1 gopd: 1.0.1 has-property-descriptors: 1.0.0 - dev: true /define-lazy-prop@2.0.0: resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} @@ -11318,7 +11213,6 @@ packages: define-data-property: 1.1.0 has-property-descriptors: 1.0.0 object-keys: 1.1.1 - dev: true /define-property@0.2.5: resolution: {integrity: sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==} @@ -11733,7 +11627,7 @@ packages: call-bind: 1.0.2 es-set-tostringtag: 2.0.1 es-to-primitive: 1.2.1 - function.prototype.name: 1.1.5 + function.prototype.name: 1.1.6 get-intrinsic: 1.2.1 get-symbol-description: 1.0.0 globalthis: 1.0.3 @@ -11754,11 +11648,11 @@ packages: object-inspect: 1.12.3 object-keys: 1.1.1 object.assign: 4.1.4 - regexp.prototype.flags: 1.5.0 + regexp.prototype.flags: 1.5.1 safe-regex-test: 1.0.0 - string.prototype.trim: 1.2.7 - string.prototype.trimend: 1.0.6 - string.prototype.trimstart: 1.0.6 + string.prototype.trim: 1.2.8 + string.prototype.trimend: 1.0.7 + string.prototype.trimstart: 1.0.7 typed-array-length: 1.0.4 unbox-primitive: 1.0.2 which-typed-array: 1.1.11 @@ -11806,6 +11700,7 @@ packages: typed-array-length: 1.0.4 unbox-primitive: 1.0.2 which-typed-array: 1.1.11 + dev: false /es-abstract@1.22.2: resolution: {integrity: sha512-YoxfFcDmhjOgWPWsV13+2RNjq1F6UQnfs+8TftwNqtzlmFzEXvlUwdrNrYeaizfjQzRMxkZ6ElWMOJIFKdVqwA==} @@ -11850,7 +11745,6 @@ packages: typed-array-length: 1.0.4 unbox-primitive: 1.0.2 which-typed-array: 1.1.11 - dev: true /es-array-method-boxes-properly@1.0.0: resolution: {integrity: sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==} @@ -13665,6 +13559,7 @@ packages: define-properties: 1.2.0 es-abstract: 1.22.1 functions-have-names: 1.2.3 + dev: false /function.prototype.name@1.1.6: resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} @@ -13674,7 +13569,6 @@ packages: define-properties: 1.2.1 es-abstract: 1.22.2 functions-have-names: 1.2.3 - dev: true /functional-red-black-tree@1.0.1: resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} @@ -18335,7 +18229,6 @@ packages: call-bind: 1.0.2 define-properties: 1.2.1 set-function-name: 2.0.1 - dev: true /regexpp@3.2.0: resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} @@ -18698,6 +18591,7 @@ packages: get-intrinsic: 1.2.1 has-symbols: 1.0.3 isarray: 2.0.5 + dev: false /safe-array-concat@1.0.1: resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} @@ -18707,7 +18601,6 @@ packages: get-intrinsic: 1.2.1 has-symbols: 1.0.3 isarray: 2.0.5 - dev: true /safe-buffer@5.1.2: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} @@ -18956,7 +18849,6 @@ packages: define-data-property: 1.1.0 functions-have-names: 1.2.3 has-property-descriptors: 1.0.0 - dev: true /set-value@2.0.1: resolution: {integrity: sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==} @@ -19594,6 +19486,7 @@ packages: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 + dev: false /string.prototype.trim@1.2.8: resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} @@ -19602,7 +19495,6 @@ packages: call-bind: 1.0.2 define-properties: 1.2.1 es-abstract: 1.22.2 - dev: true /string.prototype.trimend@1.0.6: resolution: {integrity: sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==} @@ -19610,6 +19502,7 @@ packages: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 + dev: false /string.prototype.trimend@1.0.7: resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} @@ -19617,7 +19510,6 @@ packages: call-bind: 1.0.2 define-properties: 1.2.1 es-abstract: 1.22.2 - dev: true /string.prototype.trimstart@1.0.6: resolution: {integrity: sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==} @@ -19625,6 +19517,7 @@ packages: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 + dev: false /string.prototype.trimstart@1.0.7: resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} @@ -19632,7 +19525,6 @@ packages: call-bind: 1.0.2 define-properties: 1.2.1 es-abstract: 1.22.2 - dev: true /string_decoder@0.10.31: resolution: {integrity: sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==} @@ -21729,8 +21621,8 @@ packages: '@tanstack/query-sync-storage-persister': 4.32.0 '@tanstack/react-query': 4.32.0(react-dom@18.2.0)(react@18.2.0) '@tanstack/react-query-persist-client': 4.32.0(@tanstack/react-query@4.32.0) - '@wagmi/core': 1.3.10(react@18.2.0)(typescript@5.2.2)(viem@1.8.1) - abitype: 0.8.7(typescript@5.2.2)(zod@3.22.2) + '@wagmi/core': 1.3.10(react@18.2.0)(typescript@5.2.2)(viem@1.8.1)(zod@3.22.2) + abitype: 0.8.7(typescript@5.1.6)(zod@3.21.4) react: 18.2.0 typescript: 5.2.2 use-sync-external-store: 1.2.0(react@18.2.0) diff --git a/ts-plugin/CHANGELOG.md b/ts-plugin/CHANGELOG.md index 02d3c80493..5fa5b0cb76 100644 --- a/ts-plugin/CHANGELOG.md +++ b/ts-plugin/CHANGELOG.md @@ -1,5 +1,20 @@ # @evmts/ts-plugin +## 0.10.0 + +### Patch Changes + +- [#466](https://github.com/evmts/evmts-monorepo/pull/466) [`1c4cbd2`](https://github.com/evmts/evmts-monorepo/commit/1c4cbd2b87abd1c2174fb0d2e7a684367e074440) 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](https://github.com/evmts/evmts-monorepo/pull/418) [`fbf8f49`](https://github.com/evmts/evmts-monorepo/commit/fbf8f4907d942b0a1aecdb781dcaf748d806a9aa) Thanks [@roninjin10](https://github.com/roninjin10)! - Fixed bug with LSP potentially not resolving EVMts correctly in nested node module + +- Updated dependencies [[`dbc2da6`](https://github.com/evmts/evmts-monorepo/commit/dbc2da6092eae3a7ec2d2519ea8c04505aa911f6), [`1c4cbd2`](https://github.com/evmts/evmts-monorepo/commit/1c4cbd2b87abd1c2174fb0d2e7a684367e074440), [`e99fcd0`](https://github.com/evmts/evmts-monorepo/commit/e99fcd09e530a58fddb0d3fa19be0f5439e74f30), [`cb83c0c`](https://github.com/evmts/evmts-monorepo/commit/cb83c0c81fae63decd7bbdb79b9c3cce2c7e0b8e)]: + - @evmts/bundler@0.10.0 + ## 0.9.0 ### Patch Changes diff --git a/ts-plugin/package.json b/ts-plugin/package.json index 6a939aeaab..d234f3aa99 100644 --- a/ts-plugin/package.json +++ b/ts-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/ts-plugin", - "version": "0.9.0", + "version": "0.10.0", "private": false, "description": "A typescript plugin for evmts", "keywords": [ diff --git a/viem/CHANGELOG.md b/viem/CHANGELOG.md index 4bb56540c8..62056282e5 100644 --- a/viem/CHANGELOG.md +++ b/viem/CHANGELOG.md @@ -1,5 +1,64 @@ # @evmts/ethers +## 0.10.0 + +### Minor Changes + +- [#473](https://github.com/evmts/evmts-monorepo/pull/473) [`9f44e3f`](https://github.com/evmts/evmts-monorepo/commit/9f44e3f9ed237433c713e85b4c54e12a5044846e) 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); + }, + } + ); + ``` + ## 0.8.1 ### Patch Changes diff --git a/viem/package.json b/viem/package.json index ace465c69c..70ede07b56 100644 --- a/viem/package.json +++ b/viem/package.json @@ -1,6 +1,6 @@ { "name": "@evmts/viem", - "version": "0.8.1", + "version": "0.10.0", "private": false, "description": "A collection of viem.js utilities for working with Evmts", "keywords": [