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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-game-decorators",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Express & Socket.IO decorators for auto routing and event handling. using for backend game development.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",