ts-game-decorators 1.0.2 → 1.0.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.
- package/dist/middleware/auth.js +0 -4
- package/package.json +1 -1
package/dist/middleware/auth.js
CHANGED
|
@@ -52,10 +52,6 @@ const authSocketToken = (socket, next) => {
|
|
|
52
52
|
}
|
|
53
53
|
catch (error) {
|
|
54
54
|
console.error('❌ Socket authentication error:', error);
|
|
55
|
-
// Temporarily allow connection even with invalid token for debugging
|
|
56
|
-
console.log('⚠️ Invalid token, but allowing connection for debugging');
|
|
57
|
-
socket.userId = 'anonymous';
|
|
58
|
-
next();
|
|
59
55
|
}
|
|
60
56
|
};
|
|
61
57
|
exports.authSocketToken = authSocketToken;
|
package/package.json
CHANGED