@q9labsai/chalk-client 5.2.4 → 5.2.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.
@@ -39,8 +39,9 @@ export type AccessGrant = {
39
39
  };
40
40
  export type AccessGrantProvider = () => ParsedAccessGrant | Promise<ParsedAccessGrant>;
41
41
  export declare class AccessGrantError extends TypeError {
42
+ readonly reason?: "connection_superseded" | undefined;
42
43
  readonly code: "access.invalid";
43
- constructor(message?: string);
44
+ constructor(message?: string, reason?: "connection_superseded" | undefined);
44
45
  }
45
46
  export declare function parseParsedAccessGrant(value: unknown): ParsedAccessGrant;
46
47
  export declare function parseAccessGrant(value: unknown): AccessGrant;
@@ -23,6 +23,7 @@ export type ConnectionAccessEffectService = {
23
23
  readonly subscribeAutomaticMediaReplacement: (listener: AutomaticMediaReplacementListener) => Effect.Effect<() => void>;
24
24
  readonly requiresRefresh: Effect.Effect<boolean>;
25
25
  readonly millisecondsUntilRefresh: Effect.Effect<number | null>;
26
+ readonly holdMediaBinding: (binding: string) => Effect.Effect<Effect.Effect<void>>;
26
27
  readonly clear: Effect.Effect<void>;
27
28
  };
28
29
  declare const ConnectionAccessService_base: Context.ServiceClass<ConnectionAccessService, "@chalk/client/ConnectionAccess", ConnectionAccessEffectService>;