Move endpoints module from lib/ to cast/

This commit is contained in:
hensm
2022-04-16 04:15:41 +01:00
parent c217f6cde1
commit 71904f32ed
4 changed files with 8 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ import { getChromeUserAgent } from "../lib/userAgents";
import { import {
CAST_FRAMEWORK_LOADER_SCRIPT_URL, CAST_FRAMEWORK_LOADER_SCRIPT_URL,
CAST_LOADER_SCRIPT_URL CAST_LOADER_SCRIPT_URL
} from "../lib/endpoints"; } from "../cast/endpoints";
// Missing on @types/firefox-webext-browser // Missing on @types/firefox-webext-browser
type OnBeforeSendHeadersDetails = Parameters< type OnBeforeSendHeadersDetails = Parameters<

View File

@@ -1,6 +1,6 @@
"use strict"; "use strict";
import { CAST_LOADER_SCRIPT_URL, CAST_SCRIPT_URLS } from "../lib/endpoints"; import { CAST_LOADER_SCRIPT_URL, CAST_SCRIPT_URLS } from "./endpoints";
const _window = window.wrappedJSObject as any; const _window = window.wrappedJSObject as any;

View File

@@ -3,8 +3,8 @@
import * as cast from "./api"; import * as cast from "./api";
import logger from "../lib/logger"; import logger from "../lib/logger";
import { CAST_FRAMEWORK_SCRIPT_URL } from "../lib/endpoints";
import { loadScript } from "../lib/utils"; import { loadScript } from "../lib/utils";
import { CAST_FRAMEWORK_SCRIPT_URL } from "./endpoints";
import { onMessage } from "./eventMessageChannel"; import { onMessage } from "./eventMessageChannel";
const _window = window as any; const _window = window as any;