@cocreate/elements 1.13.14 → 1.13.15

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,12 @@
1
+ ## [1.13.15](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.13.14...v1.13.15) (2022-12-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump dependencies ([37b244b](https://github.com/CoCreate-app/CoCreate-elements/commit/37b244b721aff5fa56459dca97c03830a4822ecd))
7
+ * docs ([0aaffac](https://github.com/CoCreate-app/CoCreate-elements/commit/0aaffac77840edce43668edf7ee4c9077826e5d6))
8
+ * el typo. renamed to element ([94ff5f8](https://github.com/CoCreate-app/CoCreate-elements/commit/94ff5f8d32b026f5cc81d184bdc8e2661647c699))
9
+
1
10
  ## [1.13.14](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.13.13...v1.13.14) (2022-11-28)
2
11
 
3
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/elements",
3
- "version": "1.13.14",
3
+ "version": "1.13.15",
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.26",
65
- "@cocreate/crud-client": "^1.15.8",
66
- "@cocreate/docs": "^1.4.8",
67
- "@cocreate/element-prototype": "^1.1.13",
68
- "@cocreate/observer": "^1.5.31",
69
- "@cocreate/utils": "^1.12.6"
64
+ "@cocreate/actions": "^1.5.28",
65
+ "@cocreate/crud-client": "^1.15.10",
66
+ "@cocreate/docs": "^1.4.11",
67
+ "@cocreate/element-prototype": "^1.1.15",
68
+ "@cocreate/observer": "^1.5.32",
69
+ "@cocreate/utils": "^1.13.0"
70
70
  }
71
71
  }
package/src/fetchSrc.js CHANGED
@@ -25,10 +25,10 @@ async function initElement(element) {
25
25
  let text = await response.text(); // Replaces body with response
26
26
  if (text){
27
27
  element.innerHTML = text; // Replaces body with response
28
- initializing.delete(el)
28
+ initializing.delete(element)
29
29
  }
30
30
  } catch (err) {
31
- console.log('Fetch error:' + err); // Error handling
31
+ console.log('FetchSrc error:' + err); // Error handling
32
32
  }
33
33
  }
34
34
  };