@colyseus/core
Advanced tools
Comparing version 0.16.5 to 0.16.6
@@ -240,3 +240,4 @@ var __create = Object.create; | ||
headers: req.headers, | ||
ip: req.headers["x-real-ip"] ?? req.headers["x-forwarded-for"] ?? req.socket.remoteAddress | ||
ip: req.headers["x-real-ip"] ?? req.headers["x-forwarded-for"] ?? req.socket.remoteAddress, | ||
req | ||
} | ||
@@ -243,0 +244,0 @@ ); |
@@ -17,2 +17,3 @@ import * as http from 'http'; | ||
ip: string | string[]; | ||
req?: http.IncomingMessage; | ||
}; | ||
@@ -19,0 +20,0 @@ export interface ISendOptions { |
{ | ||
"name": "@colyseus/core", | ||
"version": "0.16.5", | ||
"version": "0.16.6", | ||
"description": "Multiplayer Framework for Node.js.", | ||
@@ -5,0 +5,0 @@ "input": "./src/index.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
807315
9113