@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.
- package/dist/browser.mjs +4 -2
- package/dist/browser.mjs.map +1 -1
- package/dist/browser.umd.js +4 -2
- package/dist/browser.umd.js.map +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/browser.mjs
CHANGED
|
@@ -12515,7 +12515,7 @@ var CallEventsManager = class extends Destroyable {
|
|
|
12515
12515
|
});
|
|
12516
12516
|
this.updateParticipants(sessionState.members);
|
|
12517
12517
|
this._self$.value?.capabilities.updateFromRaw(capabilities);
|
|
12518
|
-
this.updateLayouts();
|
|
12518
|
+
if (this._self$.value?.capabilities.setLayout) this.updateLayouts();
|
|
12519
12519
|
});
|
|
12520
12520
|
this.subscribeTo(this.memberUpdates$, (member) => {
|
|
12521
12521
|
logger$15.debug("[CallEventsManager] Handling member update event for member ID:", member);
|
|
@@ -15590,12 +15590,14 @@ var ClientSessionManager = class extends Destroyable {
|
|
|
15590
15590
|
try {
|
|
15591
15591
|
const addressURI = getAddressSearchURI(options);
|
|
15592
15592
|
let address;
|
|
15593
|
-
|
|
15593
|
+
try {
|
|
15594
15594
|
if (!this._directory) throw new DependencyError("Directory not initialized");
|
|
15595
15595
|
const addressId = await this._directory.findAddressIdByURI(addressURI);
|
|
15596
15596
|
if (!addressId) throw new DependencyError(`Address name: ${addressURI} not found`);
|
|
15597
15597
|
address = this._directory.get(addressId);
|
|
15598
15598
|
if (!address) throw new DependencyError(`Address ID: ${addressId} not found`);
|
|
15599
|
+
} catch (error) {
|
|
15600
|
+
logger$6.warn(`[Session] Directory lookup failed for ${addressURI}, proceeding with raw URI`);
|
|
15599
15601
|
}
|
|
15600
15602
|
const callSession = this.callFactory.createCall(address, { ...options });
|
|
15601
15603
|
callSession.status$.pipe((0, import_cjs$5.filter)((status) => status === "destroyed"), (0, import_cjs$5.take)(1)).subscribe(() => {
|