@aws-amplify/datastore 3.12.7 → 3.12.9-unstable.6

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.12.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.12.7...@aws-amplify/datastore@3.12.8) (2022-08-23)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/datastore
9
+
10
+
11
+
12
+
13
+
6
14
  ## [3.12.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/datastore@3.12.6...@aws-amplify/datastore@3.12.7) (2022-08-18)
7
15
 
8
16
  **Note:** Version bump only for package @aws-amplify/datastore
@@ -71421,7 +71421,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent(content) {
71421
71421
  __webpack_require__.r(__webpack_exports__);
71422
71422
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
71423
71423
  // generated by genversion
71424
- var version = '4.7.0';
71424
+ var version = '4.7.2';
71425
71425
 
71426
71426
  /***/ }),
71427
71427
 
@@ -89212,24 +89212,26 @@ function () {
89212
89212
  };
89213
89213
 
89214
89214
  IndexedDBAdapter.prototype.clear = function () {
89215
+ var _a;
89216
+
89215
89217
  return __awaiter(this, void 0, void 0, function () {
89216
- return __generator(this, function (_a) {
89217
- switch (_a.label) {
89218
+ return __generator(this, function (_b) {
89219
+ switch (_b.label) {
89218
89220
  case 0:
89219
89221
  return [4
89220
89222
  /*yield*/
89221
89223
  , this.checkPrivate()];
89222
89224
 
89223
89225
  case 1:
89224
- _a.sent();
89226
+ _b.sent();
89225
89227
 
89226
- this.db.close();
89228
+ (_a = this.db) === null || _a === void 0 ? void 0 : _a.close();
89227
89229
  return [4
89228
89230
  /*yield*/
89229
89231
  , idb__WEBPACK_IMPORTED_MODULE_1__["deleteDB"](this.dbName)];
89230
89232
 
89231
89233
  case 2:
89232
- _a.sent();
89234
+ _b.sent();
89233
89235
 
89234
89236
  this.db = undefined;
89235
89237
  this.initPromise = undefined;