@colyseus/schema 2.0.22 → 2.0.23
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/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/esm/index.mjs +1 -1
- package/build/esm/index.mjs.map +1 -1
- package/build/umd/index.js +2 -1
- package/lib/Reflection.js +1 -1
- package/lib/Reflection.js.map +1 -1
- package/package.json +1 -1
- package/src/Reflection.ts +1 -1
package/build/esm/index.mjs
CHANGED
|
@@ -3150,7 +3150,7 @@ class Reflection extends Schema {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
reflection.types.push(currentType);
|
|
3152
3152
|
};
|
|
3153
|
-
const types = rootSchemaType._context
|
|
3153
|
+
const types = rootSchemaType._context?.types;
|
|
3154
3154
|
for (let typeid in types) {
|
|
3155
3155
|
const type = new ReflectionType();
|
|
3156
3156
|
type.id = Number(typeid);
|