@cocreate/unique 1.11.11 → 1.11.13

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,18 @@
1
+ ## [1.11.13](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.11.12...v1.11.13) (2023-06-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([40dd865](https://github.com/CoCreate-app/CoCreate-unique/commit/40dd865e189431a287f7453716fa978d8b2a0862))
7
+
8
+ ## [1.11.12](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.11.11...v1.11.12) (2023-06-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * renamed db to storage ([32b5060](https://github.com/CoCreate-app/CoCreate-unique/commit/32b506039c1c41d19b73cec5a141d3b915a1d200))
14
+ * renamed hosts to host. the value can be a string or an array of strings ([76d4f4c](https://github.com/CoCreate-app/CoCreate-unique/commit/76d4f4ce0aec430bdd03b62c88b3b7e1ee2c0842))
15
+
1
16
  ## [1.11.11](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.11.10...v1.11.11) (2023-06-10)
2
17
 
3
18
 
@@ -10,7 +10,7 @@ module.exports = {
10
10
  "name": "index.html",
11
11
  "path": "/docs/unique/index.html",
12
12
  "src": "{{./docs/index.html}}",
13
- "hosts": [
13
+ "host": [
14
14
  "*",
15
15
  "general.cocreate.app"
16
16
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/unique",
3
- "version": "1.11.11",
3
+ "version": "1.11.13",
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",
@@ -47,7 +47,7 @@
47
47
  "devDependencies": {
48
48
  "@babel/core": "^7.9.6",
49
49
  "@babel/preset-env": "^7.9.6",
50
- "@cocreate/cli": "^1.29.3",
50
+ "@cocreate/cli": "^1.33.0",
51
51
  "babel-loader": "^8.1.0",
52
52
  "clean-webpack-plugin": "^3.0.0",
53
53
  "file-loader": "^6.2.0",
@@ -59,7 +59,7 @@
59
59
  "webpack-log": "^3.0.1"
60
60
  },
61
61
  "dependencies": {
62
- "@cocreate/crud-client": "^1.21.11",
63
- "@cocreate/uuid": "^1.4.16"
62
+ "@cocreate/crud-client": "^1.21.13",
63
+ "@cocreate/uuid": "^1.4.17"
64
64
  }
65
65
  }
package/src/client.js CHANGED
@@ -69,7 +69,7 @@ async function isUnique(element) {
69
69
 
70
70
  // If indexedb response is unique is true, check server response
71
71
  if (response.unique) {
72
- delete request.db
72
+ delete request.storage
73
73
  response = await crud.socket.send('isUnique', request)
74
74
  }
75
75