@ipcom/asterisk-ari 0.0.157 → 0.0.158

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.
@@ -3318,7 +3318,6 @@ var WebSocketClient = class extends import_events4.EventEmitter {
3318
3318
  (event) => queryParams.append("event", event)
3319
3319
  );
3320
3320
  this.lastWsUrl = `${protocol}://${encodeURIComponent(username)}:${encodeURIComponent(password)}@${normalizedHost}/ari/events?${queryParams.toString()}`;
3321
- console.log("Connecting to WebSocket...");
3322
3321
  try {
3323
3322
  await this.initializeWebSocket(this.lastWsUrl);
3324
3323
  } finally {
@@ -3346,7 +3345,6 @@ var WebSocketClient = class extends import_events4.EventEmitter {
3346
3345
  try {
3347
3346
  this.ws = new import_ws.default(wsUrl);
3348
3347
  this.ws.once("open", () => {
3349
- console.log("WebSocket connection established successfully");
3350
3348
  this.setupHeartbeat();
3351
3349
  if (this.isReconnecting) {
3352
3350
  this.emit("reconnected", {
@@ -3673,7 +3671,6 @@ var AriClient = class {
3673
3671
  this
3674
3672
  );
3675
3673
  await this.webSocketClient.connect();
3676
- console.log("WebSocket connection established successfully.");
3677
3674
  } catch (error) {
3678
3675
  console.error("Failed to establish WebSocket connection:", error);
3679
3676
  this.webSocketClient = void 0;
@@ -3683,7 +3680,7 @@ var AriClient = class {
3683
3680
  /**
3684
3681
  * Destroys the ARI Client instance, cleaning up all resources and removing circular references.
3685
3682
  * This method should be called when the ARI Client is no longer needed to ensure proper cleanup.
3686
- *
3683
+ *
3687
3684
  * @returns {Promise<void>} A promise that resolves when the destruction process is complete.
3688
3685
  * @throws {Error} If an error occurs during the destruction process.
3689
3686
  */
@@ -3724,7 +3721,6 @@ var AriClient = class {
3724
3721
  this.webSocketClient.on(event, listener);
3725
3722
  existingListeners.push(listener);
3726
3723
  this.eventListeners.set(event, existingListeners);
3727
- console.log(`Event listener successfully registered for ${event}`);
3728
3724
  }
3729
3725
  /**
3730
3726
  * Registers a one-time event listener for WebSocket events.