We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b077a commit c90048fCopy full SHA for c90048f
packages/core/src/getCurrentHubShim.ts
@@ -54,14 +54,11 @@ export function getCurrentHubShim(): Hub {
54
},
55
56
startSession,
57
-
58
endSession,
59
60
- captureSession(endSession?: boolean): void {
+ captureSession(end?: boolean): void {
61
// both send the update and pull the session from the scope
62
- if (endSession) {
63
- // eslint-disable-next-line deprecation/deprecation
64
- return this.endSession();
+ if (end) {
+ return endSession();
65
}
66
67
// only send the update
0 commit comments