MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / getProtocolFromURL

Function getProtocolFromURL

app/util/sentry/utils.js:26–28  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

24 new Sentry.ReactNavigationV5Instrumentation();
25
26function getProtocolFromURL(url) {
27 return new URL(url).protocol;
28}
29
30function rewriteBreadcrumb(breadcrumb) {
31 if (breadcrumb.data?.url) {

Callers 1

rewriteBreadcrumbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected