@colyseus/core
Advanced tools
Comparing version 0.15.6 to 0.15.7
@@ -1,6 +0,4 @@ | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
@@ -19,6 +17,2 @@ var __export = (target, all) => { | ||
}; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
mod | ||
)); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
@@ -32,7 +26,6 @@ var discovery_exports = {}; | ||
module.exports = __toCommonJS(discovery_exports); | ||
var import_internal_ip = __toESM(require("internal-ip")); | ||
const NODES_SET = "colyseus:nodes"; | ||
const DISCOVERY_CHANNEL = "colyseus:nodes:discovery"; | ||
async function getHostname() { | ||
return process.env.SELF_HOSTNAME || await import_internal_ip.default.v4(); | ||
return process.env.SELF_HOSTNAME; | ||
} | ||
@@ -39,0 +32,0 @@ async function getNodeAddress(node) { |
{ | ||
"name": "@colyseus/core", | ||
"version": "0.15.6", | ||
"version": "0.15.7", | ||
"description": "Multiplayer Framework for Node.js.", | ||
@@ -49,3 +49,3 @@ "input": "./src/index.ts", | ||
}, | ||
"gitHead": "1be49aafe1e249e0047480e9d4b40df1a13e3e04" | ||
"gitHead": "45e71fef81d12583a6e925982567aa4e7aca215f" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
606042
154
7024
8