@cocreate/api 1.15.9 → 1.15.10
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 +10 -0
- package/demo/index.html +3 -3
- package/docs/form.html +0 -1
- package/docs/index.html +0 -1
- package/docs/module.html +0 -1
- package/docs/server.html +0 -1
- package/package.json +7 -7
- package/src/server.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [1.15.10](https://github.com/CoCreate-app/CoCreate-api/compare/v1.15.9...v1.15.10) (2023-11-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* favicon.ico path ([dfdeee5](https://github.com/CoCreate-app/CoCreate-api/commit/dfdeee51fe79a7ebcb0a7731da4f11c5ddcfa088))
|
|
7
|
+
* removed apikey.js ([cd25fd4](https://github.com/CoCreate-app/CoCreate-api/commit/cd25fd4255878abdae1ec228d76dd55a8c201e19))
|
|
8
|
+
* update dependencies to the lates versions ([2282be8](https://github.com/CoCreate-app/CoCreate-api/commit/2282be8c474fd185676cea83e702642e5eeef4a5))
|
|
9
|
+
* update method to use object.update etc ([b9b7709](https://github.com/CoCreate-app/CoCreate-api/commit/b9b7709015256a22eedb154ed49b48f7a0b3b716))
|
|
10
|
+
|
|
1
11
|
## [1.15.9](https://github.com/CoCreate-app/CoCreate-api/compare/v1.15.8...v1.15.9) (2023-10-25)
|
|
2
12
|
|
|
3
13
|
|
package/demo/index.html
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
<!-- CoCreate Favicon -->
|
|
6
6
|
<link
|
|
7
7
|
rel="icon"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
type="image/png"
|
|
9
|
+
sizes="32x32"
|
|
10
|
+
href="../assets/favicon.ico" />
|
|
11
11
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|
package/docs/form.html
CHANGED
package/docs/index.html
CHANGED
package/docs/module.html
CHANGED
package/docs/server.html
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/api",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.10",
|
|
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.12.
|
|
63
|
-
"@cocreate/crud-client": "^1.28.
|
|
64
|
-
"@cocreate/element-prototype": "^1.11.
|
|
65
|
-
"@cocreate/render": "^1.29.
|
|
66
|
-
"@cocreate/socket-client": "^1.32.
|
|
67
|
-
"@cocreate/utils": "^1.26.
|
|
62
|
+
"@cocreate/actions": "^1.12.1",
|
|
63
|
+
"@cocreate/crud-client": "^1.28.12",
|
|
64
|
+
"@cocreate/element-prototype": "^1.11.8",
|
|
65
|
+
"@cocreate/render": "^1.29.1",
|
|
66
|
+
"@cocreate/socket-client": "^1.32.3",
|
|
67
|
+
"@cocreate/utils": "^1.26.2"
|
|
68
68
|
}
|
|
69
69
|
}
|
package/src/server.js
CHANGED
|
@@ -27,7 +27,7 @@ var api = (() => {
|
|
|
27
27
|
})
|
|
28
28
|
|
|
29
29
|
let org = await CRUD.send({
|
|
30
|
-
method: 'read
|
|
30
|
+
method: 'object.read',
|
|
31
31
|
array: "organizations",
|
|
32
32
|
key: config["key"],
|
|
33
33
|
organization_id: config["organization_id"],
|
|
@@ -62,7 +62,7 @@ var api = (() => {
|
|
|
62
62
|
})
|
|
63
63
|
|
|
64
64
|
let data2 = await CRUD.send({
|
|
65
|
-
method: 'read
|
|
65
|
+
method: 'object.read',
|
|
66
66
|
array: "organizations",
|
|
67
67
|
object: {
|
|
68
68
|
$filter: {
|
|
@@ -96,7 +96,7 @@ var api = (() => {
|
|
|
96
96
|
})
|
|
97
97
|
|
|
98
98
|
let myOrg = await CRUD.send({
|
|
99
|
-
method: 'read
|
|
99
|
+
method: 'object.read',
|
|
100
100
|
array: "organizations",
|
|
101
101
|
key: org["key"],
|
|
102
102
|
organization_id: org["_id"],
|