@colyseus/schema 1.0.36 → 1.0.38

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.
@@ -2535,6 +2535,7 @@ var Schema = /** @class */ (function () {
2535
2535
  var key = dynamicIndex;
2536
2536
  // ref.set(key, value);
2537
2537
  ref['$items'].set(key, value);
2538
+ ref['$changes'].allChanges.add(fieldIndex);
2538
2539
  }
2539
2540
  else if (ref instanceof ArraySchema) {
2540
2541
  // const key = ref['$indexes'][field];