@cocreate/elements 1.4.11 → 1.4.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,10 @@
1
+ ## [1.4.12](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.4.11...v1.4.12) (2021-12-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * get-value observer typo ([1ab5e84](https://github.com/CoCreate-app/CoCreate-elements/commit/1ab5e84428a680bd0e4a1c62091fd55edf22f69d))
7
+
1
8
  ## [1.4.11](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.4.10...v1.4.11) (2021-12-23)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/elements",
3
- "version": "1.4.11",
3
+ "version": "1.4.12",
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",
package/src/getValue.js CHANGED
@@ -112,11 +112,11 @@ function __encryptPassword(str) {
112
112
  }
113
113
 
114
114
  observer.init({
115
- name: 'CoCreateLogic',
115
+ name: 'get-value',
116
116
  observe: ['addedNodes'],
117
117
  target: '[get-value]',
118
118
  callback: function(mutation) {
119
- CoCreateLogic.getValues.initElement(mutation.target);
119
+ initElement(mutation.target);
120
120
  }
121
121
  });
122
122