@colyseus/schema 5.0.4 → 5.0.5

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.
package/build/index.cjs CHANGED
@@ -5632,11 +5632,8 @@ class FieldBuilder {
5632
5632
  function isBuilder(value) {
5633
5633
  return value != null && value[$builder] === true;
5634
5634
  }
5635
- // ---------------------------------------------------------------------------
5636
- // Factory helpers
5637
- // ---------------------------------------------------------------------------
5638
5635
  function primitive(name) {
5639
- return () => new FieldBuilder(name);
5636
+ return (() => new FieldBuilder(name));
5640
5637
  }
5641
5638
  function resolveChild(child) {
5642
5639
  if (isBuilder(child)) {