@cocreate/api 1.10.18 → 1.10.20

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,17 @@
1
+ ## [1.10.20](https://github.com/CoCreate-app/CoCreate-api/compare/v1.10.19...v1.10.20) (2023-06-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * renamed hosts to host. the value can be a string or an array of strings ([6d99cce](https://github.com/CoCreate-app/CoCreate-api/commit/6d99cce6c5275b0d8d1a05e73ed70cb9b455d8bc))
7
+
8
+ ## [1.10.19](https://github.com/CoCreate-app/CoCreate-api/compare/v1.10.18...v1.10.19) (2023-06-10)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([c39f065](https://github.com/CoCreate-app/CoCreate-api/commit/c39f065275f683be63c46393b19feaa1c79af2f0))
14
+
1
15
  ## [1.10.18](https://github.com/CoCreate-app/CoCreate-api/compare/v1.10.17...v1.10.18) (2023-06-10)
2
16
 
3
17
 
@@ -10,7 +10,7 @@ module.exports = {
10
10
  "name": "index.html",
11
11
  "path": "/docs/api/index.html",
12
12
  "src": "{{./docs/index.html}}",
13
- "hosts": [
13
+ "host": [
14
14
  "*",
15
15
  "general.cocreate.app"
16
16
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/api",
3
- "version": "1.10.18",
3
+ "version": "1.10.20",
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",
@@ -28,7 +28,6 @@
28
28
  "start": "npx webpack --config webpack.config.js",
29
29
  "build": "NODE_ENV=production npx webpack --config webpack.config.js",
30
30
  "dev": "npx webpack --config webpack.config.js --watch",
31
- "docs": "node ./node_modules/@cocreate/docs/src/index.js",
32
31
  "postinstall": "node ./node_modules/@cocreate/cli/check-coc.js"
33
32
  },
34
33
  "repository": {
@@ -61,12 +60,11 @@
61
60
  "webpack-log": "^3.0.1"
62
61
  },
63
62
  "dependencies": {
64
- "@cocreate/actions": "^1.8.18",
65
- "@cocreate/crud-client": "^1.21.10",
66
- "@cocreate/docs": "^1.8.13",
67
- "@cocreate/element-prototype": "^1.8.16",
68
- "@cocreate/render": "^1.24.18",
69
- "@cocreate/socket-client": "^1.23.12",
70
- "@cocreate/utils": "^1.21.3"
63
+ "@cocreate/actions": "^1.8.19",
64
+ "@cocreate/crud-client": "^1.21.11",
65
+ "@cocreate/element-prototype": "^1.8.17",
66
+ "@cocreate/render": "^1.24.19",
67
+ "@cocreate/socket-client": "^1.23.13",
68
+ "@cocreate/utils": "^1.21.4"
71
69
  }
72
70
  }
package/src/server.js CHANGED
@@ -64,7 +64,7 @@ var api = (() => {
64
64
  collection: "organizations",
65
65
  filter: {
66
66
  query: [{
67
- name: 'hosts',
67
+ name: 'host',
68
68
  operator: "$in",
69
69
  value: [hostname]
70
70
  }],