Skip to content

refactor(smart-transactions-controller): import AuthenticationController namespace#9167

Open
cryptodev-2s wants to merge 2 commits into
mainfrom
refactor/stx-auth-controller-import
Open

refactor(smart-transactions-controller): import AuthenticationController namespace#9167
cryptodev-2s wants to merge 2 commits into
mainfrom
refactor/stx-auth-controller-import

Conversation

@cryptodev-2s

Copy link
Copy Markdown
Contributor

Explanation

The smart-transactions-controller imported the bearer token action type from the @metamask/profile-sync-controller/auth subpath. This change switches it to the AuthenticationController namespace exported from the package's main entry, which keeps the type reference aligned with how the rest of the namespace is consumed. While here, the TransactionParams type import was folded into the existing @metamask/transaction-controller import group instead of sitting on its own line.

This is an internal-only type import refactor. There is no change to runtime behavior or the public API surface, so no changelog entry is needed.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

…ler namespace

Switch the bearer token action type to the AuthenticationController namespace
from the main profile-sync-controller entry instead of the /auth subpath, and
consolidate the TransactionParams type into the existing import group.
@cryptodev-2s cryptodev-2s requested a review from a team as a code owner June 17, 2026 10:00
@cryptodev-2s cryptodev-2s self-assigned this Jun 17, 2026
@cryptodev-2s cryptodev-2s enabled auto-merge June 17, 2026 10:01
The import refactor removed the lines that triggered the no-base-to-string
and restrict-template-expressions violations, so their suppression entries
no longer apply.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant