@signalwire/js 4.0.0-dev-20260303152249 → 4.0.0-dev-20260304121917

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.
@@ -12519,7 +12519,7 @@ var CallEventsManager = class extends Destroyable {
12519
12519
  });
12520
12520
  this.updateParticipants(sessionState.members);
12521
12521
  this._self$.value?.capabilities.updateFromRaw(capabilities);
12522
- this.updateLayouts();
12522
+ if (this._self$.value?.capabilities.setLayout) this.updateLayouts();
12523
12523
  });
12524
12524
  this.subscribeTo(this.memberUpdates$, (member) => {
12525
12525
  logger$15.debug("[CallEventsManager] Handling member update event for member ID:", member);
@@ -15594,12 +15594,14 @@ var ClientSessionManager = class extends Destroyable {
15594
15594
  try {
15595
15595
  const addressURI = getAddressSearchURI(options);
15596
15596
  let address;
15597
- if (!addressURI.startsWith("+")) {
15597
+ try {
15598
15598
  if (!this._directory) throw new DependencyError("Directory not initialized");
15599
15599
  const addressId = await this._directory.findAddressIdByURI(addressURI);
15600
15600
  if (!addressId) throw new DependencyError(`Address name: ${addressURI} not found`);
15601
15601
  address = this._directory.get(addressId);
15602
15602
  if (!address) throw new DependencyError(`Address ID: ${addressId} not found`);
15603
+ } catch (error) {
15604
+ logger$6.warn(`[Session] Directory lookup failed for ${addressURI}, proceeding with raw URI`);
15603
15605
  }
15604
15606
  const callSession = this.callFactory.createCall(address, { ...options });
15605
15607
  callSession.status$.pipe((0, import_cjs$5.filter)((status) => status === "destroyed"), (0, import_cjs$5.take)(1)).subscribe(() => {