|
| 1 | +import { Utils } from "../context/shared/utils/Utils"; |
1 | 2 | import Environment from '../Environment'; |
| 3 | +import NotImplementedError from '../errors/NotImplementedError'; |
| 4 | +import ServiceWorkerRegistrationError from "../errors/ServiceWorkerRegistrationError"; |
| 5 | +import Event from '../Event'; |
| 6 | +import ServiceWorkerUtilHelper from "../helpers/page/ServiceWorkerUtilHelper"; |
| 7 | +import ServiceWorkerHelper, { ServiceWorkerActiveState, ServiceWorkerManagerConfig } from "../helpers/ServiceWorkerHelper"; |
| 8 | +import Log from '../libraries/Log'; |
2 | 9 | import { WorkerMessengerCommand } from '../libraries/WorkerMessenger'; |
3 | | -import Path from '../models/Path'; |
4 | 10 | import SdkEnvironment from '../managers/SdkEnvironment'; |
5 | | -import Database from '../services/Database'; |
| 11 | +import { ContextSWInterface } from '../models/ContextSW'; |
6 | 12 | import { IntegrationKind } from '../models/IntegrationKind'; |
| 13 | +import Path from '../models/Path'; |
| 14 | +import { PageVisibilityRequest, PageVisibilityResponse } from "../models/Session"; |
7 | 15 | import { WindowEnvironmentKind } from '../models/WindowEnvironmentKind'; |
8 | | -import NotImplementedError from '../errors/NotImplementedError'; |
9 | | -import ProxyFrameHost from '../modules/frames/ProxyFrameHost'; |
10 | | -import Log from '../libraries/Log'; |
11 | | -import Event from '../Event'; |
12 | 16 | import ProxyFrame from '../modules/frames/ProxyFrame'; |
13 | | -import ServiceWorkerRegistrationError from "../errors/ServiceWorkerRegistrationError"; |
| 17 | +import ProxyFrameHost from '../modules/frames/ProxyFrameHost'; |
| 18 | +import Database from '../services/Database'; |
14 | 19 | import OneSignalUtils from "../utils/OneSignalUtils"; |
15 | | -import ServiceWorkerHelper, { ServiceWorkerActiveState, ServiceWorkerManagerConfig } |
16 | | - from "../helpers/ServiceWorkerHelper"; |
17 | | -import { ContextSWInterface } from '../models/ContextSW'; |
18 | | -import { Utils } from "../context/shared/utils/Utils"; |
19 | | -import { PageVisibilityRequest, PageVisibilityResponse } from "../models/Session"; |
20 | | -import ServiceWorkerUtilHelper from "../helpers/page/ServiceWorkerUtilHelper"; |
21 | 20 |
|
22 | 21 | export class ServiceWorkerManager { |
23 | 22 | private context: ContextSWInterface; |
|
0 commit comments