diff --git a/src/includes/head.pug b/src/includes/head.pug index 2d4fc5c0856046d83a6cd26c88c1fc5d4c416771..11241e4f5f30f052061421a7afb0b58df97042ec 100644 --- a/src/includes/head.pug +++ b/src/includes/head.pug @@ -3,16 +3,18 @@ head meta(charset="utf-8") script(src="https://unpkg.com/@webcomponents/webcomponentsjs@1.2.7/webcomponents-loader.js") //- script(type="module" src="/scripts/sib-core/dist/index.js") - script(type="module" src="https://unpkg.com/@startinblox/core@0.9") + script(type="module" src="https://unpkg.com/@startinblox/core@0.9.27") script(type="module" src="https://unpkg.com/@startinblox/router@0.7") //- script(type="module" src="/scripts/sib-auth/index.js") - script(type="module" src="https://unpkg.com/@startinblox/oidc@0.8") + script(type="module" src="https://unpkg.com/@startinblox/oidc@0.8.4") script(type="module" src="https://unpkg.com/@startinblox/component-conversation@0.4") script(src="https://kit.fontawesome.com/48014d2af3.js") script(src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous") script(src="/scripts/coopstarter.js") script(async src="https://platform.twitter.com/widgets.js" charset="utf-8") + script(src="https://browser.sentry-cdn.com/5.15.5/bundle.min.js" integrity="sha384-wF7Jc4ZlWVxe/L8Ji3hOIBeTgo/HwFuaeEfjGmS3EXAG7Y+7Kjjr91gJpJtr+PAT" crossorigin="anonymous") link(rel="stylesheet" href="/styles/index.css") + script(data-default-context type="application/ld+json" ). { diff --git a/src/scripts/coopstarter.js b/src/scripts/coopstarter.js index 6fa6facf4b9f23b4c92831f64a08403cbfaf84b9..364cef05dafef52c97d0ff4aa366db79551b5da2 100644 --- a/src/scripts/coopstarter.js +++ b/src/scripts/coopstarter.js @@ -605,6 +605,8 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXX ON LOAD XXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/ jQuery(document).ready(function($) { + Sentry.init({ dsn: 'https://a95ca890079d4602a2096a64ca56c9d3@o383270.ingest.sentry.io/5213278' }); + window.addEventListener('requestNavigation', function(e) { setTimeout(function() { let loader = document.getElementById('main-loader'); diff --git a/src/scripts/dispatch-space-n-user.js b/src/scripts/dispatch-space-n-user.js index 4af132f5240fd03c8bd6b8d4730900c9170b6fa1..4ccb9829575d31416df48623b01de7325732cd8d 100644 --- a/src/scripts/dispatch-space-n-user.js +++ b/src/scripts/dispatch-space-n-user.js @@ -1,4 +1,4 @@ -import { store } from 'https://unpkg.com/@startinblox/core@0.9'; +import { store } from 'https://unpkg.com/@startinblox/core@0.9.27'; const sibAuth = document.querySelector('sib-auth'); const context = {