@phenixrts/sdk 2025.2.4-beta.617 → 2025.2.4-beta.618
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/channels/debug/channels.js +15 -2
- package/channels/debug/package.json +1 -1
- package/channels/debug.private/channels.js +15 -2
- package/channels/debug.private/package.json +1 -1
- package/channels/debug.provideGlobalScope/channels.js +15 -2
- package/channels/debug.provideGlobalScope/package.json +1 -1
- package/channels/es5.debug.private/channels.js +15 -2
- package/channels/es5.debug.private/package.json +1 -1
- package/channels/min/channels.js +1 -1
- package/channels/min/channels.js.map +1 -1
- package/channels/min/package.json +1 -1
- package/channels/min.private/channels.js +1 -1
- package/channels/min.private/channels.js.map +1 -1
- package/channels/min.private/package.json +1 -1
- package/channels/min.provideGlobalScope/channels.js +1 -1
- package/channels/min.provideGlobalScope/channels.js.map +1 -1
- package/channels/min.provideGlobalScope/package.json +1 -1
- package/channels/package.json +1 -1
- package/full/debug/full.js +15 -2
- package/full/debug/package.json +1 -1
- package/full/debug.private/full.js +15 -2
- package/full/debug.private/package.json +1 -1
- package/full/min/full.js +1 -1
- package/full/min/full.js.map +1 -1
- package/full/min/package.json +1 -1
- package/full/min.private/full.js +1 -1
- package/full/min.private/full.js.map +1 -1
- package/full/min.private/package.json +1 -1
- package/full/package.json +1 -1
- package/package.json +1 -1
- package/publish/debug/package.json +1 -1
- package/publish/debug/publish.js +15 -2
- package/publish/debug.private/package.json +1 -1
- package/publish/debug.private/publish.js +15 -2
- package/publish/min/package.json +1 -1
- package/publish/min/publish.js +1 -1
- package/publish/min/publish.js.map +1 -1
- package/publish/min.private/package.json +1 -1
- package/publish/min.private/publish.js +1 -1
- package/publish/min.private/publish.js.map +1 -1
- package/publish/package.json +1 -1
- package/types/globalScope/GlobalScope.d.ts +2 -0
- package/types/globalScope/IGlobalScope.d.ts +2 -0
- package/types/globalScope/INavigator.d.ts +1 -1
- package/types/globalScope/IWindow.d.ts +1 -0
- package/types/globalScope/ProvidedGlobalScope.d.ts +2 -0
package/publish/package.json
CHANGED
|
@@ -15,6 +15,7 @@ export declare class GlobalScope implements IGlobalScope {
|
|
|
15
15
|
static setInstance(providedGlobalScope: IProvidedGlobalScope): void;
|
|
16
16
|
static getInstance(): ReadOnlySubject<IGlobalScope>;
|
|
17
17
|
static subscribe(callback: (value: IGlobalScope | null) => void): IDisposable;
|
|
18
|
+
get AbortController(): typeof AbortController;
|
|
18
19
|
get FormData(): typeof FormData;
|
|
19
20
|
get HTMLVideoElement(): typeof HTMLVideoElement;
|
|
20
21
|
get MediaStream(): typeof MediaStream;
|
|
@@ -39,6 +40,7 @@ export declare class GlobalScope implements IGlobalScope {
|
|
|
39
40
|
get navigatorConnection(): INetworkInformation | undefined;
|
|
40
41
|
get navigatorIsOnLine(): boolean;
|
|
41
42
|
get pageLoadTime(): number | undefined;
|
|
43
|
+
get sendBeacon(): ((url: string | URL, data?: BodyInit | null) => boolean) | undefined;
|
|
42
44
|
get queueMicrotask(): (microtask: () => void) => void;
|
|
43
45
|
get removeDocumentEventListener(): (type: string, listener: (event: Event) => void, options?: boolean | AddEventListenerOptions) => void;
|
|
44
46
|
get requestAnimationFrame(): (callback: FrameRequestCallback) => number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import INetworkInformation from './INetworkInformation';
|
|
2
2
|
interface IGlobalScope {
|
|
3
|
+
readonly AbortController: typeof AbortController;
|
|
3
4
|
readonly FormData: typeof FormData;
|
|
4
5
|
readonly HTMLVideoElement: typeof HTMLVideoElement;
|
|
5
6
|
readonly MediaStream: typeof MediaStream;
|
|
@@ -24,6 +25,7 @@ interface IGlobalScope {
|
|
|
24
25
|
readonly clearTimeout: (id?: number | undefined) => void;
|
|
25
26
|
readonly documentQuerySelector: <Element extends HTMLElement>(selector: string) => Element | null;
|
|
26
27
|
readonly fetch: (input: string | URL | Request, init?: RequestInit) => Promise<Response>;
|
|
28
|
+
readonly sendBeacon?: (url: string | URL, data?: BodyInit | null) => boolean;
|
|
27
29
|
readonly queueMicrotask: (microTask: () => void) => void;
|
|
28
30
|
readonly removeDocumentEventListener: (type: string, listener: (event: Event) => void, options?: boolean | AddEventListenerOptions) => void;
|
|
29
31
|
readonly requestAnimationFrame: (callback: FrameRequestCallback) => number;
|
|
@@ -3,6 +3,6 @@ interface INavigator {
|
|
|
3
3
|
readonly onLine: boolean;
|
|
4
4
|
readonly userAgent?: string;
|
|
5
5
|
readonly connection?: INetworkInformation;
|
|
6
|
-
readonly sendBeacon
|
|
6
|
+
readonly sendBeacon?: (url: string | URL, data: BodyInit | string | null) => boolean;
|
|
7
7
|
}
|
|
8
8
|
export default INavigator;
|
|
@@ -14,6 +14,7 @@ export declare class GlobalScope implements IGlobalScope {
|
|
|
14
14
|
static setInstance(providedGlobalScope: IProvidedGlobalScope): void;
|
|
15
15
|
static getInstance(): ReadOnlySubject<IGlobalScope | null>;
|
|
16
16
|
static subscribe(callback: (value: IGlobalScope | null) => void): IDisposable;
|
|
17
|
+
get AbortController(): typeof AbortController;
|
|
17
18
|
get FormData(): typeof FormData;
|
|
18
19
|
get HTMLVideoElement(): typeof HTMLVideoElement;
|
|
19
20
|
get MediaStream(): typeof MediaStream;
|
|
@@ -38,6 +39,7 @@ export declare class GlobalScope implements IGlobalScope {
|
|
|
38
39
|
get navigatorConnection(): INetworkInformation | undefined;
|
|
39
40
|
get navigatorIsOnLine(): boolean;
|
|
40
41
|
get pageLoadTime(): number | undefined;
|
|
42
|
+
get sendBeacon(): ((url: string | URL, data?: BodyInit | null) => boolean) | undefined;
|
|
41
43
|
get queueMicrotask(): (microtask: () => void) => void;
|
|
42
44
|
get removeDocumentEventListener(): (type: string, listener: (event: Event) => void, options?: boolean | AddEventListenerOptions) => void;
|
|
43
45
|
get requestAnimationFrame(): (callback: FrameRequestCallback) => number;
|