@ikonai/sdk-react-ui 0.0.36 → 0.0.38
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/index.d.ts +2 -2
- package/app/{useIkonApp.d.ts → use-ikon-app.d.ts} +14 -4
- package/auth/index.d.ts +2 -2
- package/hooks/index.d.ts +1 -1
- package/index.js +603 -601
- package/package.json +1 -1
- /package/app/{ConnectionStateRenderer.d.ts → connection-state-renderer.d.ts} +0 -0
- /package/auth/{AuthContext.d.ts → auth-context.d.ts} +0 -0
- /package/auth/{useAuthGuard.d.ts → use-auth-guard.d.ts} +0 -0
- /package/hooks/{useLazyFont.d.ts → use-lazy-font.d.ts} +0 -0
package/app/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ConnectionStateRenderer, type ConnectedRenderProps, type ConnectionStateRendererProps } from './
|
|
2
|
-
export { useIkonApp, type IkonUiModuleRegistration, type LocalServerConfig, type UseIkonAppOptions, type UseIkonAppResult } from './
|
|
1
|
+
export { ConnectionStateRenderer, type ConnectedRenderProps, type ConnectionStateRendererProps } from './connection-state-renderer';
|
|
2
|
+
export { useIkonApp, type IkonUiModuleRegistration, type LocalServerConfig, type UseIkonAppOptions, type UseIkonAppResult } from './use-ikon-app';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConnectionState, DebugConfig, IkonClient,
|
|
1
|
+
import { AudioConfig, ConnectionState, DebugConfig, IkonClient, MediaSessionConfig, TimeoutConfig, VideoConfig } from '../../../sdk/src/index.ts';
|
|
2
2
|
import { RefObject } from 'react';
|
|
3
3
|
import { AuthConfig } from '../auth/types';
|
|
4
4
|
import { IkonUiRegistry } from '../ikon-ui-registry';
|
|
@@ -62,10 +62,20 @@ export interface UseIkonAppOptions {
|
|
|
62
62
|
*/
|
|
63
63
|
timeouts?: TimeoutConfig;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
66
|
-
* If not provided,
|
|
65
|
+
* Audio playback configuration passed to IkonClient.
|
|
66
|
+
* If not provided, SDK defaults are used.
|
|
67
|
+
*/
|
|
68
|
+
audio?: AudioConfig;
|
|
69
|
+
/**
|
|
70
|
+
* Video playback configuration passed to IkonClient.
|
|
71
|
+
* If not provided, SDK defaults are used.
|
|
72
|
+
*/
|
|
73
|
+
video?: VideoConfig;
|
|
74
|
+
/**
|
|
75
|
+
* Media Session metadata for OS-level media controls (lock screen, notifications).
|
|
76
|
+
* Shared across audio and video playback.
|
|
67
77
|
*/
|
|
68
|
-
|
|
78
|
+
mediaSession?: MediaSessionConfig;
|
|
69
79
|
/**
|
|
70
80
|
* Debug configuration passed to IkonClient.
|
|
71
81
|
* If not provided, SDK defaults are used.
|
package/auth/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { AuthConfig, AuthContextValue, AuthSession, AuthState, AuthUser, LoginMethod } from './types';
|
|
2
2
|
export { clearAuthSession, loadAuthSession, saveAuthSession, sessionToUser } from './storage';
|
|
3
3
|
export { authenticateAnonymous, buildOAuthRedirectUrl, clearOAuthParams, parseOAuthCallback, parseOAuthError, sendMagicLink, type OAuthCallbackResult, type SendMagicLinkOptions } from './auth-service';
|
|
4
|
-
export { AuthProvider, useAuth, useAuthOptional, type AuthProviderProps } from './
|
|
5
|
-
export { useAuthGuard, type UseAuthGuardOptions, type UseAuthGuardResult } from './
|
|
4
|
+
export { AuthProvider, useAuth, useAuthOptional, type AuthProviderProps } from './auth-context';
|
|
5
|
+
export { useAuthGuard, type UseAuthGuardOptions, type UseAuthGuardResult } from './use-auth-guard';
|
package/hooks/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { useLazyFont } from './
|
|
1
|
+
export { useLazyFont } from './use-lazy-font';
|