@lokutor/sdk 1.1.29 → 1.1.30

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.js CHANGED
@@ -1616,8 +1616,9 @@ var ConversationalPanel = class {
1616
1616
  this.startBtn.disabled = true;
1617
1617
  this.errorEl.classList.remove("is-visible");
1618
1618
  this.playConnectingSound();
1619
- const rect = this.el.getBoundingClientRect();
1620
- this.el.style.height = rect.height + "px";
1619
+ const rect = this.container.getBoundingClientRect();
1620
+ this.container.style.width = rect.width + "px";
1621
+ this.container.style.height = rect.height + "px";
1621
1622
  try {
1622
1623
  const ConvoAgent = this.cfg.ConvoAgent;
1623
1624
  const SphereVisualizer = this.cfg.SphereVisualizer;
package/dist/index.mjs CHANGED
@@ -1569,8 +1569,9 @@ var ConversationalPanel = class {
1569
1569
  this.startBtn.disabled = true;
1570
1570
  this.errorEl.classList.remove("is-visible");
1571
1571
  this.playConnectingSound();
1572
- const rect = this.el.getBoundingClientRect();
1573
- this.el.style.height = rect.height + "px";
1572
+ const rect = this.container.getBoundingClientRect();
1573
+ this.container.style.width = rect.width + "px";
1574
+ this.container.style.height = rect.height + "px";
1574
1575
  try {
1575
1576
  const ConvoAgent = this.cfg.ConvoAgent;
1576
1577
  const SphereVisualizer = this.cfg.SphereVisualizer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokutor/sdk",
3
- "version": "1.1.29",
3
+ "version": "1.1.30",
4
4
  "description": "JavaScript/TypeScript SDK for Lokutor Real-time Voice AI",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -401,9 +401,10 @@ export class ConversationalPanel {
401
401
  this.errorEl.classList.remove('is-visible');
402
402
  this.playConnectingSound();
403
403
 
404
- // Lock panel height to prevent any content changes from shifting layout
405
- const rect = this.el.getBoundingClientRect();
406
- this.el.style.height = rect.height + 'px';
404
+ // Freeze panel dimensions so content changes can't shift layout
405
+ const rect = this.container.getBoundingClientRect();
406
+ this.container.style.width = rect.width + 'px';
407
+ this.container.style.height = rect.height + 'px';
407
408
 
408
409
  try {
409
410
  const ConvoAgent = this.cfg.ConvoAgent;