@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.
package/dist/index.d.ts CHANGED
@@ -4634,6 +4634,7 @@ declare class Plugins {
4634
4634
 
4635
4635
  declare class SelfMedia extends TypedEventEmitter$1<SelfEvents> {
4636
4636
  protected localMediaHandler: LocalMediaHandler;
4637
+ constructor(context: Context<ContextState>, logger: Logger);
4637
4638
  protected updatePermission(): Promise<void>;
4638
4639
  protected populateMediaPermissionsInCallstats({ message, kind, }: {
4639
4640
  message: keyof typeof MediaPermission;
@@ -5975,7 +5976,7 @@ declare class Client {
5975
5976
  video?: boolean;
5976
5977
  audio?: boolean;
5977
5978
  constraints?: MediaConstraints;
5978
- }, skipAwaits?: boolean, cachedUserDetails?: CachedUserDetails): SelfMedia;
5979
+ }, skipAwaits?: boolean, cachedUserDetails?: CachedUserDetails): Promise<SelfMedia>;
5979
5980
  static init(options: ClientOptions): Promise<Client>;
5980
5981
  private static setupContext;
5981
5982
  join(): Promise<void>;