Skip to content

Commit 75e71fe

Browse files
committed
fix: Remove unused options
1 parent 707e622 commit 75e71fe

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/integrations/src/transactionactivity.ts

-7
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ import { getGlobalObject } from '@sentry/utils';
44
/** JSDoc */
55
interface TransactionActivityOptions {
66
idleTimeout: number;
7-
patchHistory: boolean;
8-
/**
9-
* Called when an history change happend
10-
*/
11-
onLocationChange(state: any): string;
127
startTransactionOnLocationChange: boolean;
138
tracesSampleRate: number;
149
}
@@ -60,8 +55,6 @@ export class TransactionActivity implements Integration {
6055
public constructor(public readonly _options?: Partial<TransactionActivityOptions>) {
6156
const defaults = {
6257
idleTimeout: 500,
63-
onLocationChange: () => global.location.href,
64-
patchHistory: true,
6558
startTransactionOnLocationChange: true,
6659
tracesSampleRate: 1,
6760
};

0 commit comments

Comments
 (0)