@cocreate/socket-server 1.1.5 → 1.1.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 CHANGED
@@ -1,3 +1,32 @@
1
+ ## [1.1.9](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.1.8...v1.1.9) (2022-02-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update CoCreate.config.js, bump @cocreate/docs version ([7338129](https://github.com/CoCreate-app/CoCreate-socket-server/commit/73381299f837b4cae092bdd2272c7f47d5eef740))
7
+
8
+ ## [1.1.8](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.1.7...v1.1.8) (2021-11-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * licensing information ([db7ffb0](https://github.com/CoCreate-app/CoCreate-socket-server/commit/db7ffb0c4cf5b01282a90956e593c9509b4ff801))
14
+ * update readme ([ae9401f](https://github.com/CoCreate-app/CoCreate-socket-server/commit/ae9401fbe482d01c39074a9612c805c7c5d9596b))
15
+
16
+ ## [1.1.7](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.1.6...v1.1.7) (2021-11-11)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * update .gitignore ([2783c9a](https://github.com/CoCreate-app/CoCreate-socket-server/commit/2783c9a464bf0c930099d9ac0ca65a8a5f7ab41c))
22
+
23
+ ## [1.1.6](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.1.5...v1.1.6) (2021-11-01)
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * add apikey.js ([9d73042](https://github.com/CoCreate-app/CoCreate-socket-server/commit/9d73042e5e0e274b990d1a76a0de0e5fed7bea74))
29
+
1
30
  ## [1.1.5](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.1.4...v1.1.5) (2021-08-13)
2
31
 
3
32
 
@@ -0,0 +1,27 @@
1
+ module.exports = {
2
+ config: {
3
+ "apiKey": "2061acef-0451-4545-f754-60cf8160",
4
+ "organization_Id": "5ff747727005da1c272740ab",
5
+ "host": "general.cocreate.app"
6
+ },
7
+ "sources": [
8
+ {
9
+ "entry": "./docs/index.html",
10
+ "collection": "files",
11
+ "document_id": "",
12
+ "key": "src",
13
+ "data": {
14
+ "name": "index.html",
15
+ "path": "/docs/socket-server/index.html",
16
+ "domains": [
17
+ "cocreate.app",
18
+ "general.cocreate.app"
19
+ ],
20
+ "directory": "/docs/socket-server",
21
+ "content-type": "text/html",
22
+ "public": "true",
23
+ "website_id": "5ffbceb7f11d2d00103c4535"
24
+ }
25
+ }
26
+ ]
27
+ }
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020 CoCreate LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # CoCreate-socket-server
2
2
  A simple socket-server component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/socket-server)
3
3
 
4
- ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-socket-server?style=for-the-badge)
5
- ![GitHub](https://img.shields.io/github/license/CoCreate-app/CoCreate-socket-server?style=for-the-badge)
6
- ![GitHub labels](https://img.shields.io/github/labels/CoCreate-app/CoCreate-socket-server/help%20wanted?style=for-the-badge)
4
+ ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-socket-server?style=flat-square)
5
+ ![GitHub contributors](https://img.shields.io/github/contributors/CoCreate-app/CoCreate-socket-server?style=flat-square)
6
+ ![License](https://img.shields.io/static/v1?style=flat-square&label=license&message=SSPL&color=green)
7
+ ![Hiring](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet)
7
8
 
8
9
  ![CoCreate](https://cdn.cocreate.app/logo.png)
9
10
 
package/docs/index.html CHANGED
@@ -120,21 +120,7 @@
120
120
 
121
121
  </div>
122
122
  </div>
123
- <script>
124
- var config = {
125
- apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
126
- securityKey: 'f26baf68-e3a9-45fc-effe-502e47116265',
127
- organization_Id: '5de0387b12e200ea63204d6c'
128
- }
129
- </script>
130
-
131
- <!--CoCreateJS-->
132
- <script src="https://server.cocreate.app/js/CoCreate.min.js"></script>
133
-
134
- <!-- CoCreate CodeMiirror -->
135
- <script type="text/javascript" src="https://server.cocreate.app/CoCreate-plugins/CoCreate-codemirror/dist/CoCreate-codemirror.js" async></script>
136
-
137
- <!-- Prism -->
138
- <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.21.0/prism.min.js"></script>
123
+ <script src="/apikey.js"></script>
124
+ <script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>
139
125
  </body>
140
126
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/socket-server",
3
- "version": "1.1.5",
3
+ "version": "1.1.9",
4
4
  "description": "CoCreate-socket-server",
5
5
  "keywords": [
6
6
  "cocreate-socket",
@@ -26,7 +26,8 @@
26
26
  "main": "index.js",
27
27
  "scripts": {
28
28
  "demo": "PORT=5000 node demo/server.js",
29
- "test": "echo \"Error: no test specified\" && exit 1"
29
+ "test": "echo \"Error: no test specified\" && exit 1",
30
+ "docs": "node ./node_modules/@cocreate/docs/src/index.js"
30
31
  },
31
32
  "repository": {
32
33
  "type": "git",
@@ -39,7 +40,7 @@
39
40
  },
40
41
  "homepage": "https://cocreate.app/docs/CoCreate-socket-server",
41
42
  "dependencies": {
42
- "@cocreate/docs": "^1.0.3",
43
+ "@cocreate/docs": "^1.2.68",
43
44
  "@cocreate/uuid": "^1.0.5",
44
45
  "querystring": "^0.2.0",
45
46
  "ws": "^7.3.0"