dataflux 1.5.0 → 1.5.1

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.
Files changed (2) hide show
  1. package/dist/SubObj.js +2 -2
  2. package/package.json +1 -1
package/dist/SubObj.js CHANGED
@@ -100,10 +100,10 @@ var SubObj = /*#__PURE__*/function (_BasicObj) {
100
100
  var mmnt = (0, _moment["default"])(value);
101
101
  _this[key] = mmnt.isValid() ? mmnt : value;
102
102
  } else if (model.options.deep && _typeof(value) === "object" && !Array.isArray(value)) {
103
- _this[key] = new SubObj(_assertThisInitialized(_this), value, model);
103
+ _this[key] = new SubObj(_classPrivateFieldGet(_assertThisInitialized(_this), _parent), value, model);
104
104
  } else if (model.options.deep && Array.isArray(value)) {
105
105
  _this[key] = value.map(function (i) {
106
- return new SubObj(_assertThisInitialized(_this), i, model);
106
+ return new SubObj(_classPrivateFieldGet(_assertThisInitialized(_this), _parent), i, model);
107
107
  });
108
108
  } else {
109
109
  _this[key] = value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataflux",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "DataFlux, automatically interfaces with your REST APIs to create a 2-way-synced local data store. Transparently manages data propagation in the React state.",
5
5
  "main": "dist/index.js",
6
6
  "bin": "dist/index.js",