@colyseus/schema 3.0.13 → 3.0.15
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 +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/esm/index.mjs +1 -2
- package/build/esm/index.mjs.map +1 -1
- package/build/umd/index.js +2 -2
- package/lib/decoder/strategy/StateCallbacks.d.ts +5 -6
- package/lib/decoder/strategy/StateCallbacks.js.map +1 -1
- package/lib/encoder/StateView.js +0 -1
- package/lib/encoder/StateView.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/decoder/strategy/StateCallbacks.ts +6 -6
- package/src/encoder/StateView.ts +0 -1
- package/src/index.ts +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -4689,7 +4689,6 @@ class StateView {
|
|
|
4689
4689
|
* Manual "ADD" operations for changes per ChangeTree, specific to this view.
|
|
4690
4690
|
* (This is used to force encoding a property, even if it was not changed)
|
|
4691
4691
|
*/
|
|
4692
|
-
// TODO: use map here!? may fix encode ordering issue
|
|
4693
4692
|
this.changes = new Map();
|
|
4694
4693
|
}
|
|
4695
4694
|
// TODO: allow to set multiple tags at once
|
|
@@ -4907,7 +4906,8 @@ exports.defineTypes = defineTypes;
|
|
|
4907
4906
|
exports.deprecated = deprecated;
|
|
4908
4907
|
exports.dumpChanges = dumpChanges;
|
|
4909
4908
|
exports.encode = encode;
|
|
4910
|
-
exports.
|
|
4909
|
+
exports.encodeArray = encodeArray;
|
|
4910
|
+
exports.encodeKeyValueOperation = encodeKeyValueOperation;
|
|
4911
4911
|
exports.encodeSchemaOperation = encodeSchemaOperation;
|
|
4912
4912
|
exports.entity = entity;
|
|
4913
4913
|
exports.getDecoderStateCallbacks = getDecoderStateCallbacks;
|