@cocreate/api 1.15.7 → 1.15.9
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 +14 -0
- package/package.json +7 -7
- package/src/server.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.15.9](https://github.com/CoCreate-app/CoCreate-api/compare/v1.15.8...v1.15.9) (2023-10-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump dependencies ([fb20579](https://github.com/CoCreate-app/CoCreate-api/commit/fb20579a40f0637d8d695854603304ca4f50eec8))
|
|
7
|
+
|
|
8
|
+
## [1.15.8](https://github.com/CoCreate-app/CoCreate-api/compare/v1.15.7...v1.15.8) (2023-10-22)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* CRUD declaration ([dcd6f71](https://github.com/CoCreate-app/CoCreate-api/commit/dcd6f71129a89600a1c54f822aae9d990adedb0c))
|
|
14
|
+
|
|
1
15
|
## [1.15.7](https://github.com/CoCreate-app/CoCreate-api/compare/v1.15.6...v1.15.7) (2023-10-19)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/api",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.9",
|
|
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",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"webpack-log": "^3.0.1"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@cocreate/actions": "^1.
|
|
63
|
-
"@cocreate/crud-client": "^1.28.
|
|
64
|
-
"@cocreate/element-prototype": "^1.11.
|
|
65
|
-
"@cocreate/render": "^1.
|
|
66
|
-
"@cocreate/socket-client": "^1.
|
|
67
|
-
"@cocreate/utils": "^1.
|
|
62
|
+
"@cocreate/actions": "^1.12.0",
|
|
63
|
+
"@cocreate/crud-client": "^1.28.10",
|
|
64
|
+
"@cocreate/element-prototype": "^1.11.7",
|
|
65
|
+
"@cocreate/render": "^1.29.0",
|
|
66
|
+
"@cocreate/socket-client": "^1.32.2",
|
|
67
|
+
"@cocreate/utils": "^1.26.1"
|
|
68
68
|
}
|
|
69
69
|
}
|
package/src/server.js
CHANGED
|
@@ -2,7 +2,7 @@ const CRUD = require('@cocreate/crud-client')
|
|
|
2
2
|
const socketClient = require('@cocreate/socket-client')
|
|
3
3
|
let socket = new socketClient("ws");
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
CRUD.setSocket(socket);
|
|
6
6
|
|
|
7
7
|
var api = (() => {
|
|
8
8
|
return {
|
|
@@ -26,7 +26,7 @@ var api = (() => {
|
|
|
26
26
|
host: config["host"]
|
|
27
27
|
})
|
|
28
28
|
|
|
29
|
-
let org = await
|
|
29
|
+
let org = await CRUD.send({
|
|
30
30
|
method: 'read.object',
|
|
31
31
|
array: "organizations",
|
|
32
32
|
key: config["key"],
|
|
@@ -61,7 +61,7 @@ var api = (() => {
|
|
|
61
61
|
host: socket_config.host
|
|
62
62
|
})
|
|
63
63
|
|
|
64
|
-
let data2 = await
|
|
64
|
+
let data2 = await CRUD.send({
|
|
65
65
|
method: 'read.object',
|
|
66
66
|
array: "organizations",
|
|
67
67
|
object: {
|
|
@@ -95,7 +95,7 @@ var api = (() => {
|
|
|
95
95
|
host: socket_config.host
|
|
96
96
|
})
|
|
97
97
|
|
|
98
|
-
let myOrg = await
|
|
98
|
+
let myOrg = await CRUD.send({
|
|
99
99
|
method: 'read.object',
|
|
100
100
|
array: "organizations",
|
|
101
101
|
key: org["key"],
|