@cocreate/api 1.5.36 → 1.6.1

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.6.1](https://github.com/CoCreate-app/CoCreate-api/compare/v1.6.0...v1.6.1) (2023-01-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump cdn to 1.39.4 ([aced5f4](https://github.com/CoCreate-app/CoCreate-api/commit/aced5f44c0caf975dbb0732f1abf2e4390f3308d))
7
+ * bump dependencies ([8b4c0ae](https://github.com/CoCreate-app/CoCreate-api/commit/8b4c0ae6590f4d547a410f8fd6220c13a03299d3))
8
+
9
+ # [1.6.0](https://github.com/CoCreate-app/CoCreate-api/compare/v1.5.36...v1.6.0) (2023-01-02)
10
+
11
+
12
+ ### Features
13
+
14
+ * class="template" template_id="id" replaced with template="id" ([77f8b5d](https://github.com/CoCreate-app/CoCreate-api/commit/77f8b5d8fd324aa25647ba7da8f280a2e9ad098b))
15
+
1
16
  ## [1.5.36](https://github.com/CoCreate-app/CoCreate-api/compare/v1.5.35...v1.5.36) (2023-01-01)
2
17
 
3
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/api",
3
- "version": "1.5.36",
3
+ "version": "1.6.1",
4
4
  "description": "A simple api helper component in vanilla javascript used by JavaScript developers to create thirdparty api intergrations. CoCreate-api includes the client component and server side for api processing. Thirdparty apis can be accessible using HTML5 attributes and/or JavaScript API. ",
5
5
  "keywords": [
6
6
  "thirdparty-api-intergration",
@@ -61,12 +61,12 @@
61
61
  "webpack-log": "^3.0.1"
62
62
  },
63
63
  "dependencies": {
64
- "@cocreate/actions": "^1.5.48",
65
- "@cocreate/crud-client": "^1.17.9",
66
- "@cocreate/docs": "^1.5.2",
67
- "@cocreate/element-prototype": "^1.2.21",
68
- "@cocreate/hosting": "^1.7.2",
69
- "@cocreate/render": "^1.18.0",
70
- "@cocreate/socket-client": "^1.13.32"
64
+ "@cocreate/actions": "^1.5.49",
65
+ "@cocreate/crud-client": "^1.17.11",
66
+ "@cocreate/docs": "^1.5.3",
67
+ "@cocreate/element-prototype": "^1.2.23",
68
+ "@cocreate/hosting": "^1.7.3",
69
+ "@cocreate/render": "^1.19.0",
70
+ "@cocreate/socket-client": "^1.13.34"
71
71
  }
72
72
  }
package/src/client.js CHANGED
@@ -140,7 +140,7 @@ const CoCreateApi = {
140
140
 
141
141
  render: function(action, data) {
142
142
  CoCreateRender.data({
143
- selector: `[template_id="${action}"]`,
143
+ selector: `[template="${action}"]`,
144
144
  data: data
145
145
  });
146
146
  },