@colyseus/schema 3.0.0-alpha.36 → 3.0.0-alpha.37

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.
@@ -3902,6 +3902,10 @@ class Encoder {
3902
3902
  number$1(bytes, targetTypeId, it);
3903
3903
  }
3904
3904
  }
3905
+ get hasChanges() {
3906
+ return (this.root.changes.length > 0 ||
3907
+ this.root.filteredChanges.length > 0);
3908
+ }
3905
3909
  }
3906
3910
 
3907
3911
  class DecodingWarning extends Error {