@colyseus/schema 1.0.40 → 1.0.41
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 +1 -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 +1 -1
- package/lib/annotations.js +1 -1
- package/lib/annotations.js.map +1 -1
- package/package.json +1 -1
- package/src/annotations.ts +1 -1
package/build/cjs/index.js
CHANGED
|
@@ -1282,7 +1282,7 @@ function type(type, context) {
|
|
|
1282
1282
|
value['$changes'].setParent(this, this.$changes.root, this._definition.indexes[field]);
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
|
-
else {
|
|
1285
|
+
else if (this[fieldCached]) {
|
|
1286
1286
|
//
|
|
1287
1287
|
// Setting a field to `null` or `undefined` will delete it.
|
|
1288
1288
|
//
|