@colyseus/schema 4.0.7 → 4.0.9

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.
@@ -17,7 +17,6 @@ declare global {
17
17
  }
18
18
  }
19
19
  export interface IRef {
20
- [$changes]?: ChangeTree;
21
20
  [$refId]?: number;
22
21
  [$getByIndex]?: (index: number, isEncodeAll?: boolean) => any;
23
22
  [$deleteByIndex]?: (index: number) => void;
package/build/index.cjs CHANGED
@@ -209,7 +209,7 @@ function string$1(bytes, value, it) {
209
209
  // str 8
210
210
  else if (length < 0x100) {
211
211
  bytes[it.offset++] = 0xd9;
212
- bytes[it.offset++] = length % 255;
212
+ bytes[it.offset++] = length;
213
213
  size = 2;
214
214
  }
215
215
  // str 16