@wireapp/core 30.5.0 → 30.5.1

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
+ ## [30.5.1](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@30.5.0...@wireapp/core@30.5.1) (2022-09-12)
7
+
8
+ **Note:** Version bump only for package @wireapp/core
9
+
10
+
11
+
12
+
13
+
6
14
  # [30.5.0](https://github.com/wireapp/wire-web-packages/tree/main/packages/core/compare/@wireapp/core@30.4.1...@wireapp/core@30.5.0) (2022-09-09)
7
15
 
8
16
 
package/package.json CHANGED
@@ -77,6 +77,6 @@
77
77
  "test:node": "nyc jasmine --config=jasmine.json",
78
78
  "watch": "tsc ---watch"
79
79
  },
80
- "version": "30.5.0",
81
- "gitHead": "a2a55f074ebfb3fe5e3a32df1153a9c1ae7091dd"
80
+ "version": "30.5.1",
81
+ "gitHead": "b855fc2abbad739bd3db007455051eb89ebe9e10"
82
82
  }
@@ -35,7 +35,9 @@ class CryptographyDatabaseRepository {
35
35
  this.storeEngine = storeEngine;
36
36
  }
37
37
  deleteStores() {
38
- return Promise.all(Object.keys(CryptographyDatabaseRepository.STORES).map(store => this.storeEngine.deleteAll(store)));
38
+ return Promise.all(
39
+ //make sure we use enum's lowercase values, not uppercase keys
40
+ Object.values(CryptographyDatabaseRepository.STORES).map(store => this.storeEngine.deleteAll(store)));
39
41
  }
40
42
  }
41
43
  exports.CryptographyDatabaseRepository = CryptographyDatabaseRepository;