Skip to content

Commit b50f7b1

Browse files
committed
wip
1 parent 8285a1c commit b50f7b1

File tree

1 file changed

+1
-5
lines changed
  • packages/browser/src/core/analytics

1 file changed

+1
-5
lines changed

packages/browser/src/core/analytics/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class AnalyticsInstanceSettings {
9595
*/
9696
timeout = 300
9797

98-
constructor(settings: AnalyticsInstanceSettingsOptions, queue: EventQueue) {
98+
constructor(settings: AnalyticsSettings, queue: EventQueue) {
9999
this._getSegmentPluginMetadata = () =>
100100
queue.plugins.find(isSegmentPlugin)?.metadata
101101
this.writeKey = settings.writeKey
@@ -116,10 +116,6 @@ export interface AnalyticsSettings {
116116
cdnURL?: string
117117
}
118118

119-
interface AnalyticsInstanceSettingsOptions extends AnalyticsSettings {
120-
getSegmentPluginMetadata?: () => SegmentIOPluginMetadata | undefined
121-
}
122-
123119
export interface InitOptions {
124120
/**
125121
* Disables storing any data on the client-side via cookies or localstorage.

0 commit comments

Comments
 (0)