@ikonai/sdk 1.0.80 → 1.1.1
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/app-messaging.d.ts +1 -1
- package/assets/audio-capture-worker-CJ5S-nQt.js +1 -0
- package/assets/audio-playback-worker-B-dHMbvO.js +1 -0
- package/assets/libopus-CnBCihDi.js +1 -0
- package/assets/protocol-worker-DwwqSFAV.js +1 -0
- package/assets/src-BKYD07QQ.js +1 -0
- package/assets/src-DOUWsCWT.js +1 -0
- package/assets/video-capture-worker-BQGOFbZt.js +1 -0
- package/assets/video-playback-worker-BdfWDo46.js +1 -0
- package/assets/viseme-worker-DoO4M4Te.js +1 -0
- package/capabilities-Dm_Nog1J.js +105 -0
- package/channel/channel-manager.d.ts +1 -1
- package/channel/channel.d.ts +1 -1
- package/client/endpoint-selector.d.ts +1 -1
- package/client/ikon-client-config.d.ts +13 -11
- package/client/ikon-client.d.ts +86 -4
- package/connection/authenticator.d.ts +3 -3
- package/connection/urls.d.ts +7 -18
- package/errors/index.d.ts +22 -13
- package/functions/browser-functions.d.ts +1 -1
- package/functions/function-registry.d.ts +1 -1
- package/functions/types.d.ts +2 -2
- package/ikon-media-DuCadOIe.js +3154 -0
- package/index.d.ts +8 -8
- package/index.js +8083 -12536
- package/media/ikon-audio-capture.d.ts +7 -3
- package/media/ikon-audio-playback.d.ts +37 -0
- package/media/ikon-video-playback.d.ts +24 -0
- package/media/media-session-helper.d.ts +8 -0
- package/media/video-constants.d.ts +11 -1
- package/media/viseme-tracker.d.ts +10 -1
- package/package.json +1 -1
- package/storage.d.ts +13 -0
- package/transport/transport.d.ts +1 -1
- package/transport/web-socket-transport.d.ts +1 -1
- package/transport/web-transport-transport.d.ts +1 -1
- package/utils/inspect-mode.d.ts +4 -0
- package/utils/log-sender.d.ts +1 -1
- package/utils/platform.d.ts +4 -0
- package/utils/query-params.d.ts +8 -4
- package/vite.config.d.ts +2 -0
- package/webrtc/webrtc-signaling.d.ts +11 -2
- package/worker/audio-playback-worker.d.ts +14 -1
- package/worker/video-capture-worker.d.ts +2 -2
- package/worker/video-playback-worker.d.ts +14 -2
- package/worker/viseme-worker.d.ts +10 -2
- package/assets/audio-capture-worker-Brmt2Z7a.js +0 -1279
- package/assets/audio-playback-worker-C9XXiFhK.js +0 -1474
- package/assets/index-Ca9sTcGt.js +0 -119
- package/assets/index-D_vz6N3U.js +0 -267
- package/assets/libopus-ChbDZJKA.js +0 -139
- package/assets/protocol-worker-1sGaGw11.js +0 -1674
- package/assets/video-capture-worker-zOxyU-q3.js +0 -1126
- package/assets/video-playback-worker-DfwfIoRw.js +0 -1005
- package/assets/viseme-worker-CFJdP6of.js +0 -831
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { IkonClient, type ProtocolMessageHandler, type StateHandler, type ProtocolMessageSubscriptionOptions, type ProtocolMessagePort, type ProtocolSendPort, type WebRTCTrackMapInfo } from './client/ikon-client';
|
|
1
|
+
export { IkonClient, type ActionOutcome, type ProtocolMessageHandler, type StateHandler, type ProtocolMessageSubscriptionOptions, type ProtocolMessagePort, type ProtocolSendPort, type WebRTCTrackMapInfo } from './client/ikon-client';
|
|
2
2
|
export { AppMessaging, appMessaging, type AppMessageType, type AppMessageSubscription } from './app-messaging';
|
|
3
3
|
export type { IkonClientConfig, LocalConfig, ApiKeyConfig, SessionTokenConfig, CloudConnectionConfig, CommonConnectionConfig, TimeoutConfig, BackendType, AudioConfig, VideoConfig, MediaSessionConfig, WebRtcConfig } from './client/ikon-client-config';
|
|
4
4
|
export type { ConnectionState } from './client/connection-state';
|
|
@@ -6,19 +6,19 @@ export { isConnecting, isConnected, isOffline, isError } from './client/connecti
|
|
|
6
6
|
export { ChannelManager, type ChannelManagerConfig, type ChannelManagerState } from './channel/channel-manager';
|
|
7
7
|
export { Channel, type ChannelConfig, type ChannelState } from './channel/channel';
|
|
8
8
|
export { EndpointSelector, type ProxyMode } from './client/endpoint-selector';
|
|
9
|
-
export { ConnectionError, AuthenticationError, TransportError, KeepaliveTimeoutError, AuthRejectedError, MaxRetriesExceededError, ProvisioningTimeoutError,
|
|
9
|
+
export { ConnectionError, AuthenticationError, TransportError, KeepaliveTimeoutError, AuthRejectedError, MaxRetriesExceededError, ProvisioningTimeoutError, SpaceNotFoundError, AccessDeniedError, ServerFullError, SessionNotFoundError, ServerUnavailableError, BrowserNotSupportedError } from './errors';
|
|
10
10
|
export { checkBrowserSupport, type BrowserSupportResult } from './utils/browser-support';
|
|
11
|
-
export { Opcode, EntrypointType, UserType, ClientType, ContextType } from '
|
|
12
|
-
export type { ClientReady, GlobalState, ProtocolMessage, ProtocolMessageHeaders } from '
|
|
13
|
-
export { teleportReadOpcode as readOpcode, teleportReadOpcodeGroup as readOpcodeGroup, asProtocolMessage, readProtocolMessageHeaders } from '
|
|
11
|
+
export { Opcode, EntrypointType, UserType, ClientType, ContextType } from '../shared/protocol/src/index.ts';
|
|
12
|
+
export type { ClientReady, GlobalState, ProtocolMessage, ProtocolMessageHeaders } from '../shared/protocol/src/index.ts';
|
|
13
|
+
export { teleportReadOpcode as readOpcode, teleportReadOpcodeGroup as readOpcodeGroup, asProtocolMessage, readProtocolMessageHeaders } from '../shared/protocol/src/index.ts';
|
|
14
14
|
export { isWebTransportSupported } from './transport/web-transport-transport';
|
|
15
15
|
export { setLogLevel, setLogSink, getLogLevel, getLogSink, createLogger, LogLevel, subscribeToLogEvents } from './utils/logger';
|
|
16
16
|
export type { LogEntry, LogSink, Logger, LogEventListener, LogEventSubscriptionOptions } from './utils/logger';
|
|
17
17
|
export { initializeDebugMode, isDebugModeEnabled } from './utils/debug-mode';
|
|
18
18
|
export { randomUuid } from './utils/uuid';
|
|
19
19
|
export { abortSignalTimeout, abortSignalAny } from './utils/abort-signal';
|
|
20
|
-
export { initializeInspectMode, isInspectModeEnabled, enableInspectMode } from './utils/inspect-mode';
|
|
21
|
-
export { getLangParam, getProxyParam, getWebSocketParam, getWebTransportParam, getDebugParam, getServerUrlParam, getAudioParam, getVideoParam, getWebRtcParam, getInspectParam, getDebugOverlayParam, getAuthSameOriginParam, getRetryParam, setSdkUrlParam, IKON_PARAM_PROXY, IKON_PARAM_WEBSOCKET, IKON_PARAM_WEBTRANSPORT, IKON_PARAM_DEBUG, IKON_PARAM_LANG, IKON_PARAM_SERVER_URL,
|
|
20
|
+
export { initializeInspectMode, isInspectModeEnabled, enableInspectMode, IKON_INSPECT_MODE_CHANGED_EVENT } from './utils/inspect-mode';
|
|
21
|
+
export { getLangParam, getProxyParam, getWebSocketParam, getWebTransportParam, getDebugParam, getServerUrlParam, getAudioParam, getVideoParam, getWebRtcParam, getInspectParam, getDebugOverlayParam, getAuthSameOriginParam, getRetryParam, setSdkUrlParam, IKON_PARAM_PROXY, IKON_PARAM_WEBSOCKET, IKON_PARAM_WEBTRANSPORT, IKON_PARAM_DEBUG, IKON_PARAM_LANG, IKON_PARAM_SERVER_URL, IKON_PARAM_AUDIO, IKON_PARAM_VIDEO, IKON_PARAM_WEBRTC, IKON_PARAM_INSPECT, IKON_PARAM_DEBUG_OVERLAY, IKON_PARAM_AUTH, IKON_PARAM_RETRY } from './utils/query-params';
|
|
22
22
|
export { getOpcodeName } from './utils/opcode-names';
|
|
23
23
|
export { initializeLogSink, setSendLogsCallback, getBufferedLogs, takeBufferedLogs, flushLogs, clearLogBuffer, getLogBufferSize } from './utils/log-sink';
|
|
24
24
|
export type { LogSinkConfig } from './utils/log-sink';
|
|
@@ -29,7 +29,7 @@ export { withResultData } from './functions';
|
|
|
29
29
|
export type { ValueDescriptor, NormalizedValueDescriptor, PrimitiveValueKind, FunctionParameterDefinition, FunctionDefinition, FunctionHandler, FunctionResultWithData } from './functions';
|
|
30
30
|
export { loginErrorInterceptor, reprovisionAfterLogin, consumeLoginHandoff, getLoginPromptState, clearLoginPrompt, subscribe as subscribeLoginPrompt, consumeLoginPendingCall } from './login';
|
|
31
31
|
export type { LoginPromptState, LoginPendingCall } from './login';
|
|
32
|
-
export { IKON_AUTH_BASE_URL, IKON_AUTH_URL_PROD, IKON_AUTH_URL_DEV, IKON_BACKEND_URL_PROD, IKON_BACKEND_URL_DEV, deriveAuthUrl, getSameOriginAuthUrl, deriveBackendUrl, deriveBackendType, parseUrlParams,
|
|
32
|
+
export { IKON_AUTH_BASE_URL, IKON_AUTH_URL_PROD, IKON_AUTH_URL_DEV, IKON_BACKEND_URL_PROD, IKON_BACKEND_URL_DEV, deriveAuthUrl, getSameOriginAuthUrl, deriveBackendUrl, deriveBackendType, parseUrlParams, isCloudEnvironment, type UrlParams } from './connection/urls';
|
|
33
33
|
export { getOrCreateDeviceId, clearDeviceId, extractUserIdFromToken } from './storage';
|
|
34
34
|
export { IkonMedia, IkonAudioPlayback, IkonVideoPlayback, VisemeTracker, isSharedArrayBufferSupported, isAudioWorkletSupported, IkonMediaCapture, IkonVideoCapture, IkonAudioCapture, IkonImageCapture, isMobileBrowserLikely } from './media';
|
|
35
35
|
export type { IkonMediaConfig, IkonAudioPlaybackConfig, IkonVideoPlaybackConfig, IkonVideoCaptureHandle, IkonVideoCaptureRequest, IkonVideoCaptureOptions, VideoCaptureSource, IkonAudioCaptureHandle, IkonAudioCaptureRequest, IkonAudioCaptureOptions, IkonImageCaptureRequest, IkonImageCaptureResult, IkonNativeCameraCaptureRequest, IkonNativeCameraFacing } from './media';
|