Version Packages#14
Merged
Merged
Conversation
10e9f91 to
d8b0468
Compare
d8b0468 to
67b8b86
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release 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
@evmnow/contract-reader@0.8.0
Minor Changes
5100264Thanks @jwahdatehagh! - New public composables and a component that extract generic reader orchestration out of consuming apps:useContractReaderView— the shared reader-page orchestration: tab derivation from the ABI, view-state mapping overuseReaderQueryState, wallet-gated action filtering, function source selection, overview stat links, and read-error bookkeeping (including clearing call errors on navigation and refetching metadata off discrete chain-id/RPC watch sources). Hosts wire it to their own wallet/metadata configuration and keep only branding and layout in the page.useTokenAmountMeta— token metadata resolution for amount-like params: resolves token identity (decimals/symbol, lowercased-address keyed, in-flight deduplicated) and connected-wallet balances, and derives per-input amount rendering/parsing info.ActionResultPanel(components/Action/ResultPanel.vue) — the read-result live region previously inlined inActionDetail, rendering loading/fields/single-value/error states with theaddressslot passthrough.ActionDetailand the playground/reader pages now consume these; behavior is unchanged.Patch Changes
99aa30aThanks @jwahdatehagh! - The action detail's vertical rhythm is now owned entirely by its grid gap (--cr-action-detail-gap) instead of a mix of gap and per-block margins. Grid auto-rows don't reliably include child margins in track sizing — a margined block (e.g. a custom_componentcard) could overflow its row and swallow the next section's spacing, making the gap above the source link inconsistent. Child margins inside.cr-action-detailare now neutralized, and every section — results, previews, custom components — gets the same separation. Tune spacing via--cr-action-detail-gap.5100264Thanks @jwahdatehagh! - Upgrade @evmnow/sdk to ^0.7.0: fixed Sourcify v2 integration (runtimeBytecode), chain-scoped metadata repository lookups, hardened merge/ENS/address handling, and new modular exports.5100264Thanks @jwahdatehagh! - A round of correctness, security, performance, accessibility and packaging fixes across the reader:min/maxbounds in payable value validation metadata no longer throw and break rendering — unparseable bounds are ignored. A non-empty transaction value that doesn't parse as ETH now shows a visible error and disables sending even without a metadata validation rule.writeContractFunctionstring values are now always ETH-denominated ("1"used to be treated as 1 wei while"1.5"was 1.5 ETH); bigints remain wei.https:/http:/data:image/*) before binding intoimg/iframe/asinks, and metadata-supplied validation regexes are length-capped and compiled once (invalid patterns are ignored) to mitigate ReDoS.aria-describedby/aria-invalid; read results/errors announce via a polite live region; card expanders exposearia-expanded/aria-controls; preview toggles exposearia-pressed; the copy button shows a brief failed state when clipboard access is denied.nuxt/vueare declared as peer dependencies,viemmoved to a caret range compatible with@wagmi/core's peer range, and the deep import into the wallet layer's ENS cache is isolated behind a single adapter module.@evmnow/dapp@0.2.4
Patch Changes
99aa30a,5100264,5100264,5100264]: