apollo-link-sentry
Advanced tools
Comparing version 3.3.0 to 4.0.0
@@ -11,5 +11,3 @@ "use strict"; | ||
if (name) { | ||
(0, browser_1.configureScope)(function (scope) { | ||
scope.setTransactionName(name.value); | ||
}); | ||
(0, browser_1.getCurrentScope)().setTransactionName(name.value); | ||
} | ||
@@ -23,5 +21,3 @@ } | ||
if (name) { | ||
(0, browser_1.configureScope)(function (scope) { | ||
scope.setFingerprint([exports.DEFAULT_FINGERPRINT, name.value]); | ||
}); | ||
(0, browser_1.getCurrentScope)().setFingerprint([exports.DEFAULT_FINGERPRINT, name.value]); | ||
} | ||
@@ -28,0 +24,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { addBreadcrumb, configureScope, } from '@sentry/browser'; | ||
import { addBreadcrumb, getCurrentScope } from '@sentry/browser'; | ||
import { extractDefinition } from './operation'; | ||
@@ -8,5 +8,3 @@ import { stringifyObjectKeys } from './utils'; | ||
if (name) { | ||
configureScope((scope) => { | ||
scope.setTransactionName(name.value); | ||
}); | ||
getCurrentScope().setTransactionName(name.value); | ||
} | ||
@@ -19,5 +17,3 @@ } | ||
if (name) { | ||
configureScope((scope) => { | ||
scope.setFingerprint([DEFAULT_FINGERPRINT, name.value]); | ||
}); | ||
getCurrentScope().setFingerprint([DEFAULT_FINGERPRINT, name.value]); | ||
} | ||
@@ -24,0 +20,0 @@ } |
{ | ||
"name": "apollo-link-sentry", | ||
"version": "3.3.0", | ||
"version": "4.0.0", | ||
"license": "MIT", | ||
@@ -43,3 +43,3 @@ "author": "Diederik van den Burger <diederikvandenburger@tab.capital>", | ||
"@apollo/client": "^3.2.3", | ||
"@sentry/browser": "^7.41.0", | ||
"@sentry/browser": "^8.0.0", | ||
"graphql": "15 - 16" | ||
@@ -51,3 +51,3 @@ }, | ||
"@semantic-release/git": "^10.0.1", | ||
"@sentry/browser": "^7.41.0", | ||
"@sentry/browser": "^8.0.0", | ||
"@types/jest": "^27.0.3", | ||
@@ -54,0 +54,0 @@ "@typescript-eslint/eslint-plugin": "^5.7.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
34528
637