@aakash58/chatbot 1.1.7 → 1.1.8

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.
@@ -4487,8 +4487,8 @@ class Doohbot extends DoohbotInput {
4487
4487
  buttonStyle: this.buttonStyle || this.config.buttonStyle,
4488
4488
  });
4489
4489
  }
4490
- // Handle dynamic authToken updates
4491
- if (this.config.authToken && !this.isAuthenticated()) {
4490
+ // Handle dynamic config updates for authentication
4491
+ if (!this.isAuthenticated()) {
4492
4492
  this.onFederatedLogin(this.config.authToken);
4493
4493
  }
4494
4494
  }