react-app-store-manager 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/Store.js +1 -1
  2. package/package.json +1 -1
package/dist/Store.js CHANGED
@@ -29,7 +29,7 @@ var Store = /** @class */ (function () {
29
29
  if (!(0, isEqual_1.isEqual)(newValue, oldValue)) {
30
30
  this.updateObjectAddressByString(objectPath, newValue);
31
31
  this.__listeners.forEach(function (listener) {
32
- if (objectPath.startsWith(listener.path)) {
32
+ if (objectPath.startsWith(listener.path) || listener.path.startsWith(objectPath)) {
33
33
  listener.onUpdate();
34
34
  }
35
35
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-app-store-manager",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "tsc --declaration"