@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/cjs/index.js
CHANGED
|
@@ -928,7 +928,11 @@ const Metadata = {
|
|
|
928
928
|
});
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
-
constructor
|
|
931
|
+
Object.defineProperty(constructor, Symbol.metadata, {
|
|
932
|
+
value: metadata,
|
|
933
|
+
writable: false,
|
|
934
|
+
configurable: true
|
|
935
|
+
});
|
|
932
936
|
return metadata;
|
|
933
937
|
},
|
|
934
938
|
isValidInstance(klass) {
|