@ikonai/sdk 1.0.15 → 1.0.16

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.
@@ -105,6 +105,7 @@ export declare class IkonClient {
105
105
  private readonly _functionRegistry;
106
106
  private unregisterBrowserFunctions;
107
107
  private unregisterMediaCaptureFunctions;
108
+ private unregisterSoundFunctions;
108
109
  private nextProtocolPortId;
109
110
  private nextProtocolSendPortId;
110
111
  private readonly _media;
@@ -2,3 +2,4 @@ export type { ValueDescriptor, NormalizedValueDescriptor, PrimitiveValueKind, Fu
2
2
  export { withResultData } from './types';
3
3
  export { FunctionRegistry, type FunctionRegistryConfig } from './function-registry';
4
4
  export { registerBrowserFunctions, isBrowserEnvironment } from './browser-functions';
5
+ export { registerSoundFunctions, SoundFunctionNames } from './sound-functions';
@@ -0,0 +1,10 @@
1
+ import { FunctionRegistry } from './function-registry';
2
+ export declare const SoundFunctionNames: {
3
+ readonly PlaySound: "ikon.client.playSound";
4
+ readonly StopSound: "ikon.client.stopSound";
5
+ };
6
+ /**
7
+ * Register sound functions with a registry.
8
+ * Returns an unregister function that removes all sound functions and clears the cache.
9
+ */
10
+ export declare function registerSoundFunctions(registry: FunctionRegistry): () => void;