@@ -16,24 +16,22 @@ var Sentry = (module.exports = integration('Sentry')
16
16
. global ( 'Sentry' )
17
17
. option ( 'config' , '' )
18
18
. option ( 'environment' , null )
19
- . option ( 'serverName' , null )
20
19
. option ( 'release' , null )
21
20
. option ( 'ignoreErrors' , [ ] ) // still exists, but not documented on Sentry's website
22
21
. option ( 'ignoreUrls' , [ ] )
23
22
. option ( 'whitelistUrls' , [ ] )
24
23
. option ( 'includePaths' , [ ] ) // maps to Sentry.Integrations.RewriteFrames plugin
25
- . option ( 'maxMessageLength' , null ) // deprecated
26
24
. option ( 'logger' , null )
27
25
. option ( 'customVersionProperty' , null )
28
26
. option ( 'debug' , false )
29
27
. tag (
30
28
'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>'
32
30
)
33
31
// Sentry.Integrations.RewriteFrames plugin: https://docs.sentry.io/platforms/javascript/#rewriteframes
34
32
. tag (
35
33
'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>'
37
35
) ) ;
38
36
39
37
/**
@@ -52,9 +50,8 @@ Sentry.prototype.initialize = function() {
52
50
dsn : this . options . config ,
53
51
environment : this . options . environment ,
54
52
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 ,
58
55
// ignoreErrors still exists, but is not documented on Sentry's website
59
56
// https://github.com/getsentry/sentry-javascript/blob/master/packages/core/src/integrations/inboundfilters.ts#L12
60
57
ignoreErrors : this . options . ignoreErrors ,
0 commit comments