@ikonai/sdk 1.0.51 → 1.0.53
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/client/ikon-client.d.ts +8 -0
- package/index.js +1808 -1717
- package/package.json +1 -1
- package/reactive/reactive-registry.d.ts +41 -0
package/client/ikon-client.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { GlobalState, ProtocolMessage } from '../../../../shared/protocol/src/index.ts';
|
|
2
2
|
import { WebRTCSignaling } from '../webrtc';
|
|
3
3
|
import { FunctionRegistry } from '../functions/function-registry';
|
|
4
|
+
import { ReactiveRegistry } from '../reactive/reactive-registry';
|
|
4
5
|
import { IkonMedia } from '../media/ikon-media';
|
|
5
6
|
import { IkonMediaCapture } from '../media/ikon-media-capture';
|
|
6
7
|
import { ConnectionState } from './connection-state';
|
|
@@ -121,6 +122,7 @@ export declare class IkonClient {
|
|
|
121
122
|
private _joinedHandled;
|
|
122
123
|
private _environmentTrackingSetup;
|
|
123
124
|
private readonly _functionRegistry;
|
|
125
|
+
private readonly _reactiveRegistry;
|
|
124
126
|
private unregisterBrowserFunctions;
|
|
125
127
|
private unregisterMediaCaptureFunctions;
|
|
126
128
|
private unregisterSoundFunctions;
|
|
@@ -223,6 +225,12 @@ export declare class IkonClient {
|
|
|
223
225
|
* Get the function registry for registering custom functions.
|
|
224
226
|
*/
|
|
225
227
|
get functionRegistry(): FunctionRegistry;
|
|
228
|
+
/**
|
|
229
|
+
* Get the reactive registry for subscribing to server-side <c>Reactive<T></c>
|
|
230
|
+
* values without rendering a Parallax UI tree. Subscriptions ride the same
|
|
231
|
+
* function-call wire as <see cref="functionRegistry" />.
|
|
232
|
+
*/
|
|
233
|
+
get reactiveRegistry(): ReactiveRegistry;
|
|
226
234
|
/**
|
|
227
235
|
* Connect to the Ikon server.
|
|
228
236
|
* Returns when connected or throws if connection fails.
|