@colyseus/schema 2.0.13 → 2.0.14
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/Schema.d.ts +1 -1
- package/lib/Schema.js +1 -1
- package/lib/Schema.js.map +1 -1
- package/package.json +1 -1
- package/src/Schema.ts +2 -2
package/build/esm/index.mjs
CHANGED
|
@@ -2939,7 +2939,7 @@ class Schema {
|
|
|
2939
2939
|
if (!uniqueRefIds.has(refId)) {
|
|
2940
2940
|
try {
|
|
2941
2941
|
// trigger onChange
|
|
2942
|
-
$callbacks?.[OPERATION.REPLACE]?.forEach(callback => callback(
|
|
2942
|
+
$callbacks?.[OPERATION.REPLACE]?.forEach(callback => callback());
|
|
2943
2943
|
}
|
|
2944
2944
|
catch (e) {
|
|
2945
2945
|
Schema.onError(e);
|