@cocreate/socket-server 1.5.2 → 1.6.0

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.6.0](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.5.3...v1.6.0) (2023-01-02)
2
+
3
+
4
+ ### Features
5
+
6
+ * Access Denied returns action, status, and data ([cd98a28](https://github.com/CoCreate-app/CoCreate-socket-server/commit/cd98a287af38567d9a726964e63476d6cd15a90e))
7
+
8
+ ## [1.5.3](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.5.2...v1.5.3) (2023-01-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * docs sanbox overflow ([19e4205](https://github.com/CoCreate-app/CoCreate-socket-server/commit/19e42053e27c4f8107b8f312c5bac807cb76ce60))
14
+
1
15
  ## [1.5.2](https://github.com/CoCreate-app/CoCreate-socket-server/compare/v1.5.1...v1.5.2) (2022-12-31)
2
16
 
3
17
 
package/docs/index.html CHANGED
@@ -61,14 +61,14 @@
61
61
 
62
62
  <div class="flex-grow:1 min-width:300px width:50% padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
63
63
  <!-- SandBox -->
64
- <div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
64
+ <div class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
65
65
 
66
66
  <div id="demo-code" resizable class="position:relative height:50%">
67
67
  <textarea type="code" lang="html" collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
68
68
  <div resize="bottom" class="background:lightgrey"></div>
69
69
  </div>
70
70
 
71
- <div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
71
+ <div id="demo-preview" class="position:relative overflow:auto background-color:white">
72
72
  <div get-value="#demo" class="padding:20px"></div>
73
73
  </div>
74
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/socket-server",
3
- "version": "1.5.2",
3
+ "version": "1.6.0",
4
4
  "description": "CoCreate-socket-server",
5
5
  "keywords": [
6
6
  "cocreate-socket",
@@ -40,8 +40,8 @@
40
40
  },
41
41
  "homepage": "https://cocreate.app/docs/CoCreate-socket-server",
42
42
  "dependencies": {
43
- "@cocreate/docs": "^1.5.1",
44
- "@cocreate/uuid": "^1.2.50"
43
+ "@cocreate/docs": "^1.5.2",
44
+ "@cocreate/uuid": "^1.2.51"
45
45
  },
46
46
  "devDependencies": {
47
47
  "express": "^4.17.1",
package/src/index.js CHANGED
@@ -153,7 +153,7 @@ class SocketServer extends EventEmitter{
153
153
  // if (action == 'syncServer')
154
154
  // this.emit('createDocument', socket, data);
155
155
  // else
156
- this.send(socket, 'Access Denied', passStatus)
156
+ this.send(socket, 'Access Denied', {action, passStatus, data})
157
157
  return;
158
158
  }
159
159
  }