@onehat/data 1.19.18 → 1.19.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/data",
3
- "version": "1.19.18",
3
+ "version": "1.19.20",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -1045,7 +1045,7 @@ class AjaxRepository extends Repository {
1045
1045
  }
1046
1046
  })
1047
1047
  }
1048
- } else if (this._operations.add || this._operations.delete) {
1048
+ } else if (this._operations.delete) {
1049
1049
  this.reload();
1050
1050
  } else {
1051
1051
  this.emit('changeData', this.entities);
@@ -33,7 +33,7 @@ class OneBuildRepository extends AjaxRepository {
33
33
  const defaults = {
34
34
 
35
35
  isAutoLoad: false,
36
- isAutoSave: true,
36
+ isAutoSave: false,
37
37
 
38
38
  api: {
39
39
  get: this.name + '/get',