@colyseus/schema 2.0.5 → 2.0.6

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.
@@ -2422,7 +2422,6 @@ var Schema = /** @class */ (function () {
2422
2422
  return function () { return spliceOne(_this.$callbacks[attr], _this.$callbacks[attr].indexOf(callback)); };
2423
2423
  };
2424
2424
  Schema.prototype.decode = function (bytes, it, ref) {
2425
- var _a;
2426
2425
  if (it === void 0) { it = { offset: 0 }; }
2427
2426
  if (ref === void 0) { ref = this; }
2428
2427
  var allChanges = [];
@@ -2562,7 +2561,7 @@ var Schema = /** @class */ (function () {
2562
2561
  var entries = previousValue.entries();
2563
2562
  var iter = void 0;
2564
2563
  while ((iter = entries.next()) && !iter.done) {
2565
- var key = (_a = iter.value, _a[0]), value_1 = _a[1];
2564
+ var _a = iter.value, key = _a[0], value_1 = _a[1];
2566
2565
  allChanges.push({
2567
2566
  refId: refId_2,
2568
2567
  op: exports.OPERATION.DELETE,