Skip to content

RobinJesba/Sentry-Offline-Transport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentry-Offline-Transport

Build

npm run build

Usage

<script src="https://***/sentry-offline.js"></script>

<script
    src="https://browser.sentry-cdn.com/7.112.0/bundle.tracing.min.js" 
    integrity="sha384-Kl6Y90+qOGXFISnB2uX+f/+fgueW0VdsRWpEh9wXsTacad+zDLgOWNjgiqsgYO5i" 
    crossorigin="anonymous"
></script>

<script>
    Sentry.onLoad(function () {
        Sentry.init({
            dsn: "https://***@o0.ingest.sentry.io/0",
            transport: SentryOffline.makeBrowserOfflineTransport(Sentry.makeFetchTransport),
        });
    });
</script>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published