@cocreate/unique 1.15.4 → 1.15.5

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
@@ -1,3 +1,10 @@
1
+ ## [1.15.5](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.15.4...v1.15.5) (2023-10-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * await getValue() ([780a844](https://github.com/CoCreate-app/CoCreate-unique/commit/780a8448af460267bff730695b734f5310a63eec))
7
+
1
8
  ## [1.15.4](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.15.3...v1.15.4) (2023-10-14)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/unique",
3
- "version": "1.15.4",
3
+ "version": "1.15.5",
4
4
  "description": "A simple unique component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "unique",
package/src/client.js CHANGED
@@ -42,7 +42,7 @@ function setInputEvent(input) {
42
42
  */
43
43
  async function isUnique(element) {
44
44
  let key = element.getAttribute('key');
45
- let value = element.getValue();
45
+ let value = await element.getValue();
46
46
  let request = {
47
47
  method: 'read.object',
48
48
  db: 'indexeddb',