@@ -2,7 +2,7 @@ import { v4 as uuid } from '@lukeed/uuid'
22import { ID , User } from '../user'
33import {
44 Options ,
5- Integrations ,
5+ IntegrationsOptions ,
66 EventProperties ,
77 Traits ,
88 SegmentEvent ,
@@ -53,7 +53,7 @@ export class EventFactory extends CoreEventFactory {
5353 event : string ,
5454 properties ?: EventProperties ,
5555 options ?: Options ,
56- globalIntegrations ?: Integrations ,
56+ globalIntegrations ?: IntegrationsOptions ,
5757 pageCtx ?: PageContext
5858 ) : SegmentEvent {
5959 const ev = super . track ( event , properties , options , globalIntegrations )
@@ -66,7 +66,7 @@ export class EventFactory extends CoreEventFactory {
6666 page : string | null ,
6767 properties ?: EventProperties ,
6868 options ?: Options ,
69- globalIntegrations ?: Integrations ,
69+ globalIntegrations ?: IntegrationsOptions ,
7070 pageCtx ?: PageContext
7171 ) : SegmentEvent {
7272 const ev = super . page (
@@ -85,7 +85,7 @@ export class EventFactory extends CoreEventFactory {
8585 screen : string | null ,
8686 properties ?: EventProperties ,
8787 options ?: Options ,
88- globalIntegrations ?: Integrations ,
88+ globalIntegrations ?: IntegrationsOptions ,
8989 pageCtx ?: PageContext
9090 ) : SegmentEvent {
9191 const ev = super . screen (
@@ -103,7 +103,7 @@ export class EventFactory extends CoreEventFactory {
103103 userId : ID ,
104104 traits ?: Traits ,
105105 options ?: Options ,
106- globalIntegrations ?: Integrations ,
106+ globalIntegrations ?: IntegrationsOptions ,
107107 pageCtx ?: PageContext
108108 ) : SegmentEvent {
109109 const ev = super . identify ( userId , traits , options , globalIntegrations )
@@ -115,7 +115,7 @@ export class EventFactory extends CoreEventFactory {
115115 groupId : ID ,
116116 traits ?: Traits ,
117117 options ?: Options ,
118- globalIntegrations ?: Integrations ,
118+ globalIntegrations ?: IntegrationsOptions ,
119119 pageCtx ?: PageContext
120120 ) : SegmentEvent {
121121 const ev = super . group ( groupId , traits , options , globalIntegrations )
@@ -127,7 +127,7 @@ export class EventFactory extends CoreEventFactory {
127127 to : string ,
128128 from : string | null ,
129129 options ?: Options ,
130- globalIntegrations ?: Integrations ,
130+ globalIntegrations ?: IntegrationsOptions ,
131131 pageCtx ?: PageContext
132132 ) : SegmentEvent {
133133 const ev = super . alias ( to , from , options , globalIntegrations )
0 commit comments