Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@colyseus/core

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colyseus/core - npm Package Compare versions

Comparing version 0.15.6 to 0.15.7

./build/index.js

9

build/discovery/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc