@soniox/node 1.1.0 → 1.1.1

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.cjs CHANGED
@@ -608,6 +608,7 @@ var RealtimeSttSession = class {
608
608
  pause() {
609
609
  if (this._paused) return;
610
610
  this._paused = true;
611
+ this.finalize();
611
612
  if (!this._pauseWarned && typeof process !== "undefined" && process.env?.NODE_ENV !== "production") {
612
613
  this._pauseWarned = true;
613
614
  console.warn("[Soniox] You are billed for the full stream duration even when session is paused.");