import { OpenYoloError } from '../protocol/errors' ; import { FakeOpenYoloApi , InitializeOnDemandApi , openyolo } from './api' ; export * from '../protocol/data' ; export { OpenYoloInternalError , InternalErrorCode } from '../protocol/errors' ; const windowAsAny = window as any ; windowAsAny [ 'openyolo' ] = openyolo ; InitializeOnDemandApi . prototype [ 'setProviderUrlBase' ] = InitializeOnDemandApi . prototype . setProviderUrlBase ; InitializeOnDemandApi . prototype [ 'setFeatureConfig' ] = InitializeOnDemandApi . prototype . setFeatureConfig ; InitializeOnDemandApi . prototype [ 'setRenderMode' ] = InitializeOnDemandApi . prototype . setRenderMode ; InitializeOnDemandApi . prototype [ 'setTimeouts' ] = InitializeOnDemandApi . prototype . setTimeouts ; InitializeOnDemandApi . prototype [ 'hintsAvailable' ] = InitializeOnDemandApi . prototype . hintsAvailable ; InitializeOnDemandApi . prototype [ 'hint' ] = InitializeOnDemandApi . prototype . hint ; InitializeOnDemandApi . prototype [ 'retrieve' ] = InitializeOnDemandApi . prototype . retrieve ; InitializeOnDemandApi . prototype [ 'save' ] = InitializeOnDemandApi . prototype . save ; InitializeOnDemandApi . prototype [ 'disableAutoSignIn' ] = InitializeOnDemandApi . prototype . disableAutoSignIn ; InitializeOnDemandApi . prototype [ 'proxyLogin' ] = InitializeOnDemandApi . prototype . proxyLogin ; InitializeOnDemandApi . prototype [ 'cancelLastOperation' ] = InitializeOnDemandApi . prototype . cancelLastOperation ; FakeOpenYoloApi . prototype [ 'setProviderUrlBase' ] = FakeOpenYoloApi . prototype . setProviderUrlBase ; FakeOpenYoloApi . prototype [ 'setFeatureConfig' ] = FakeOpenYoloApi . prototype . setFeatureConfig ; FakeOpenYoloApi . prototype [ 'setRenderMode' ] = FakeOpenYoloApi . prototype . setRenderMode ; FakeOpenYoloApi . prototype [ 'setTimeouts' ] = FakeOpenYoloApi . prototype . setTimeouts ; FakeOpenYoloApi . prototype [ 'hintsAvailable' ] = FakeOpenYoloApi . prototype . hintsAvailable ; FakeOpenYoloApi . prototype [ 'hint' ] = FakeOpenYoloApi . prototype . hint ; FakeOpenYoloApi . prototype [ 'retrieve' ] = FakeOpenYoloApi . prototype . retrieve ; FakeOpenYoloApi . prototype [ 'save' ] = FakeOpenYoloApi . prototype . save ; FakeOpenYoloApi . prototype [ 'disableAutoSignIn' ] = FakeOpenYoloApi . prototype . disableAutoSignIn ; FakeOpenYoloApi . prototype [ 'proxyLogin' ] = FakeOpenYoloApi . prototype . proxyLogin ; FakeOpenYoloApi . prototype [ 'cancelLastOperation' ] = FakeOpenYoloApi . prototype . cancelLastOperation ; windowAsAny [ 'OpenYoloError' ] = OpenYoloError ; OpenYoloError . prototype [ 'type' ] = OpenYoloError . prototype . type ; OpenYoloError . prototype [ 'message' ] = OpenYoloError . prototype . message ;