dataflux 1.2.1 → 1.2.2

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/Model.js +1 -1
  2. package/package.json +1 -1
package/dist/Model.js CHANGED
@@ -172,7 +172,7 @@ var Model = /*#__PURE__*/_createClass(function Model(name) {
172
172
  };
173
173
 
174
174
  if (_classPrivateFieldGet(_this, _loadFunction)) {
175
- var res = _classPrivateFieldGet(_this, _loadFunction).call(_this, obj.toJson());
175
+ var res = _classPrivateFieldGet(_this, _loadFunction).call(_this, obj.toJSON());
176
176
 
177
177
  if (typeof res === "string") {
178
178
  _classPrivateFieldGet(_this, _axios).call(_this, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dataflux",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
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",