Comparing version 4.1.2 to 4.1.3
@@ -22,3 +22,3 @@ 'use strict'; | ||
//constants | ||
var MAXIMUM_BUFFER_SIZE = 8; | ||
var MAXIMUM_BUFFER_SIZE = 12; | ||
@@ -46,2 +46,5 @@ var Manager = require('./Manager.js'); | ||
_this2._socket = socket; | ||
_this2.setMaxBufferSize(MAXIMUM_BUFFER_SIZE); | ||
var _this = _this2; | ||
@@ -52,3 +55,3 @@ socket.on('UPDATE', function (data) { | ||
socket.on('CONNECTION', function () { | ||
socket.emit('BUFFER', MAXIMUM_BUFFER_SIZE); | ||
socket.emit('BUFFER', MAXIMUM_BUFFER_SIZE - 4); | ||
socket.emit('ACKNOWLEDGE', { 'tick': _this2._lastAcknowledgedState }); | ||
@@ -55,0 +58,0 @@ }); |
{ | ||
"name": "sam-ecs", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "A specialized entity component system", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
96218
2426