wevm / abitype

Strict TypeScript types for Ethereum ABIs
https://abitype.dev
MIT License
480 stars 45 forks source link

tmm/update #223

Closed tmm closed 9 months ago

tmm commented 9 months ago

Description

Renamed slots to lowercase.

Additional Information

Before submitting this issue, please make sure you do the following.


PR-Codex overview

This PR focuses on updating import statements and type annotations in the codebase.

Detailed summary

The following files were skipped due to too many changes: packages/abitype/src/zod.ts, packages/abitype/package.json, packages/abitype/src/human-readable/runtime/utils.ts, packages/abitype/src/utils.bench-d.ts, package.json, packages/abitype/src/narrow.ts, packages/abitype/src/utils.test-d.ts, packages/abitype/src/human-readable/formatAbi.ts, pnpm-lock.yaml, packages/abitype/src/human-readable/formatAbiParameters.ts, packages/abitype/src/abi.ts, packages/abitype/src/human-readable/parseAbi.ts, packages/abitype/src/human-readable/formatAbiParameter.ts, packages/abitype/src/human-readable/formatAbiItem.ts, packages/abitype/src/human-readable/parseAbiParameter.ts, packages/abitype/src/human-readable/parseAbiParameters.ts, packages/abitype/src/human-readable/parseAbiItem.ts, packages/abitype/src/human-readable/types/structs.ts, packages/abitype/src/human-readable/types/signatures.ts, packages/abitype/src/types.ts, packages/abitype/src/human-readable/types/utils.ts, packages/abitype/src/utils.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

changeset-bot[bot] commented 9 months ago

⚠️ No Changeset found

Latest commit: 475854de3848ee26d606bfd0c6b0b7b5185041d3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 9 months ago

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

Name Status Preview Comments Updated (UTC)
abitype ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2024 6:29pm
codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (921efbd) 99.83% compared to head (475854d) 99.87%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #223 +/- ## ========================================== + Coverage 99.83% 99.87% +0.03% ========================================== Files 26 33 +7 Lines 6082 7884 +1802 Branches 195 195 ========================================== + Hits 6072 7874 +1802 Misses 8 8 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

socket-security[bot] commented 9 months ago

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
tsx 4.7.0 eval, network, filesystem, shell, environment +0 394 kB hirokiosame
github-actions[bot] commented 9 months ago

Size Change: +507 B (+1%)

Total Size: 99.4 kB

Filename Size Change
packages/abitype/dist/cjs/register.js 5.76 kB +3 B (0%)
packages/abitype/dist/esm 91 B +29 B (+47%) 🚨
packages/abitype/dist/esm/abis/json.js 532 B +8 B (+2%)
packages/abitype/dist/esm/human-readable/errors/abiItem.js 693 B +21 B (+3%)
packages/abitype/dist/esm/human-readable/errors/abiParameter.js 346 B +7 B (+2%)
packages/abitype/dist/esm/human-readable/errors/struct.js 283 B +9 B (+3%)
packages/abitype/dist/esm/human-readable/formatAbi.js 431 B +23 B (+6%) 🔍
packages/abitype/dist/esm/human-readable/formatAbiItem.js 595 B +25 B (+4%)
packages/abitype/dist/esm/human-readable/formatAbiParameter.js 395 B +15 B (+4%)
packages/abitype/dist/esm/human-readable/formatAbiParameters.js 509 B +28 B (+6%) 🔍
packages/abitype/dist/esm/human-readable/parseAbi.js 629 B +32 B (+5%) 🔍
packages/abitype/dist/esm/human-readable/parseAbiItem.js 594 B +32 B (+6%) 🔍
packages/abitype/dist/esm/human-readable/parseAbiParameter.js 674 B +35 B (+5%) 🔍
packages/abitype/dist/esm/human-readable/runtime 873 B +18 B (+2%)
packages/abitype/dist/esm/human-readable/runtime/cache.js 634 B +16 B (+3%)
packages/abitype/dist/esm/human-readable/runtime/signatures.js 1.03 kB +8 B (+1%)
packages/abitype/dist/esm/human-readable/runtime/structs.js 2.25 kB +13 B (+1%)
packages/abitype/dist/esm/human-readable/types 94 B +25 B (+36%) 🚨
packages/abitype/dist/esm/human-readable/types/signatures.js 110 B +44 B (+67%) 🆘
packages/abitype/dist/esm/human-readable/types/structs.js 119 B +55 B (+86%) 🆘
packages/abitype/dist/esm/register.js 7.31 kB +4 B (0%)
packages/abitype/dist/esm/types.js 98 B +34 B (+53%) 🆘
packages/abitype/dist/esm/version.js 2.48 kB +7 B (0%)
packages/abitype/dist/types 1.83 kB +10 B (+1%)
packages/abitype/dist/types/abis/json.d.ts 272 B +1 B (0%)
packages/abitype/dist/types/human-readable/errors/abiItem.d.ts 374 B -1 B (0%)
packages/abitype/dist/types/human-readable/errors/abiParameter.d.ts 243 B -1 B (0%)
packages/abitype/dist/types/human-readable/errors/struct.d.ts 312 B -4 B (-1%)
packages/abitype/dist/types/human-readable/formatAbi.d.ts 642 B -7 B (-1%)
packages/abitype/dist/types/human-readable/formatAbiItem.d.ts 666 B -7 B (-1%)
packages/abitype/dist/types/human-readable/formatAbiParameter.d.ts 456 B -4 B (-1%)
packages/abitype/dist/types/human-readable/parseAbi.d.ts 759 B -2 B (0%)
packages/abitype/dist/types/human-readable/parseAbiItem.d.ts 737 B -2 B (0%)
packages/abitype/dist/types/human-readable/parseAbiParameter.d.ts 780 B -3 B (0%)
packages/abitype/dist/types/human-readable/runtime/cache.d.ts 373 B +1 B (0%)
packages/abitype/dist/types/human-readable/types 1.78 kB +12 B (+1%)
packages/abitype/dist/types/human-readable/types/signatures.d.ts 727 B -10 B (-1%)
packages/abitype/dist/types/human-readable/types/structs.d.ts 2.08 kB +20 B (+1%)
packages/abitype/dist/types/human-readable/types/utils.d.ts 419 B -5 B (-1%)
packages/abitype/dist/types/register.d.ts 1.99 kB +17 B (+1%)
packages/abitype/dist/types/types.d.ts 2.41 kB +2 B (0%)
packages/abitype/dist/types/version.d.ts 2.13 kB -1 B (0%)
ℹ️ View Unchanged | Filename | Size | Change | | | :--- | :---: | :---: | :---: | | `packages/abitype/dist` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/cjs` | 123 B | 0 B | | | `packages/abitype/dist/cjs/abi.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/cjs/abis` | 3.6 kB | 0 B | | | `packages/abitype/dist/cjs/abis/human-readable.js` | 5.93 kB | 0 B | | | `packages/abitype/dist/cjs/abis/json.js` | 577 B | 0 B | | | `packages/abitype/dist/cjs/errors.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/cjs/exports` | 589 B | 0 B | | | `packages/abitype/dist/cjs/exports/abis.js` | 743 B | 0 B | | | `packages/abitype/dist/cjs/exports/index.js` | 566 B | 0 B | | | `packages/abitype/dist/cjs/exports/zod.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/cjs/human-readable` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/cjs/human-readable/errors` | 533 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/errors/abiItem.js` | 802 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/errors/abiParameter.js` | 420 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/errors/signature.js` | 404 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/errors/splitParameters.js` | 338 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/errors/struct.js` | 294 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/formatAbi.js` | 420 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/formatAbiItem.js` | 487 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/formatAbiParameter.js` | 313 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/formatAbiParameters.js` | 348 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/parseAbi.js` | 440 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/parseAbiItem.js` | 471 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/parseAbiParameter.js` | 528 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/parseAbiParameters.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/cjs/human-readable/runtime` | 616 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/runtime/cache.js` | 782 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/runtime/signatures.js` | 1.03 kB | 0 B | | | `packages/abitype/dist/cjs/human-readable/runtime/structs.js` | 2.12 kB | 0 B | | | `packages/abitype/dist/cjs/human-readable/runtime/utils.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/cjs/human-readable/types` | 127 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/types/signatures.js` | 127 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/types/structs.js` | 124 B | 0 B | | | `packages/abitype/dist/cjs/human-readable/types/utils.js` | 169 B | 0 B | | | `packages/abitype/dist/cjs/narrow.js` | 40 B | 0 B | | | `packages/abitype/dist/cjs/package.json` | 362 B | 0 B | | | `packages/abitype/dist/cjs/regex.js` | 125 B | 0 B | | | `packages/abitype/dist/cjs/tsconfig.build.tsbuildinfo` | 124 B | 0 B | | | `packages/abitype/dist/cjs/types.js` | 124 B | 0 B | | | `packages/abitype/dist/cjs/utils.js` | 150 B | 0 B | | | `packages/abitype/dist/cjs/version.js` | 2.1 kB | 0 B | | | `packages/abitype/dist/cjs/zod.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/esm/abi.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/esm/abis` | 3.96 kB | 0 B | | | `packages/abitype/dist/esm/abis/human-readable.js` | 6.27 kB | 0 B | | | `packages/abitype/dist/esm/errors.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/esm/exports` | 259 B | 0 B | | | `packages/abitype/dist/esm/exports/abis.js` | 363 B | 0 B | | | `packages/abitype/dist/esm/exports/index.js` | 242 B | 0 B | | | `packages/abitype/dist/esm/exports/zod.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/esm/human-readable` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/esm/human-readable/errors` | 450 B | 0 B | | | `packages/abitype/dist/esm/human-readable/errors/signature.js` | 345 B | 0 B | | | `packages/abitype/dist/esm/human-readable/errors/splitParameters.js` | 282 B | 0 B | | | `packages/abitype/dist/esm/human-readable/parseAbiParameters.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/esm/human-readable/runtime/utils.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/esm/human-readable/types/utils.js` | 265 B | 0 B | | | `packages/abitype/dist/esm/narrow.js` | 58 B | 0 B | | | `packages/abitype/dist/esm/package.json` | 496 B | 0 B | | | `packages/abitype/dist/esm/regex.js` | 67 B | 0 B | | | `packages/abitype/dist/esm/tsconfig.build.tsbuildinfo` | 64 B | 0 B | | | `packages/abitype/dist/esm/utils.js` | 83 B | 0 B | | | `packages/abitype/dist/esm/zod.js` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/types/abi.d.ts` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/types/abis` | 3.88 kB | 0 B | | | `packages/abitype/dist/types/abis/human-readable.d.ts` | 5.98 kB | 0 B | | | `packages/abitype/dist/types/errors.d.ts` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/types/exports` | 261 B | 0 B | | | `packages/abitype/dist/types/exports/abis.d.ts` | 661 B | 0 B | | | `packages/abitype/dist/types/exports/index.d.ts` | 245 B | 0 B | | | `packages/abitype/dist/types/exports/zod.d.ts` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/types/human-readable` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/types/human-readable/errors` | 229 B | 0 B | | | `packages/abitype/dist/types/human-readable/errors/signature.d.ts` | 204 B | 0 B | | | `packages/abitype/dist/types/human-readable/errors/splitParameters.d.ts` | 174 B | 0 B | | | `packages/abitype/dist/types/human-readable/formatAbiParameters.d.ts` | 648 B | 0 B | | | `packages/abitype/dist/types/human-readable/parseAbiParameters.d.ts` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/types/human-readable/runtime` | 489 B | 0 B | | | `packages/abitype/dist/types/human-readable/runtime/signatures.d.ts` | 157 B | 0 B | | | `packages/abitype/dist/types/human-readable/runtime/structs.d.ts` | 682 B | 0 B | | | `packages/abitype/dist/types/human-readable/runtime/utils.d.ts` | 0 B | 0 B | 🆕 | | `packages/abitype/dist/types/narrow.d.ts` | 159 B | 0 B | | | `packages/abitype/dist/types/regex.d.ts` | 794 B | 0 B | | | `packages/abitype/dist/types/utils.d.ts` | 93 B | 0 B | | | `packages/abitype/dist/types/zod.d.ts` | 0 B | 0 B | 🆕 |

compressed-size-action