- Simplified the connection logic by removing the unnecessary IIFE (Immediately Invoked Function Expression) for handling server requests. - Changed the condition to directly check if server requests are disabled, improving readability. - Updated variable names for clarity, ensuring that error handling and credential setting are more straightforward. - Enhanced the flow of the onConnectEnd callback to include the token directly from the result, making the code cleaner and easier to follow. |
||
|---|---|---|
| .. | ||
| dist | ||
| src | ||