diff --git a/src/core/auth/auth_transports.ts b/src/core/auth/auth_transports.ts index adf169f78..7ed7d1081 100644 --- a/src/core/auth/auth_transports.ts +++ b/src/core/auth/auth_transports.ts @@ -1,4 +1,4 @@ -import AbstractRuntime from 'runtimes/interface'; +import AbstractRuntime from '../../runtimes/interface'; interface AuthTransport { (context: AbstractRuntime, socketId: string, callback: Function): void; diff --git a/src/core/pusher.ts b/src/core/pusher.ts index 24d447e6e..7050b9269 100644 --- a/src/core/pusher.ts +++ b/src/core/pusher.ts @@ -1,4 +1,4 @@ -import AbstractRuntime from 'runtimes/interface'; +import AbstractRuntime from '../runtimes/interface'; import Runtime from 'runtime'; import Util from './util'; import * as Collections from './utils/collections'; diff --git a/src/core/timeline/timeline_transport.ts b/src/core/timeline/timeline_transport.ts index a9cb3f44c..c3a7a894c 100644 --- a/src/core/timeline/timeline_transport.ts +++ b/src/core/timeline/timeline_transport.ts @@ -1,4 +1,4 @@ -import TimelineSender from 'core/timeline/timeline_sender'; +import TimelineSender from '../timeline/timeline_sender'; interface TimelineTransport { name: string; diff --git a/src/runtimes/interface.ts b/src/runtimes/interface.ts index b30636199..cdea74efc 100644 --- a/src/runtimes/interface.ts +++ b/src/runtimes/interface.ts @@ -1,15 +1,15 @@ -import { AuthTransports } from 'core/auth/auth_transports'; -import TimelineSender from 'core/timeline/timeline_sender'; -import TimelineTransport from 'core/timeline/timeline_transport'; -import Ajax from 'core/http/ajax'; -import Reachability from 'core/reachability'; -import TransportsTable from 'core/transports/transports_table'; -import Socket from 'core/socket'; -import HTTPFactory from 'core/http/http_factory'; -import HTTPRequest from 'core/http/http_request'; -import Pusher from 'core/pusher'; +import { AuthTransports } from '../core/auth/auth_transports'; +import TimelineSender from '../core/timeline/timeline_sender'; +import TimelineTransport from '../core/timeline/timeline_transport'; +import Ajax from '../core/http/ajax'; +import Reachability from '../core/reachability'; +import TransportsTable from '../core/transports/transports_table'; +import Socket from '../core/socket'; +import HTTPFactory from '../core/http/http_factory'; +import HTTPRequest from '../core/http/http_request'; +import Pusher from '../core/pusher'; import JSONPRequest from './web/dom/jsonp_request'; -import Strategy from 'core/strategies/strategy'; +import Strategy from '../core/strategies/strategy'; /* This interface is implemented in web/runtime, node/runtime, react-native/runtime diff --git a/types/src/core/auth/auth_transports.d.ts b/types/src/core/auth/auth_transports.d.ts index 5909918e6..329da4665 100644 --- a/types/src/core/auth/auth_transports.d.ts +++ b/types/src/core/auth/auth_transports.d.ts @@ -1,4 +1,4 @@ -import AbstractRuntime from 'runtimes/interface'; +import AbstractRuntime from '../../runtimes/interface'; interface AuthTransport { (context: AbstractRuntime, socketId: string, callback: Function): void; } diff --git a/types/src/core/pusher.d.ts b/types/src/core/pusher.d.ts index 95ae1da97..017608211 100644 --- a/types/src/core/pusher.d.ts +++ b/types/src/core/pusher.d.ts @@ -1,4 +1,4 @@ -import AbstractRuntime from 'runtimes/interface'; +import AbstractRuntime from '../runtimes/interface'; import Channels from './channels/channels'; import Channel from './channels/channel'; import { default as EventsDispatcher } from './events/dispatcher'; diff --git a/types/src/core/timeline/timeline_transport.d.ts b/types/src/core/timeline/timeline_transport.d.ts index 54173b16f..00575532f 100644 --- a/types/src/core/timeline/timeline_transport.d.ts +++ b/types/src/core/timeline/timeline_transport.d.ts @@ -1,4 +1,4 @@ -import TimelineSender from 'core/timeline/timeline_sender'; +import TimelineSender from '../timeline/timeline_sender'; interface TimelineTransport { name: string; getAgent: (sender: TimelineSender, useTLS: boolean) => (data: any, callback: Function) => void; diff --git a/types/src/runtimes/interface.d.ts b/types/src/runtimes/interface.d.ts index 4e6631f27..e79b93484 100644 --- a/types/src/runtimes/interface.d.ts +++ b/types/src/runtimes/interface.d.ts @@ -1,14 +1,14 @@ -import { AuthTransports } from 'core/auth/auth_transports'; -import TimelineTransport from 'core/timeline/timeline_transport'; -import Ajax from 'core/http/ajax'; -import Reachability from 'core/reachability'; -import TransportsTable from 'core/transports/transports_table'; -import Socket from 'core/socket'; -import HTTPFactory from 'core/http/http_factory'; -import HTTPRequest from 'core/http/http_request'; -import Pusher from 'core/pusher'; +import { AuthTransports } from '../core/auth/auth_transports'; +import TimelineTransport from '../core/timeline/timeline_transport'; +import Ajax from '../core/http/ajax'; +import Reachability from '../core/reachability'; +import TransportsTable from '../core/transports/transports_table'; +import Socket from '../core/socket'; +import HTTPFactory from '../core/http/http_factory'; +import HTTPRequest from '../core/http/http_request'; +import Pusher from '../core/pusher'; import JSONPRequest from './web/dom/jsonp_request'; -import Strategy from 'core/strategies/strategy'; +import Strategy from '../core/strategies/strategy'; interface Runtime { setup(PusherClass: { new (key: string, options: any): Pusher;