From 42c22d00e3e1ce632d6458018ae03436f9b02514 Mon Sep 17 00:00:00 2001 From: Carlos Date: Wed, 27 Oct 2021 20:15:24 +0200 Subject: [PATCH] fix: relative import removed in appsflyer plugin --- packages/plugins/plugin-appsflyer/src/methods/identify.ts | 2 +- packages/plugins/plugin-appsflyer/src/methods/track.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugins/plugin-appsflyer/src/methods/identify.ts b/packages/plugins/plugin-appsflyer/src/methods/identify.ts index 0e713dbc9..5e513c026 100644 --- a/packages/plugins/plugin-appsflyer/src/methods/identify.ts +++ b/packages/plugins/plugin-appsflyer/src/methods/identify.ts @@ -1,5 +1,5 @@ import appsFlyer from 'react-native-appsflyer'; -import type { IdentifyEventType } from '../../../../core/src/types'; +import type { IdentifyEventType } from '@segment/analytics-react-native'; export default (event: IdentifyEventType) => { const userId = event.userId; diff --git a/packages/plugins/plugin-appsflyer/src/methods/track.ts b/packages/plugins/plugin-appsflyer/src/methods/track.ts index 9610a08b5..be2ed7ce2 100644 --- a/packages/plugins/plugin-appsflyer/src/methods/track.ts +++ b/packages/plugins/plugin-appsflyer/src/methods/track.ts @@ -1,5 +1,5 @@ -import type { TrackEventType } from '../../../../core/src/types'; import appsFlyer from 'react-native-appsflyer'; +import type { TrackEventType } from '@segment/analytics-react-native'; type Properties = { [key: string]: any };