MetaMask / MetaMask/snaps

Refactor: Make WebViewHTML an official export

Open
#2,590 0 comments 0 reactions 1 assignee Claimed by @Jonathansoufer View on GitHub
snaps-unrefined-backlog
Dominant language
TypeScript
Stars
853
Forks
662
Avg merge
2d 8h
Merged PRs (30d)
8

Description

This is based on [this comment](https://github.com/MetaMask/metamask-mobile/pull/10214#discussion_r1684283081) done by Zbigniew which states:

_(should) make it an official export that doesn't depend on the dist/browserify part of the path so that changing the path is not a breaking change.

Also, since it's being built anyway, there's nothing stopping you from generating a JS or JSON file with the html string embedded in it that's easy to import and type without relying on specific bundler features._

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.