dataflux 1.19.1 → 1.19.3

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/dist/Store.js CHANGED
@@ -155,7 +155,7 @@ var Store = exports["default"] = /*#__PURE__*/function () {
155
155
  if (force) {
156
156
  _classPrivateFieldGet(_wipe, _this).call(_this, currentObject.object);
157
157
  _classPrivateFieldGet(_merge, _this).call(_this, currentObject.object, wrapper.toJSON());
158
- currentObject.fingerprint = newFingerprint;
158
+ currentObject.fingerprint = currentObject.object.getFingerprint();
159
159
  updated.push(currentObject.object);
160
160
  } else if (_this.hasChanged(type, currentObject.object)) {// Was the object edited locally?
161
161
 
@@ -163,7 +163,7 @@ var Store = exports["default"] = /*#__PURE__*/function () {
163
163
  } else {
164
164
  // Update with the new object
165
165
  _classPrivateFieldGet(_merge, _this).call(_this, currentObject.object, wrapper.toJSON());
166
- currentObject.fingerprint = newFingerprint;
166
+ currentObject.fingerprint = currentObject.object.getFingerprint();
167
167
  updated.push(currentObject.object);
168
168
  }
169
169
  }