@ikonai/sdk 1.0.60 → 1.0.61
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/assets/{audio-playback-worker-DDytpSb8.js → audio-playback-worker-BhikbMvg.js} +1 -1
- package/assets/{protocol-worker-HqYf8zdj.js → protocol-worker-C1bzc65g.js} +1 -1
- package/assets/{video-capture-worker-CzxOnQmS.js → video-capture-worker-aMgUqmMd.js} +81 -81
- package/assets/{video-playback-worker-DPsTlza0.js → video-playback-worker-Cfg2cyD1.js} +11 -11
- package/client/ikon-client.d.ts +6 -0
- package/connection/authenticator.d.ts +1 -0
- package/functions/browser-functions.d.ts +4 -0
- package/index.js +2258 -2118
- package/package.json +1 -1
package/client/ikon-client.d.ts
CHANGED
|
@@ -95,6 +95,7 @@ export declare class IkonClient {
|
|
|
95
95
|
private workerManagerState;
|
|
96
96
|
private authResponse;
|
|
97
97
|
private _connectUrl;
|
|
98
|
+
private _brandingRequired;
|
|
98
99
|
private currentState;
|
|
99
100
|
private _connectStarted;
|
|
100
101
|
private connectionTimer;
|
|
@@ -221,6 +222,11 @@ export declare class IkonClient {
|
|
|
221
222
|
* Returns undefined if not connected.
|
|
222
223
|
*/
|
|
223
224
|
get sessionId(): number | undefined;
|
|
225
|
+
/**
|
|
226
|
+
* Whether the backend connect handshake asked the client to display the platform
|
|
227
|
+
* branding banner (set for low-tier app creators). Defaults to false.
|
|
228
|
+
*/
|
|
229
|
+
get brandingRequired(): boolean;
|
|
224
230
|
/**
|
|
225
231
|
* Get the current GlobalState from the server.
|
|
226
232
|
* Returns null if not yet received.
|
|
@@ -32,6 +32,10 @@ export declare function getIsTouchDevice(): boolean;
|
|
|
32
32
|
* Returns MobileWeb for touch devices with small screens, DesktopWeb otherwise.
|
|
33
33
|
*/
|
|
34
34
|
export declare function detectClientType(): ClientType;
|
|
35
|
+
export declare function setPushConfig(config: {
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
vapidPublicKey?: string;
|
|
38
|
+
} | null | undefined): void;
|
|
35
39
|
/**
|
|
36
40
|
* Register all browser convenience functions with a registry.
|
|
37
41
|
* Returns an unregister function that removes all browser functions.
|