File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " Skedge" ,
33 "displayName" : " Skedge" ,
4- "version" : " 2.2.1 " ,
4+ "version" : " 2.2.2 " ,
55 "description" : " your registration assistant by students, for students" ,
66 "author" : " Nebula Labs" ,
77 "packageManager" :
" [email protected] " ,
104104 "host_permissions" : [
105105 " https://utdallas.collegescheduler.com/*" ,
106106 " https://www.ratemyprofessors.com/*" ,
107- " https://trends.utdnebula.com/*"
107+ " https://trends.utdnebula.com/*" ,
108+ " https://*.sentry.io/*"
108109 ],
109110 "browser_specific_settings" : {
110111 "gecko" : {
Original file line number Diff line number Diff line change @@ -8,9 +8,13 @@ import React from 'react';
88import Index from '~/app' ;
99import { neededOrigins } from '~data/config' ;
1010
11+ const realBrowser = process . env . PLASMO_BROWSER === 'chrome' ? chrome : browser ;
12+
1113//Same as in src/tabs/permissions.tsx
1214Sentry . init ( {
13- dsn : 'https://c7a0478d8f145e3c8f690bf523d8b9cd@o4504918397353984.ingest.us.sentry.io/4509386315071488' ,
15+ dsn :
16+ process . env . NODE_ENV === 'production' &&
17+ 'https://c7a0478d8f145e3c8f690bf523d8b9cd@o4504918397353984.ingest.us.sentry.io/4509386315071488' ,
1418
1519 // Add optional integrations for additional features
1620 integrations : [
@@ -33,9 +37,11 @@ Sentry.init({
3337
3438 // Setting this option to true will print useful information to the console while you're setting up Sentry.
3539 debug : false ,
40+
41+ release : realBrowser ?. runtime ?. getManifest ?.( ) . version ?? 'development' ,
42+ environment : process . env . NODE_ENV ?? 'development' ,
3643} ) ;
3744
38- const realBrowser = process . env . PLASMO_BROWSER === 'chrome' ? chrome : browser ;
3945async function checkPermissions ( ) {
4046 const currentPermissions : { origins ?: string [ ] } =
4147 await realBrowser . permissions . getAll ( ) ;
You can’t perform that action at this time.
0 commit comments