@cocreate/api 1.15.6 → 1.15.7
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 +7 -0
- package/package.json +1 -1
- package/src/client.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.15.7](https://github.com/CoCreate-app/CoCreate-api/compare/v1.15.6...v1.15.7) (2023-10-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* declartion of render functions using object spread ([69de66f](https://github.com/CoCreate-app/CoCreate-api/commit/69de66f9dfbce7b8bca09f152104f087060adf0a))
|
|
7
|
+
|
|
1
8
|
## [1.15.6](https://github.com/CoCreate-app/CoCreate-api/compare/v1.15.5...v1.15.6) (2023-10-17)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/api",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.7",
|
|
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",
|
package/src/client.js
CHANGED
|
@@ -3,7 +3,7 @@ import { getAttributes, getValueFromObject, dotNotationToObject } from "@cocreat
|
|
|
3
3
|
import observer from "@cocreate/observer";
|
|
4
4
|
import socket from "@cocreate/socket-client";
|
|
5
5
|
import action from '@cocreate/actions';
|
|
6
|
-
import render from '@cocreate/render';
|
|
6
|
+
import { render } from '@cocreate/render';
|
|
7
7
|
import '@cocreate/element-prototype';
|
|
8
8
|
|
|
9
9
|
const CoCreateApi = {
|
|
@@ -174,7 +174,7 @@ const CoCreateApi = {
|
|
|
174
174
|
let items = document.querySelectorAll(`[templateid="${templateid}"]`)
|
|
175
175
|
for (let item of items)
|
|
176
176
|
item.remove()
|
|
177
|
-
render
|
|
177
|
+
render({
|
|
178
178
|
selector: `[template="${templateid}"]`,
|
|
179
179
|
data
|
|
180
180
|
});
|