use self
This commit is contained in:
parent
06580d90b7
commit
63516b3217
2 changed files with 7 additions and 7 deletions
|
|
@ -1,32 +1,32 @@
|
|||
/**
|
||||
* @type {import('./uv').UltravioletCtor}
|
||||
*/
|
||||
const Ultraviolet = globalThis.Ultraviolet;
|
||||
const Ultraviolet = self.Ultraviolet;
|
||||
|
||||
/**
|
||||
* @type {import('./uv').UVClientCtor}
|
||||
*/
|
||||
const UVClient = globalThis.UVClient;
|
||||
const UVClient = self.UVClient;
|
||||
|
||||
/**
|
||||
* @type {import('./uv').UVConfig}
|
||||
*/
|
||||
const __uv$config = globalThis.__uv$config;
|
||||
const __uv$config = self.__uv$config;
|
||||
|
||||
/**
|
||||
* @type {import('@tomphttp/bare-client').BareManifest}
|
||||
*/
|
||||
const __uv$bareData = globalThis.__uv$bareData;
|
||||
const __uv$bareData = self.__uv$bareData;
|
||||
|
||||
/**
|
||||
* @type {string}
|
||||
*/
|
||||
const __uv$bareURL = globalThis.__uv$bareURL;
|
||||
const __uv$bareURL = self.__uv$bareURL;
|
||||
|
||||
/**
|
||||
* @type {string}
|
||||
*/
|
||||
const __uv$cookies = globalThis.__uv$cookies;
|
||||
const __uv$cookies = self.__uv$cookies;
|
||||
|
||||
if (
|
||||
typeof __uv$bareData !== 'object' ||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
/**
|
||||
* @type {import('./uv').UltravioletCtor}
|
||||
*/
|
||||
const Ultraviolet = globalThis.Ultraviolet;
|
||||
const Ultraviolet = self.Ultraviolet;
|
||||
|
||||
const cspHeaders = [
|
||||
'cross-origin-embedder-policy',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue