@colyseus/schema 3.0.74 → 3.0.76
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 +5 -1
- package/build/cjs/index.js.map +1 -1
- package/build/esm/index.mjs +5 -1
- package/build/esm/index.mjs.map +1 -1
- package/build/umd/index.js +5 -1
- package/lib/Metadata.js +5 -1
- package/lib/Metadata.js.map +1 -1
- package/lib/types/HelperTypes.d.ts +10 -2
- package/lib/types/HelperTypes.js.map +1 -1
- package/package.json +1 -1
- package/src/Metadata.ts +5 -1
- package/src/types/HelperTypes.ts +5 -0
package/build/esm/index.mjs
CHANGED
|
@@ -926,7 +926,11 @@ const Metadata = {
|
|
|
926
926
|
});
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
|
-
constructor
|
|
929
|
+
Object.defineProperty(constructor, Symbol.metadata, {
|
|
930
|
+
value: metadata,
|
|
931
|
+
writable: false,
|
|
932
|
+
configurable: true
|
|
933
|
+
});
|
|
930
934
|
return metadata;
|
|
931
935
|
},
|
|
932
936
|
isValidInstance(klass) {
|