@cocreate/unique 1.11.10 → 1.11.12

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.12](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.11.11...v1.11.12) (2023-06-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * renamed db to storage ([32b5060](https://github.com/CoCreate-app/CoCreate-unique/commit/32b506039c1c41d19b73cec5a141d3b915a1d200))
7
+ * 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))
8
+
9
+ ## [1.11.11](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.11.10...v1.11.11) (2023-06-10)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([b1fc605](https://github.com/CoCreate-app/CoCreate-unique/commit/b1fc60587dd7e23f2cee81fc23a3368992f6f11c))
15
+
1
16
  ## [1.11.10](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.11.9...v1.11.10) (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.10",
3
+ "version": "1.11.12",
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",
@@ -27,7 +27,6 @@
27
27
  "start": "npx webpack --config webpack.config.js",
28
28
  "build": "NODE_ENV=production npx webpack --config webpack.config.js",
29
29
  "dev": "npx webpack --config webpack.config.js --watch",
30
- "docs": "node ./node_modules/@cocreate/docs/src/index.js",
31
30
  "postinstall": "node ./node_modules/@cocreate/cli/check-coc.js"
32
31
  },
33
32
  "repository": {
@@ -60,8 +59,7 @@
60
59
  "webpack-log": "^3.0.1"
61
60
  },
62
61
  "dependencies": {
63
- "@cocreate/crud-client": "^1.21.10",
64
- "@cocreate/docs": "^1.8.13",
65
- "@cocreate/uuid": "^1.4.15"
62
+ "@cocreate/crud-client": "^1.21.11",
63
+ "@cocreate/uuid": "^1.4.16"
66
64
  }
67
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