Skip to content

Commit 53c4b7a

Browse files
committed
rename files
1 parent 5fd4cb1 commit 53c4b7a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/shared/helpers/service-worker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
import { debug, error, warn } from 'src/shared/libraries/log';
12
import {
23
cancelableTimeout,
34
type CancelableTimeoutPromise,
4-
} from '../../sw/helpers/CancelableTimeout';
5+
} from '../../sw/helpers/timeout';
56
import { sendSessionDuration, updateUserSession } from '../api/sw';
67
import { encodeHashAsUriComponent } from '../context/helpers';
78
import {
@@ -19,7 +20,6 @@ import { initializeNewSession } from '../session/helpers';
1920
import type { Session, SessionOriginValue } from '../session/types';
2021
import { getConfigAttribution } from './OutcomesHelper';
2122
import { getBaseUrl } from './general';
22-
import { debug, error, warn } from 'src/shared/libraries/log';
2323

2424
export function getServiceWorkerHref(
2525
config: ServiceWorkerManagerConfig,

src/sw/serviceWorker/ServiceWorker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ import type { NotificationTypeValue } from 'src/shared/subscriptions/types';
5151
import { Browser } from 'src/shared/useragent/constants';
5252
import { getBrowserName } from 'src/shared/useragent/detect';
5353
import { VERSION } from 'src/shared/utils/env';
54-
import { cancelableTimeout } from '../helpers/CancelableTimeout';
5554
import {
5655
isValidPayload,
5756
toNativeNotificationAction,
5857
toOSNotification,
5958
} from '../helpers/notifications';
59+
import { cancelableTimeout } from '../helpers/timeout';
6060
import {
6161
notificationClick,
6262
notificationDismissed,

0 commit comments

Comments
 (0)