@cocreate/api 1.15.8 → 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 CHANGED
@@ -1,3 +1,20 @@
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
+
11
+ ## [1.15.9](https://github.com/CoCreate-app/CoCreate-api/compare/v1.15.8...v1.15.9) (2023-10-25)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * bump dependencies ([fb20579](https://github.com/CoCreate-app/CoCreate-api/commit/fb20579a40f0637d8d695854603304ca4f50eec8))
17
+
1
18
  ## [1.15.8](https://github.com/CoCreate-app/CoCreate-api/compare/v1.15.7...v1.15.8) (2023-10-22)
2
19
 
3
20
 
package/demo/index.html CHANGED
@@ -5,9 +5,9 @@
5
5
  <!-- CoCreate Favicon -->
6
6
  <link
7
7
  rel="icon"
8
- href="https://cdn.cocreate.app/favicon.ico"
9
- type="image/ico"
10
- sizes="16x16" />
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
@@ -208,7 +208,6 @@
208
208
  </button>
209
209
  </main>
210
210
 
211
- <script src="./apikey.js"></script>
212
211
  <script src="https://CoCreate.app/dist/CoCreate.js"></script>
213
212
 
214
213
  </body>
package/docs/index.html CHANGED
@@ -229,7 +229,6 @@
229
229
  <i class="height:20px fill:#505050" src="/assets/svg/pencil-alt.svg"></i>
230
230
  </button>
231
231
  </main>
232
- <script src="/apikey.js"></script>
233
232
  <script src="https://CoCreate.app/dist/CoCreate.js"></script>
234
233
  </body>
235
234
 
package/docs/module.html CHANGED
@@ -198,7 +198,6 @@
198
198
  </button>
199
199
  </main>
200
200
 
201
- <script src="./apikey.js"></script>
202
201
  <script src="https://CoCreate.app/dist/CoCreate.js"></script>
203
202
 
204
203
  </body>
package/docs/server.html CHANGED
@@ -209,7 +209,6 @@
209
209
  </button>
210
210
  </main>
211
211
 
212
- <script src="./apikey.js"></script>
213
212
  <script src="https://CoCreate.app/dist/CoCreate.js"></script>
214
213
 
215
214
  </body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/api",
3
- "version": "1.15.8",
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.11.6",
63
- "@cocreate/crud-client": "^1.28.4",
64
- "@cocreate/element-prototype": "^1.11.5",
65
- "@cocreate/render": "^1.28.3",
66
- "@cocreate/socket-client": "^1.29.3",
67
- "@cocreate/utils": "^1.25.3"
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.object',
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.object',
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.object',
99
+ method: 'object.read',
100
100
  array: "organizations",
101
101
  key: org["key"],
102
102
  organization_id: org["_id"],