@aws-amplify/datastore 3.11.2-unstable.3 → 3.11.2-unstable.4
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/aws-amplify-datastore.js +2 -2
- package/dist/aws-amplify-datastore.js.map +1 -1
- package/dist/aws-amplify-datastore.min.js +1 -1
- package/dist/aws-amplify-datastore.min.js.map +1 -1
- package/lib/storage/adapter/InMemoryStore.js +2 -2
- package/lib/storage/adapter/InMemoryStore.js.map +1 -1
- package/lib-esm/storage/adapter/InMemoryStore.js +2 -2
- package/lib-esm/storage/adapter/InMemoryStore.js.map +1 -1
- package/package.json +9 -8
- package/src/storage/adapter/InMemoryStore.ts +2 -2
|
@@ -86663,7 +86663,7 @@ function () {
|
|
|
86663
86663
|
keys.forEach(function (k) {
|
|
86664
86664
|
return _this.db["delete"](k);
|
|
86665
86665
|
});
|
|
86666
|
-
callback();
|
|
86666
|
+
typeof callback === 'function' && callback();
|
|
86667
86667
|
return [2
|
|
86668
86668
|
/*return*/
|
|
86669
86669
|
];
|
|
@@ -86683,7 +86683,7 @@ function () {
|
|
|
86683
86683
|
|
|
86684
86684
|
_this.setItem(key, value);
|
|
86685
86685
|
});
|
|
86686
|
-
callback();
|
|
86686
|
+
typeof callback === 'function' && callback();
|
|
86687
86687
|
return [2
|
|
86688
86688
|
/*return*/
|
|
86689
86689
|
];
|