Skip to content

refactor(snap-networks-utils): move util sources under src/utils - #222

Merged
ulissesferreira merged 2 commits into
mainfrom
refactor/move-snap-utils-into-utils-folder
Aug 28, 2026
Merged

refactor(snap-networks-utils): move util sources under src/utils#222
ulissesferreira merged 2 commits into
mainfrom
refactor/move-snap-utils-into-utils-folder

Conversation

@ulissesferreira

Copy link
Copy Markdown
Contributor

Overview

Reorganizes the @metamask/snap-networks-utils package so that all utility sources live under a dedicated src/utils/ directory, rather than being scattered at the top level of src/.

Changes

  • Moved all util files/directories (buildUrl, dedupe, logger, originPermissions, providers, safeMerge, sanitize, urlStruct) into src/utils/.
  • Updated src/index.ts import paths to point at the new ./utils/... locations.
  • Updated package.json exports for the ./dedupe and ./logger subpath entry points to reference the new ./dist/utils/... output.

Notes

No public API surface has changed; this is purely a structural refactor.

@ulissesferreira
ulissesferreira requested a review from a team as a code owner August 27, 2026 13:11
@ulissesferreira
ulissesferreira deployed to default-branch August 27, 2026 13:11 — with GitHub Actions Active
@ulissesferreira
ulissesferreira force-pushed the refactor/move-snap-utils-into-utils-folder branch 4 times, most recently from 04430a3 to 682b147 Compare August 28, 2026 09:26
@ulissesferreira
ulissesferreira force-pushed the refactor/move-snap-utils-into-utils-folder branch from 682b147 to 05efd5d Compare August 28, 2026 09:34
@ulissesferreira ulissesferreira changed the title refactor(snap-networks-utils): move util sources under src/utils refactor(snap-networks-utils): move util sources under src/utils Aug 28, 2026

@stanleyyconsensys stanleyyconsensys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but why we are updating the bitcoin shasum ^^

@ulissesferreira
ulissesferreira added this pull request to the merge queue Aug 28, 2026
@ulissesferreira

Copy link
Copy Markdown
Contributor Author

LGTM, but why we are updating the bitcoin shasum ^^

Probably sneaked in 😶‍🌫️

Merged via the queue into main with commit c9be6ba Aug 28, 2026
53 checks passed
@ulissesferreira
ulissesferreira deleted the refactor/move-snap-utils-into-utils-folder branch August 28, 2026 10:07
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.

2 participants