@colyseus/schema 2.0.33 → 2.0.35

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.
@@ -341,7 +341,7 @@ function getArrayProxy(value) {
341
341
  return value;
342
342
  }
343
343
  class ArraySchema {
344
- s }
344
+ static { }
345
345
  onAdd(callback, triggerAll = true) {
346
346
  return addCallback((this.$callbacks || (this.$callbacks = {})), OPERATION.ADD, callback, (triggerAll)
347
347
  ? this.$items
@@ -1568,22 +1568,22 @@ function number$1(bytes, value) {
1568
1568
 
1569
1569
  var encode = /*#__PURE__*/Object.freeze({
1570
1570
  __proto__: null,
1571
- utf8Write: utf8Write,
1572
- int8: int8$1,
1573
- uint8: uint8$1,
1571
+ boolean: boolean$1,
1572
+ float32: float32$1,
1573
+ float64: float64$1,
1574
1574
  int16: int16$1,
1575
- uint16: uint16$1,
1576
1575
  int32: int32$1,
1577
- uint32: uint32$1,
1578
1576
  int64: int64$1,
1577
+ int8: int8$1,
1578
+ number: number$1,
1579
+ string: string$1,
1580
+ uint16: uint16$1,
1581
+ uint32: uint32$1,
1579
1582
  uint64: uint64$1,
1580
- float32: float32$1,
1581
- float64: float64$1,
1583
+ uint8: uint8$1,
1584
+ utf8Write: utf8Write,
1582
1585
  writeFloat32: writeFloat32,
1583
- writeFloat64: writeFloat64,
1584
- boolean: boolean$1,
1585
- string: string$1,
1586
- number: number$1
1586
+ writeFloat64: writeFloat64
1587
1587
  });
1588
1588
 
1589
1589
  /**
@@ -1818,25 +1818,25 @@ function switchStructureCheck(bytes, it) {
1818
1818
 
1819
1819
  var decode = /*#__PURE__*/Object.freeze({
1820
1820
  __proto__: null,
1821
- int8: int8,
1822
- uint8: uint8,
1823
- int16: int16,
1824
- uint16: uint16,
1825
- int32: int32,
1826
- uint32: uint32,
1821
+ arrayCheck: arrayCheck,
1822
+ boolean: boolean,
1827
1823
  float32: float32,
1828
1824
  float64: float64,
1825
+ int16: int16,
1826
+ int32: int32,
1829
1827
  int64: int64,
1830
- uint64: uint64,
1828
+ int8: int8,
1829
+ number: number,
1830
+ numberCheck: numberCheck,
1831
1831
  readFloat32: readFloat32,
1832
1832
  readFloat64: readFloat64,
1833
- boolean: boolean,
1834
1833
  string: string,
1835
1834
  stringCheck: stringCheck,
1836
- number: number,
1837
- numberCheck: numberCheck,
1838
- arrayCheck: arrayCheck,
1839
- switchStructureCheck: switchStructureCheck
1835
+ switchStructureCheck: switchStructureCheck,
1836
+ uint16: uint16,
1837
+ uint32: uint32,
1838
+ uint64: uint64,
1839
+ uint8: uint8
1840
1840
  });
1841
1841
 
1842
1842
  class CollectionSchema {
@@ -3046,6 +3046,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3046
3046
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3047
3047
  PERFORMANCE OF THIS SOFTWARE.
3048
3048
  ***************************************************************************** */
3049
+ /* global Reflect, Promise, SuppressedError, Symbol */
3050
+
3049
3051
 
3050
3052
  function __decorate(decorators, target, key, desc) {
3051
3053
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;