@cocreate/unique 1.15.6 → 1.15.8

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,20 @@
1
+ ## [1.15.8](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.15.7...v1.15.8) (2023-11-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * meta name typo ([1b444be](https://github.com/CoCreate-app/CoCreate-unique/commit/1b444bef59b2cb70bcb53e3989a8072b5dd4cbc2))
7
+ * update host ([1daad51](https://github.com/CoCreate-app/CoCreate-unique/commit/1daad51a05a75fd5c284c62d712d4de8b17e7cdf))
8
+
9
+ ## [1.15.7](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.15.6...v1.15.7) (2023-11-03)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * favicon.ico path ([7220c5b](https://github.com/CoCreate-app/CoCreate-unique/commit/7220c5b96048126c2865554bebafbf247abb5909))
15
+ * update dependencies to the lates versions ([96c5d80](https://github.com/CoCreate-app/CoCreate-unique/commit/96c5d804801b0d1c9cca6fea72954a7e46caa07f))
16
+ * update method to use object.update etc ([32b7da0](https://github.com/CoCreate-app/CoCreate-unique/commit/32b7da01f3be2b4b9921b748ec8e30ac73764b36))
17
+
1
18
  ## [1.15.6](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.15.5...v1.15.6) (2023-10-25)
2
19
 
3
20
 
@@ -12,8 +12,7 @@ module.exports = {
12
12
  "pathname": "/docs/unique/index.html",
13
13
  "src": "{{./docs/index.html}}",
14
14
  "host": [
15
- "*",
16
- "general.cocreate.app"
15
+ "*"
17
16
  ],
18
17
  "directory": "unique",
19
18
  "content-type": "{{content-type}}",
package/demo/index.html CHANGED
@@ -6,9 +6,9 @@
6
6
  <!-- CoCreate Favicon -->
7
7
  <link
8
8
  rel="icon"
9
- href="https://cdn.cocreate.app/favicon.ico"
10
- type="image/ico"
11
- sizes="16x16" />
9
+ type="image/png"
10
+ sizes="32x32"
11
+ href="../assets/favicon.ico" />
12
12
  <link rel="manifest" href="/manifest.webmanifest" />
13
13
  </head>
14
14
  <style>
package/docs/index.html CHANGED
@@ -11,10 +11,10 @@
11
11
  sizes="32x32"
12
12
  href="https://cocreate.app/images/favicon.ico" />
13
13
  <meta
14
- key="description"
14
+ name="description"
15
15
  content="A simple HTML5 and pure javascript component. Easy configuration using HTML5 attributes or Javscript api and highly styleable." />
16
16
  <meta
17
- key="keywords"
17
+ name="keywords"
18
18
  content="helper classes, utility classes, css framework, css library, inline style classes" />
19
19
  <meta name="robots" content="index,follow" />
20
20
  <meta
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/unique",
3
- "version": "1.15.6",
3
+ "version": "1.15.8",
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",
@@ -58,7 +58,7 @@
58
58
  "webpack-log": "^3.0.1"
59
59
  },
60
60
  "dependencies": {
61
- "@cocreate/crud-client": "^1.28.10",
61
+ "@cocreate/crud-client": "^1.28.12",
62
62
  "@cocreate/uuid": "^1.7.2"
63
63
  }
64
64
  }
package/src/client.js CHANGED
@@ -44,7 +44,7 @@ async function isUnique(element) {
44
44
  let key = element.getAttribute('key');
45
45
  let value = await element.getValue();
46
46
  let request = {
47
- method: 'read.object',
47
+ method: 'object.read',
48
48
  db: 'indexeddb',
49
49
  array: element.getAttribute('array'),
50
50
  $filter: {
package/src/server.js CHANGED
@@ -26,7 +26,7 @@ class CoCreateUnique {
26
26
  async isUnique(data) {
27
27
  const self = this
28
28
  try {
29
- data.method = 'read.object'
29
+ data.method = 'object.read'
30
30
  this.crud.send(data).then((data) => {
31
31
  let response = {
32
32
  method: 'isUnique',