mobx-keystone 1.6.2 → 1.6.4
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/CHANGELOG.md +8 -0
- package/dist/mobx-keystone.esm.js +26 -19
- package/dist/mobx-keystone.esm.mjs +26 -19
- package/dist/mobx-keystone.umd.js +31 -24
- package/dist/types/model/Model.d.ts +1 -3
- package/dist/types/utils/setIfDifferent.d.ts +1 -0
- package/package.json +15 -14
- package/src/action/applySet.ts +3 -2
- package/src/model/Model.ts +1 -3
- package/src/model/newModel.ts +151 -149
- package/src/patch/applyPatches.ts +173 -172
- package/src/snapshot/fromPlainObjectSnapshot.ts +3 -2
- package/src/snapshot/fromSnapshot.ts +3 -2
- package/src/snapshot/reconcileArraySnapshot.ts +4 -4
- package/src/snapshot/reconcileModelSnapshot.ts +6 -5
- package/src/snapshot/reconcilePlainObjectSnapshot.ts +5 -4
- package/src/standardActions/arrayActions.ts +3 -2
- package/src/standardActions/objectActions.ts +5 -3
- package/src/tweaker/tweakArray.ts +3 -3
- package/src/tweaker/tweakPlainObject.ts +3 -3
- package/src/utils/setIfDifferent.ts +9 -0
- package/src/wrappers/ObjectMap.ts +4 -3
- package/src/wrappers/asMap.ts +317 -317
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.6.4
|
|
4
|
+
|
|
5
|
+
- Fixed an error about finding types when using TS in bundler mode.
|
|
6
|
+
|
|
7
|
+
## 1.6.3
|
|
8
|
+
|
|
9
|
+
- Fixed a bug where an object was sometimes being detached and then again retached when using applySnapshot.
|
|
10
|
+
|
|
3
11
|
## 1.6.2
|
|
4
12
|
|
|
5
13
|
- Fixed a bug where the `onAttachedToRootStore` disposer was not being called for models inside arrays.
|