Skip to content

Commit

Permalink
fix(JS): Hardcode v7 script for pluggable integrations (#10873)
Browse files Browse the repository at this point in the history
  • Loading branch information
s1gr1d authored Jul 30, 2024
1 parent 82e2abc commit 1b0976e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Sentry.init({
></script>
<script
src="https://browser.sentry-cdn.com/7.118.0/captureconsole.min.js"
integrity="sha384-VFallslCjDR2cuAcmExABGThuV4+sfW+06c+UaqO4Fe6unI7ZD1CofpFWEwO2rQK"
crossorigin="anonymous"
></script>
```
Expand Down
4 changes: 2 additions & 2 deletions platform-includes/configuration/contextlines/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Sentry.init({
crossorigin="anonymous"
></script>
<script
src="https://browser.sentry-cdn.com/{{@inject packages.version('sentry.javascript.browser') }}/contextlines.min.js"
integrity="sha384-{{@inject packages.checksum('sentry.javascript.browser', 'contextlines.min.js', 'sha384-base64') }}"
src="https://browser.sentry-cdn.com/7.118.0/contextlines.min.js"
integrity="sha384-gEhhSwfS59ymyyW9I1NMvuFGgYTaNhdU5/fOAlxk3JWx0KMuf7SqsRQ4MiTMWcHU"
crossorigin="anonymous"
></script>
```
Expand Down
4 changes: 2 additions & 2 deletions platform-includes/configuration/debug/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Sentry.init({
crossorigin="anonymous"
></script>
<script
src="https://browser.sentry-cdn.com/{{@inject packages.version('sentry.javascript.browser') }}/debug.min.js"
integrity="sha384-{{@inject packages.checksum('sentry.javascript.browser', 'debug.min.js', 'sha384-base64') }}"
src="https://browser.sentry-cdn.com/7.118.0/debug.min.js"
integrity="sha384-NiHYbyMghNOmIEQLPR9hTzwtmjS+zKCSKqe5qfjYd+4Z7IiNpx6o9luC+mlIC3k7"
crossorigin="anonymous"
></script>
```
Expand Down
4 changes: 2 additions & 2 deletions platform-includes/configuration/dedupe/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Sentry.init({
crossorigin="anonymous"
></script>
<script
src="https://browser.sentry-cdn.com/{{@inject packages.version('sentry.javascript.browser') }}/dedupe.min.js"
integrity="sha384-{{@inject packages.checksum('sentry.javascript.browser', 'dedupe.min.js', 'sha384-base64') }}"
src="https://browser.sentry-cdn.com/7.118.0/dedupe.min.js"
integrity="sha384-LNL+Ughkfd7RSScRAb/8GsUkGNCDCKci1Bqo78Vj1a2YmwdAKOidOONI6RRnCNza"
crossorigin="anonymous"
></script>
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Sentry.init({
crossorigin="anonymous"
></script>
<script
src="https://browser.sentry-cdn.com/{{@inject packages.version('sentry.javascript.browser') }}/extraerrordata.min.js"
integrity="sha384-{{@inject packages.checksum('sentry.javascript.browser', 'extraerrordata.min.js', 'sha384-base64') }}"
src="https://browser.sentry-cdn.com/7.118.0/extraerrordata.min.js"
integrity="sha384-8+jHSkkYmPGJyPgzKSl1DEB/wD+KvVtfEBK2pk1LkeeGoxpwtgLO+KnF6Cn5oNyT"
crossorigin="anonymous"
></script>
```
Expand Down
4 changes: 2 additions & 2 deletions platform-includes/configuration/http-client/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Sentry.init({
crossorigin="anonymous"
></script>
<script
src="https://browser.sentry-cdn.com/{{@inject packages.version('sentry.javascript.browser') }}/httpclient.min.js"
integrity="sha384-{{@inject packages.checksum('sentry.javascript.browser', 'httpclient.min.js', 'sha384-base64') }}"
src="https://browser.sentry-cdn.com/7.118.0/httpclient.min.js"
integrity="sha384-8MAyqW/E9fuqd5JmBqR/UN56Anxd7O06nt+PUTE5G6rRCLsApJc9qoc1cZl9tiQU"
crossorigin="anonymous"
></script>
```
Expand Down
4 changes: 2 additions & 2 deletions platform-includes/configuration/rewrite-frames/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Sentry.init({
crossorigin="anonymous"
></script>
<script
src="https://browser.sentry-cdn.com/{{@inject packages.version('sentry.javascript.browser') }}/rewriteframes.min.js"
integrity="sha384-{{@inject packages.checksum('sentry.javascript.browser', 'rewriteframes.min.js', 'sha384-base64') }}"
src="https://browser.sentry-cdn.com/7.118.0/rewriteframes.min.js"
integrity="sha384-frX2Yq3NcKDRPm/uj1oRaP8OQfYhXlOtfbpFLshFqv7cJ17aHaMFulBDznsYIgLw"
crossorigin="anonymous"
></script>
```
Expand Down
4 changes: 2 additions & 2 deletions platform-includes/configuration/sessiontiming/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Sentry.init({
crossorigin="anonymous"
></script>
<script
src="https://browser.sentry-cdn.com/{{@inject packages.version('sentry.javascript.browser') }}/sessiontiming.min.js"
integrity="sha384-{{@inject packages.checksum('sentry.javascript.browser', 'sessiontiming.min.js', 'sha384-base64') }}"
src="https://browser.sentry-cdn.com/7.118.0/sessiontiming.min.js"
integrity="sha384-MEd/W+JXejCi+jeBE7jBG5zX5+UkImpXByQO4GQ98ZQkRICxA+pkE2JbfJJPW7DB"
crossorigin="anonymous"
></script>
```
Expand Down

0 comments on commit 1b0976e

Please sign in to comment.