@@ -16,24 +16,22 @@ var Sentry = (module.exports = integration('Sentry')
1616 . global ( 'Sentry' )
1717 . option ( 'config' , '' )
1818 . option ( 'environment' , null )
19- . option ( 'serverName' , null )
2019 . option ( 'release' , null )
2120 . option ( 'ignoreErrors' , [ ] ) // still exists, but not documented on Sentry's website
2221 . option ( 'ignoreUrls' , [ ] )
2322 . option ( 'whitelistUrls' , [ ] )
2423 . option ( 'includePaths' , [ ] ) // maps to Sentry.Integrations.RewriteFrames plugin
25- . option ( 'maxMessageLength' , null ) // deprecated
2624 . option ( 'logger' , null )
2725 . option ( 'customVersionProperty' , null )
2826 . option ( 'debug' , false )
2927 . tag (
3028 'sentry' ,
31- '<script src="https://browser.sentry-cdn.com/5.12.1 /bundle.min.js" integrity="sha384-y+an4eARFKvjzOivf/Z7JtMJhaN6b+lLQ5oFbBbUwZNNVir39cYtkjW1r6Xjbxg3 " crossorigin="anonymous"></script>'
29+ '<script src="https://browser.sentry-cdn.com/7.45.0 /bundle.min.js" integrity="sha384-eB2/mQAt3oY62hGYFXiPg18greyp8WT/GvKHlsvdYbvSxBRGEhBqEX8L7giHxzvp " crossorigin="anonymous"></script>'
3230 )
3331 // Sentry.Integrations.RewriteFrames plugin: https://docs.sentry.io/platforms/javascript/#rewriteframes
3432 . tag (
3533 'plugin' ,
36- '<script src="https://browser.sentry-cdn.com/5.12.1 /rewriteframes.min.js" crossorigin="anonymous"></script>'
34+ '<script src="https://browser.sentry-cdn.com/7.45.0 /rewriteframes.min.js" integrity="sha384-m1kRQsSdJkB99lz+1ZvWWjrj0SPH0wXH8y7gvdjHAtKBP8lrLrcv9iF7fOQGL8I0 " crossorigin="anonymous"></script>'
3735 ) ) ;
3836
3937/**
@@ -52,9 +50,8 @@ Sentry.prototype.initialize = function() {
5250 dsn : this . options . config ,
5351 environment : this . options . environment ,
5452 release : customRelease || this . options . release ,
55- serverName : this . options . serverName ,
56- whitelistUrls : this . options . whitelistUrls ,
57- blacklistUrls : this . options . ignoreUrls ,
53+ allowUrls : this . options . whitelistUrls ,
54+ denyUrls : this . options . ignoreUrls ,
5855 // ignoreErrors still exists, but is not documented on Sentry's website
5956 // https://github.com/getsentry/sentry-javascript/blob/master/packages/core/src/integrations/inboundfilters.ts#L12
6057 ignoreErrors : this . options . ignoreErrors ,
0 commit comments