Bump sentry (#130)

This commit is contained in:
Ildar Galeev 2022-08-09 14:15:31 +03:00 committed by GitHub
parent 84ae285e44
commit fbbe4206c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 79 additions and 81 deletions

View File

@ -35,5 +35,5 @@ jobs:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: production
environment: 'production'
sourcemaps: './dist'

148
package-lock.json generated
View File

@ -10,8 +10,8 @@
"license": "Apache-2.0",
"dependencies": {
"@dinero.js/currencies": "^2.0.0-alpha.8",
"@sentry/react": "^7.3.0",
"@sentry/tracing": "^7.3.0",
"@sentry/react": "^7.9.0",
"@sentry/tracing": "^7.9.0",
"card-validator": "8.1.1",
"credit-card-type": "9.1.0",
"date-fns": "~1.28.5",
@ -1394,13 +1394,13 @@
"integrity": "sha512-afmTuJrylUU/0OtqzaRkbyYFFNgCF73Bvel/sw90pvGrWIZ+vyoIJqA6eMSoA6+nb443kTmulmBtC9NerXboNg=="
},
"node_modules/@sentry/browser": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.3.0.tgz",
"integrity": "sha512-UJMTDbajKNRGrs4ZQNelrPDaATvSZ9uELpPOtPSG6JUvB1BCwGgsgzz55RS0Uqs7B8KhMnDQ0kIn3FMewM4FMg==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.9.0.tgz",
"integrity": "sha512-R0/EatdSBPZ+orsD5Mu/Gq8XmEfr/KCzJv05S35GVPDkIgczIJ2AYlHgchnEO0m63jDFyWLzUteQmPZ3pao9PQ==",
"dependencies": {
"@sentry/core": "7.3.0",
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"@sentry/core": "7.9.0",
"@sentry/types": "7.9.0",
"@sentry/utils": "7.9.0",
"tslib": "^1.9.3"
},
"engines": {
@ -1408,13 +1408,13 @@
}
},
"node_modules/@sentry/core": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.3.0.tgz",
"integrity": "sha512-EvuWVlYm0F0+BtIEmQiCL31Fw0cfKSwUTmxc99wvouaabpHBr2zCJHRxaXOWzxS705bYBJEQiFDTIHfoOQZMzA==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.9.0.tgz",
"integrity": "sha512-WVGd2hV7Clcpl7/GL8LsRr4Zk9o/7o4rZHfs1Qed5lMRNYcxiMwucC1CYILVpJqVfY+8vIRP9v9Ss9ta2VUikw==",
"dependencies": {
"@sentry/hub": "7.3.0",
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"@sentry/hub": "7.9.0",
"@sentry/types": "7.9.0",
"@sentry/utils": "7.9.0",
"tslib": "^1.9.3"
},
"engines": {
@ -1422,12 +1422,12 @@
}
},
"node_modules/@sentry/hub": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-7.3.0.tgz",
"integrity": "sha512-0GtTaWf/hoAMoIFY7Ke6eozIbG3FdIPM364sER4SxUQVSklp6AORrV6p82IgWPROK6aj83cPk9Bszgi6RiF/BA==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-7.9.0.tgz",
"integrity": "sha512-KzPbGCB5mONgsXEzqHy6uOaOuqLnhmFmSpGg+M03J6UJnJaNM7nrNp80MhStmjLMq6whEYVE07DrMAn3+iaQdg==",
"dependencies": {
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"@sentry/types": "7.9.0",
"@sentry/utils": "7.9.0",
"tslib": "^1.9.3"
},
"engines": {
@ -1435,13 +1435,13 @@
}
},
"node_modules/@sentry/react": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/react/-/react-7.3.0.tgz",
"integrity": "sha512-0CqJSdJfRoVKeku9rLOJlkKPZ4McEkYLmAuIDonx3DO2oOMLkcJqAAQUdPi+zFDPnOfMJWxdHC1EaTT/r66lig==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/react/-/react-7.9.0.tgz",
"integrity": "sha512-T3jHDH0AYmbyyufvKEOCFnIeLTU/bHUZM+e3eTevcq/eXFHS7JTK/8qsRnK0sYUT7/JolbpG/iq7QDkeGvSxpQ==",
"dependencies": {
"@sentry/browser": "7.3.0",
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"@sentry/browser": "7.9.0",
"@sentry/types": "7.9.0",
"@sentry/utils": "7.9.0",
"hoist-non-react-statics": "^3.3.2",
"tslib": "^1.9.3"
},
@ -1453,13 +1453,13 @@
}
},
"node_modules/@sentry/tracing": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.3.0.tgz",
"integrity": "sha512-A+mLEH8jtLkhfyw81EZA1XgI96jh9TIwH9EST3hdfSPgdZQf0A5sV8oVVh/d9Hw7NVb65Va5KhAZDNhcx5QxUA==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.9.0.tgz",
"integrity": "sha512-X4HQ7jjP7qyc4saCtq31kLqQzcBpRNifE9KccgEbNXAkKoMrg5F22oUlfN2EcEWy0vm1C23juseDsOSSMXAM+A==",
"dependencies": {
"@sentry/hub": "7.3.0",
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"@sentry/hub": "7.9.0",
"@sentry/types": "7.9.0",
"@sentry/utils": "7.9.0",
"tslib": "^1.9.3"
},
"engines": {
@ -1467,19 +1467,19 @@
}
},
"node_modules/@sentry/types": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.3.0.tgz",
"integrity": "sha512-cGkHdh9+uvbFTj65TjWcXuhe6vQiMY+U+N2GE5xCfmZT9hwuouCASViNsbJMpZqvCg+Yi0fasQLZ71rujiRNOA==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.9.0.tgz",
"integrity": "sha512-VGnUgELVMpGJCYW1triO+5XSyaPjB2Zu6esUgbb8iJ5bi+OWtxklixXgwhdaTb0FDzmRL/T/pckmrIuBTLySHQ==",
"engines": {
"node": ">=8"
}
},
"node_modules/@sentry/utils": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.3.0.tgz",
"integrity": "sha512-xUP8TBf2p/c6CN8eFQ7Y+xk0IFrJXsph5ScozqNl/2l/Xs8hd2EiYETqgUklphoYD4J2RxvPwMyqBL15QN6wNg==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.9.0.tgz",
"integrity": "sha512-4f9TZvAVopgG7Lp1TcPSekSX1Ashk68Et4T8Y+60EVX5se19i0hpytbHWWwrXSrb3w0KpGANk0byoZkdaTgkYA==",
"dependencies": {
"@sentry/types": "7.3.0",
"@sentry/types": "7.9.0",
"tslib": "^1.9.3"
},
"engines": {
@ -16912,71 +16912,71 @@
"integrity": "sha512-afmTuJrylUU/0OtqzaRkbyYFFNgCF73Bvel/sw90pvGrWIZ+vyoIJqA6eMSoA6+nb443kTmulmBtC9NerXboNg=="
},
"@sentry/browser": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.3.0.tgz",
"integrity": "sha512-UJMTDbajKNRGrs4ZQNelrPDaATvSZ9uELpPOtPSG6JUvB1BCwGgsgzz55RS0Uqs7B8KhMnDQ0kIn3FMewM4FMg==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-7.9.0.tgz",
"integrity": "sha512-R0/EatdSBPZ+orsD5Mu/Gq8XmEfr/KCzJv05S35GVPDkIgczIJ2AYlHgchnEO0m63jDFyWLzUteQmPZ3pao9PQ==",
"requires": {
"@sentry/core": "7.3.0",
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"@sentry/core": "7.9.0",
"@sentry/types": "7.9.0",
"@sentry/utils": "7.9.0",
"tslib": "^1.9.3"
}
},
"@sentry/core": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.3.0.tgz",
"integrity": "sha512-EvuWVlYm0F0+BtIEmQiCL31Fw0cfKSwUTmxc99wvouaabpHBr2zCJHRxaXOWzxS705bYBJEQiFDTIHfoOQZMzA==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.9.0.tgz",
"integrity": "sha512-WVGd2hV7Clcpl7/GL8LsRr4Zk9o/7o4rZHfs1Qed5lMRNYcxiMwucC1CYILVpJqVfY+8vIRP9v9Ss9ta2VUikw==",
"requires": {
"@sentry/hub": "7.3.0",
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"@sentry/hub": "7.9.0",
"@sentry/types": "7.9.0",
"@sentry/utils": "7.9.0",
"tslib": "^1.9.3"
}
},
"@sentry/hub": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-7.3.0.tgz",
"integrity": "sha512-0GtTaWf/hoAMoIFY7Ke6eozIbG3FdIPM364sER4SxUQVSklp6AORrV6p82IgWPROK6aj83cPk9Bszgi6RiF/BA==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-7.9.0.tgz",
"integrity": "sha512-KzPbGCB5mONgsXEzqHy6uOaOuqLnhmFmSpGg+M03J6UJnJaNM7nrNp80MhStmjLMq6whEYVE07DrMAn3+iaQdg==",
"requires": {
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"@sentry/types": "7.9.0",
"@sentry/utils": "7.9.0",
"tslib": "^1.9.3"
}
},
"@sentry/react": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/react/-/react-7.3.0.tgz",
"integrity": "sha512-0CqJSdJfRoVKeku9rLOJlkKPZ4McEkYLmAuIDonx3DO2oOMLkcJqAAQUdPi+zFDPnOfMJWxdHC1EaTT/r66lig==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/react/-/react-7.9.0.tgz",
"integrity": "sha512-T3jHDH0AYmbyyufvKEOCFnIeLTU/bHUZM+e3eTevcq/eXFHS7JTK/8qsRnK0sYUT7/JolbpG/iq7QDkeGvSxpQ==",
"requires": {
"@sentry/browser": "7.3.0",
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"@sentry/browser": "7.9.0",
"@sentry/types": "7.9.0",
"@sentry/utils": "7.9.0",
"hoist-non-react-statics": "^3.3.2",
"tslib": "^1.9.3"
}
},
"@sentry/tracing": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.3.0.tgz",
"integrity": "sha512-A+mLEH8jtLkhfyw81EZA1XgI96jh9TIwH9EST3hdfSPgdZQf0A5sV8oVVh/d9Hw7NVb65Va5KhAZDNhcx5QxUA==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-7.9.0.tgz",
"integrity": "sha512-X4HQ7jjP7qyc4saCtq31kLqQzcBpRNifE9KccgEbNXAkKoMrg5F22oUlfN2EcEWy0vm1C23juseDsOSSMXAM+A==",
"requires": {
"@sentry/hub": "7.3.0",
"@sentry/types": "7.3.0",
"@sentry/utils": "7.3.0",
"@sentry/hub": "7.9.0",
"@sentry/types": "7.9.0",
"@sentry/utils": "7.9.0",
"tslib": "^1.9.3"
}
},
"@sentry/types": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.3.0.tgz",
"integrity": "sha512-cGkHdh9+uvbFTj65TjWcXuhe6vQiMY+U+N2GE5xCfmZT9hwuouCASViNsbJMpZqvCg+Yi0fasQLZ71rujiRNOA=="
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.9.0.tgz",
"integrity": "sha512-VGnUgELVMpGJCYW1triO+5XSyaPjB2Zu6esUgbb8iJ5bi+OWtxklixXgwhdaTb0FDzmRL/T/pckmrIuBTLySHQ=="
},
"@sentry/utils": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.3.0.tgz",
"integrity": "sha512-xUP8TBf2p/c6CN8eFQ7Y+xk0IFrJXsph5ScozqNl/2l/Xs8hd2EiYETqgUklphoYD4J2RxvPwMyqBL15QN6wNg==",
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.9.0.tgz",
"integrity": "sha512-4f9TZvAVopgG7Lp1TcPSekSX1Ashk68Et4T8Y+60EVX5se19i0hpytbHWWwrXSrb3w0KpGANk0byoZkdaTgkYA==",
"requires": {
"@sentry/types": "7.3.0",
"@sentry/types": "7.9.0",
"tslib": "^1.9.3"
}
},

View File

@ -16,8 +16,8 @@
"license": "Apache-2.0",
"dependencies": {
"@dinero.js/currencies": "^2.0.0-alpha.8",
"@sentry/react": "^7.3.0",
"@sentry/tracing": "^7.3.0",
"@sentry/react": "^7.9.0",
"@sentry/tracing": "^7.9.0",
"card-validator": "8.1.1",
"credit-card-type": "9.1.0",
"date-fns": "~1.28.5",

View File

@ -18,12 +18,10 @@ export function* initialize(userInitConfig: InitConfig) {
const configChunk = yield call(loadConfig, userInitConfig.locale);
if (configChunk.appConfig.sentryDsn) {
Sentry.init({
environment: 'production',
dsn: configChunk.appConfig.sentryDsn,
integrations: [new Integrations.BrowserTracing()],
// We recommend adjusting this value in production, or using tracesSampler
// for finer control
tracesSampleRate: 1.0
tracesSampleRate: 0.5
});
}
const { model, events } = yield call(initializeModel, configChunk.appConfig.capiEndpoint, userInitConfig);