@colyseus/schema 1.0.36 → 1.0.38
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 -0
- package/build/cjs/index.js.map +1 -1
- package/build/esm/index.mjs +1 -0
- package/build/esm/index.mjs.map +1 -1
- package/build/umd/index.js +1 -0
- package/lib/Schema.js +1 -0
- package/lib/Schema.js.map +1 -1
- package/package.json +1 -1
- package/src/Schema.ts +1 -0
package/build/cjs/index.js
CHANGED
|
@@ -2535,6 +2535,7 @@ var Schema = /** @class */ (function () {
|
|
|
2535
2535
|
var key = dynamicIndex;
|
|
2536
2536
|
// ref.set(key, value);
|
|
2537
2537
|
ref['$items'].set(key, value);
|
|
2538
|
+
ref['$changes'].allChanges.add(fieldIndex);
|
|
2538
2539
|
}
|
|
2539
2540
|
else if (ref instanceof ArraySchema) {
|
|
2540
2541
|
// const key = ref['$indexes'][field];
|