@ikonai/sdk-ui 1.0.4 → 1.0.5

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/ikon-ui-core.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { IkonClient } from '../../sdk/src/index.ts';
2
2
  import { UiStore } from './ui-store';
3
3
  import { ParsedUiUpdate } from './ui-types';
4
- export interface IkonUICoreConfig {
4
+ export interface IkonUiCoreConfig {
5
5
  client?: IkonClient | null;
6
6
  threading?: {
7
7
  uiWorker?: 'auto' | 'disabled';
@@ -18,7 +18,7 @@ export interface UiStylePayload {
18
18
  css?: string;
19
19
  common?: string;
20
20
  }
21
- export declare class IkonUICore {
21
+ export declare class IkonUiCore {
22
22
  private unsubscribeProtocolMessages?;
23
23
  private client;
24
24
  readonly uiStore: UiStore;
@@ -29,7 +29,7 @@ export declare class IkonUICore {
29
29
  private readonly uiStyleDeleteListeners;
30
30
  private readonly uiStreamClearedListeners;
31
31
  private readonly useUiWorker;
32
- constructor(config?: IkonUICoreConfig);
32
+ constructor(config?: IkonUiCoreConfig);
33
33
  dispose(): void;
34
34
  subscribeToUiUpdates(listener: IkonUiUpdateListener): () => void;
35
35
  subscribeToUiStreamCleared(listener: IkonUiStreamListener): () => void;
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { IkonUICore, type IkonUICoreConfig, type IkonUiStreamListener, type IkonUiUpdateListener, type UiStyleListener, type UiStyleDeleteListener, type UiStylePayload } from './ikon-ui-core';
1
+ export { IkonUiCore, type IkonUiCoreConfig, type IkonUiStreamListener, type IkonUiUpdateListener, type UiStyleListener, type UiStyleDeleteListener, type UiStylePayload } from './ikon-ui-core';
2
2
  export { UiStore, UiStreamStore, type StreamSnapshot } from './ui-store';
3
3
  export { parseUiUpdate, UiUpdateParseError } from './parse-ui-update';
4
4
  export { HandlerCache } from './handler-cache';