File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { SDKEvent , SDKEventCustomFlags } from './sdkRuntimeModels' ;
1+ import { SDKEvent , SDKEventCustomFlags , SDKLoggerApi } from './sdkRuntimeModels' ;
22import { Dictionary } from './utils' ;
33import {
44 IKitConfigs ,
@@ -103,6 +103,9 @@ export interface ConfiguredKit
103103 // TODO: https://go.mparticle.com/work/SQDSDKS-5156
104104 isSandbox : boolean ;
105105 hasSandbox : boolean ;
106+
107+ initialized ?: boolean ;
108+ logger ?: SDKLoggerApi ;
106109}
107110
108111export interface KitInterface {
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import {
1818 IForwarders ,
1919 MPForwarder ,
2020 RegisteredKit ,
21+ ConfiguredKit ,
2122 forwardingStatsCallback as ForwardingStatsCallback ,
2223 SideloadedKit ,
2324} from './forwarders.interfaces' ;
@@ -67,7 +68,7 @@ export default function Forwarders(
6768 ) ;
6869 } ) ;
6970
70- mpInstance . _Store . activeForwarders = mpInstance . _Store . configuredForwarders . filter (
71+ mpInstance . _Store . activeForwarders = ( mpInstance . _Store . configuredForwarders as unknown as ConfiguredKit [ ] ) . filter (
7172 ( forwarder ) => {
7273 if (
7374 ! mpInstance . _Consent . isEnabledForUserConsent (
You can’t perform that action at this time.
0 commit comments