@colyseus/schema 3.0.13 → 3.0.15

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.
@@ -4689,7 +4689,6 @@ class StateView {
4689
4689
  * Manual "ADD" operations for changes per ChangeTree, specific to this view.
4690
4690
  * (This is used to force encoding a property, even if it was not changed)
4691
4691
  */
4692
- // TODO: use map here!? may fix encode ordering issue
4693
4692
  this.changes = new Map();
4694
4693
  }
4695
4694
  // TODO: allow to set multiple tags at once
@@ -4907,7 +4906,8 @@ exports.defineTypes = defineTypes;
4907
4906
  exports.deprecated = deprecated;
4908
4907
  exports.dumpChanges = dumpChanges;
4909
4908
  exports.encode = encode;
4910
- exports.encodeKeyValueOperation = encodeArray;
4909
+ exports.encodeArray = encodeArray;
4910
+ exports.encodeKeyValueOperation = encodeKeyValueOperation;
4911
4911
  exports.encodeSchemaOperation = encodeSchemaOperation;
4912
4912
  exports.entity = entity;
4913
4913
  exports.getDecoderStateCallbacks = getDecoderStateCallbacks;