@avalw/search-worker 2.3.2 → 2.3.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/index.js +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -529,6 +529,9 @@ class SearchWorker {
529
529
  this.isConnected = true;
530
530
  this.reconnectAttempts = 0;
531
531
 
532
+ // Authenticate with token
533
+ this._send({ type: 'auth', token: this.workerToken });
534
+
532
535
  // Register cached keys
533
536
  this._sendCacheRegistry();
534
537
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avalw/search-worker",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "AVALW Distributed Cache Worker - Intelligent caching with size limits and auto-cleanup",
5
5
  "main": "index.js",
6
6
  "bin": {