@cocreate/elements 1.13.8 → 1.13.10

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.13.10](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.13.9...v1.13.10) (2022-11-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump dependencies ([62f9fc7](https://github.com/CoCreate-app/CoCreate-elements/commit/62f9fc7391c153fab284d1168852a30ae7bbf48d))
7
+ * CoCreate.crud.default removed bug causing default object ([23846ac](https://github.com/CoCreate-app/CoCreate-elements/commit/23846aca68eb5b9689614f4d2d7a6f74a328812d))
8
+
9
+ ## [1.13.9](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.13.8...v1.13.9) (2022-11-24)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * bump depenedencies ([d6fcf6f](https://github.com/CoCreate-app/CoCreate-elements/commit/d6fcf6f10c66b0c0ac6013db2e8166582d21e30d))
15
+
1
16
  ## [1.13.8](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.13.7...v1.13.8) (2022-11-23)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/elements",
3
- "version": "1.13.8",
3
+ "version": "1.13.10",
4
4
  "description": "Fetch content into any html element by using html5 attributes to query data stored in CoCreate headless CMS. If data is changed it will instantly reflect in html tags as changes are broadcasted in realtime",
5
5
  "keywords": [
6
6
  "elements",
@@ -61,11 +61,11 @@
61
61
  "webpack-log": "^3.0.1"
62
62
  },
63
63
  "dependencies": {
64
- "@cocreate/actions": "^1.5.20",
65
- "@cocreate/crud-client": "^1.14.0",
66
- "@cocreate/docs": "^1.4.2",
67
- "@cocreate/element-prototype": "^1.1.5",
68
- "@cocreate/observer": "^1.5.25",
69
- "@cocreate/utils": "^1.10.21"
64
+ "@cocreate/actions": "^1.5.22",
65
+ "@cocreate/crud-client": "^1.15.1",
66
+ "@cocreate/docs": "^1.4.4",
67
+ "@cocreate/element-prototype": "^1.1.7",
68
+ "@cocreate/observer": "^1.5.27",
69
+ "@cocreate/utils": "^1.12.0"
70
70
  }
71
71
  }
package/src/index.js CHANGED
@@ -1,18 +1,12 @@
1
1
  import observer from '@cocreate/observer';
2
2
  import action from '@cocreate/actions';
3
- import CRUD from '@cocreate/crud-client';
3
+ import crud from '@cocreate/crud-client';
4
4
  import ccfilter from '@cocreate/filter';
5
5
  import '@cocreate/element-prototype';
6
6
  import { initSetValues} from './setValue';
7
7
  import { initGetValues} from './getValue';
8
8
  import './fetchSrc';
9
9
 
10
- let crud
11
- if (CRUD && CRUD.default)
12
- crud = CRUD.default
13
- else
14
- crud = CRUD
15
-
16
10
 
17
11
  const selector = "[collection][name]:not(cocreate-select, link), input, textarea, select, [contenteditable]";
18
12
  const initializing = new Map();
package/src/setValue.js CHANGED
@@ -1,14 +1,8 @@
1
1
  import observer from '@cocreate/observer';
2
- import CRUD from '@cocreate/crud-client';
2
+ import crud from '@cocreate/crud-client';
3
3
  import { queryDocumentSelectorAll } from '@cocreate/utils';
4
4
  import '@cocreate/element-prototype';
5
5
 
6
- let crud
7
- if (CRUD && CRUD.default)
8
- crud = CRUD.default
9
- else
10
- crud = CRUD
11
-
12
6
  function initSetValues() {
13
7
  var elements = document.querySelectorAll('[set-value], [set-value-closest]');
14
8
  initElements(elements);