peer-term 1.1.2 → 1.1.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peer-term",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Share your terminal instantly using a 6-digit code. Encrypted. No config.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -594,13 +594,13 @@ class Session {
594
594
  this.reconnectTimer = setInterval(() => {
595
595
  attempts++;
596
596
  if (attempts > maxAttempts) {
597
- this.log('Could not reconnect. Session expired.');
597
+ this.log('Could not reconnect. Session expired.');
598
598
  this._stopReconnecting();
599
599
  this.destroy();
600
600
  return;
601
601
  }
602
602
 
603
- this.log(`⏳ Reconnect attempt ${attempts}/${maxAttempts}...`);
603
+ this.log(`Reconnect attempt ${attempts}/${maxAttempts}...`);
604
604
 
605
605
  // Close any in-flight reconnect socket from the previous tick
606
606
  if (this._pendingReconnectWs) {
@@ -629,7 +629,7 @@ class Session {
629
629
  this._pendingReconnectWs = null;
630
630
  this.ws = newWs;
631
631
  this._stopReconnecting();
632
- this.log(`✅ Reconnected. Session restored.`);
632
+ this.log(`Reconnected. Session restored.`);
633
633
 
634
634
  // Re-attach the full message handler by wiring up events
635
635
  this._attachWsHandlers(newWs);
@@ -782,7 +782,7 @@ class Session {
782
782
  }
783
783
 
784
784
  case 'rejoined': {
785
- this.log(`✅ Reconnected. Session restored. (code: ${msg.code})`);
785
+ this.log(`Reconnected. Session restored. (code: ${msg.code})`);
786
786
  if (this.isClientConnected) {
787
787
  this.startHeartbeat();
788
788
  }