Skip to content

feat(widget)!: remove deprecated _vcComponent from WidgetFeeConfig#742

Merged
chybisov merged 1 commit into
mainfrom
feature/emb-389-config-remove-vc-component
May 26, 2026
Merged

feat(widget)!: remove deprecated _vcComponent from WidgetFeeConfig#742
chybisov merged 1 commit into
mainfrom
feature/emb-389-config-remove-vc-component

Conversation

@chybisov
Copy link
Copy Markdown
Member

@chybisov chybisov commented May 25, 2026

Which Linear task is linked to this PR?

EMB-389 — Wave 1, item #5

Why was it implemented this way?

WidgetFeeConfig._vcComponent was marked @internal but still appeared in generated .d.ts files and IntelliSense — and is no longer needed. This PR deletes the field and its rendering branch in StatusBottomSheet.tsx entirely. No replacement.

Why a clean delete (not a deprecate-then-remove cycle): the field was prefixed with _ and marked @internal, so no external integrator should have a legitimate dependency on it. v4 is the right window to remove leaked internals before they ossify.

Migration

If you were depending on the internal _vcComponent field on WidgetFeeConfig (prefixed with _ and marked @internal), it has been removed with no replacement. Remove any feeConfig._vcComponent references from your config.

Visual showcase

N/A — removing an unused render branch. Smoke test confirms the transaction success state renders with the correct margin (was conditionally 2 or 3, now unconditionally 3 — the pre-_vcComponent default).

Checklist before requesting a review

  • I have performed a self-review and testing of my code.
  • This pull request is focused and addresses a single problem.
  • If this PR modifies the Widget API or adds new features that require documentation, I have updated the documentation in the public-docs repository.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 25, 2026

E2E Examples — failures

The following example(s) failed:

  • nft-checkout
  • vite-iframe-wagmi

See the workflow run for Playwright reports and logs.

@chybisov chybisov changed the title Remove deprecated _vcComponent from WidgetFeeConfig chore(widget)!: remove deprecated _vcComponent from WidgetFeeConfig May 25, 2026
The internal _vcComponent field on WidgetFeeConfig is no longer needed.
Removes the field, the rendering branch in StatusBottomSheet, and the
related comment in widget-light's mirror.

Refs EMB-389
@chybisov chybisov force-pushed the feature/emb-389-config-remove-vc-component branch from 9ab65a9 to d8776aa Compare May 25, 2026 14:04
@chybisov chybisov changed the title chore(widget)!: remove deprecated _vcComponent from WidgetFeeConfig feat(widget)!: remove deprecated _vcComponent from WidgetFeeConfig May 25, 2026
@effie-ms effie-ms self-requested a review May 26, 2026 07:59
@chybisov chybisov merged commit a6199cc into main May 26, 2026
18 of 21 checks passed
@chybisov chybisov deleted the feature/emb-389-config-remove-vc-component branch May 26, 2026 12:27
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.

2 participants