Skip to content

Version Packages#14

Merged
jwahdatehagh merged 1 commit into
mainfrom
changeset-release/main
Jul 6, 2026
Merged

Version Packages#14
jwahdatehagh merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

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

  • 5100264 Thanks @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 over useReaderQueryState, 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 in ActionDetail, rendering loading/fields/single-value/error states with the address slot passthrough.

    ActionDetail and the playground/reader pages now consume these; behavior is unchanged.

Patch Changes

  • 99aa30a Thanks @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 _component card) could overflow its row and swallow the next section's spacing, making the gap above the source link inconsistent. Child margins inside .cr-action-detail are now neutralized, and every section — results, previews, custom components — gets the same separation. Tune spacing via --cr-action-detail-gap.

  • 5100264 Thanks @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.

  • 5100264 Thanks @jwahdatehagh! - A round of correctness, security, performance, accessibility and packaging fixes across the reader:

    • Reads are now guarded by a request-generation counter (and action details are keyed per action), so switching actions while a read is in flight can no longer write a stale result or error into the new action's view.
    • Malformed min/max bounds 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.
    • writeContractFunction string values are now always ETH-denominated ("1" used to be treated as 1 wei while "1.5" was 1.5 ETH); bigints remain wei.
    • Token info is keyed by lowercased address on both write and read, so checksummed metadata addresses resolve the same entry, and concurrent token metadata lookups are deduplicated in flight.
    • Amount-like tuple members now render the same human-decimal amount input that arg building scales on submit, instead of silently multiplying raw input by 10^decimals.
    • External metadata URLs are scheme-allowlisted (https:/http:/data:image/*) before binding into img/iframe/a sinks, and metadata-supplied validation regexes are length-capped and compiled once (invalid patterns are ignored) to mitigate ReDoS.
    • Shiki (and the solidity grammar) now loads lazily when a source view first renders instead of shipping in the initial chunk, and token metadata gateway fetches time out after 15s instead of hanging forever.
    • Inputs are associated with real labels and expose aria-describedby/aria-invalid; read results/errors announce via a polite live region; card expanders expose aria-expanded/aria-controls; preview toggles expose aria-pressed; the copy button shows a brief failed state when clipboard access is denied.
    • Packaging: nuxt/vue are declared as peer dependencies, viem moved 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

@github-actions github-actions Bot force-pushed the changeset-release/main branch from 10e9f91 to d8b0468 Compare July 6, 2026 07:55
@github-actions github-actions Bot force-pushed the changeset-release/main branch from d8b0468 to 67b8b86 Compare July 6, 2026 16:46
@jwahdatehagh jwahdatehagh merged commit a71c66b into main Jul 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant