@cloudflare/realtimekit 1.2.3-staging.1 → 1.2.3-staging.3

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.
@@ -4751,6 +4751,7 @@ declare class AudioPlaybackManager extends AudioPlayback {
4751
4751
 
4752
4752
  declare class SelfMedia extends TypedEventEmitter<SelfEvents> {
4753
4753
  protected localMediaHandler: LocalMediaHandler;
4754
+ constructor(context: Context<ContextState>, logger: Logger);
4754
4755
  protected updatePermission(): Promise<void>;
4755
4756
  protected populateMediaPermissionsInCallstats({ message, kind, }: {
4756
4757
  message: keyof typeof MediaPermission;
@@ -4847,7 +4848,7 @@ declare class Client {
4847
4848
  video?: boolean;
4848
4849
  audio?: boolean;
4849
4850
  constraints?: MediaConstraints;
4850
- }, skipAwaits?: boolean, cachedUserDetails?: CachedUserDetails): SelfMedia;
4851
+ }, skipAwaits?: boolean, cachedUserDetails?: CachedUserDetails): Promise<SelfMedia>;
4851
4852
  static init(options: ClientOptions): Promise<Client>;
4852
4853
  private static setupContext;
4853
4854
  join(): Promise<void>;