zhyz-cloudrender-v5 1.0.10 → 1.0.12

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/cloudRender.es.js CHANGED
@@ -22468,6 +22468,9 @@ function registerKeyboardEvents(ele, id) {
22468
22468
  ele.setAttribute('tabindex', '10');
22469
22469
  ele.focus();
22470
22470
  ele.onkeydown = function (e) {
22471
+ if (e.keyCode == 76) {
22472
+ return;
22473
+ }
22471
22474
  let key = e.key;
22472
22475
  if (e.ctrlKey == true && key.toUpperCase() === 'B') ;
22473
22476
  sendInputData$1(new Uint8Array([MessageType$1.KeyDown, getKeyCode(e), e.repeat]).buffer, id);
@@ -29152,7 +29155,7 @@ class CloudRender extends DefaultApi {
29152
29155
  console.log("客户端渲染");
29153
29156
  createWebGLContext(ele, this.renderWidth, this.renderHeight);
29154
29157
  }
29155
- let socketUrl1 = `${isWss ? 'wss' : 'ws'}://${this.url.split("://")[1]}websocket/${this.appliId + v4$2()}`;
29158
+ let socketUrl1 = `${this.isWss ? 'wss' : 'ws'}://${this.url.split("://")[1]}websocket/${this.appliId + v4$2()}`;
29156
29159
  let webscoket1 = new WebSocket(socketUrl1);
29157
29160
  this.serveScoket = webscoket1;
29158
29161
  webscoket1.onmessage = info => {
package/cloudRender.js CHANGED
@@ -22473,6 +22473,9 @@ Expected function or array of functions, received type ${typeof value}.`
22473
22473
  ele.setAttribute('tabindex', '10');
22474
22474
  ele.focus();
22475
22475
  ele.onkeydown = function (e) {
22476
+ if (e.keyCode == 76) {
22477
+ return;
22478
+ }
22476
22479
  let key = e.key;
22477
22480
  if (e.ctrlKey == true && key.toUpperCase() === 'B') ;
22478
22481
  sendInputData$1(new Uint8Array([MessageType$1.KeyDown, getKeyCode(e), e.repeat]).buffer, id);
@@ -29157,7 +29160,7 @@ Expected function or array of functions, received type ${typeof value}.`
29157
29160
  console.log("客户端渲染");
29158
29161
  createWebGLContext(ele, this.renderWidth, this.renderHeight);
29159
29162
  }
29160
- let socketUrl1 = `${isWss ? 'wss' : 'ws'}://${this.url.split("://")[1]}websocket/${this.appliId + v4$2()}`;
29163
+ let socketUrl1 = `${this.isWss ? 'wss' : 'ws'}://${this.url.split("://")[1]}websocket/${this.appliId + v4$2()}`;
29161
29164
  let webscoket1 = new WebSocket(socketUrl1);
29162
29165
  this.serveScoket = webscoket1;
29163
29166
  webscoket1.onmessage = info => {
@@ -22474,6 +22474,9 @@ Expected function or array of functions, received type ${typeof value}.`
22474
22474
  ele.setAttribute('tabindex', '10');
22475
22475
  ele.focus();
22476
22476
  ele.onkeydown = function (e) {
22477
+ if (e.keyCode == 76) {
22478
+ return;
22479
+ }
22477
22480
  let key = e.key;
22478
22481
  if (e.ctrlKey == true && key.toUpperCase() === 'B') ;
22479
22482
  sendInputData$1(new Uint8Array([MessageType$1.KeyDown, getKeyCode(e), e.repeat]).buffer, id);
@@ -29158,7 +29161,7 @@ Expected function or array of functions, received type ${typeof value}.`
29158
29161
  console.log("客户端渲染");
29159
29162
  createWebGLContext(ele, this.renderWidth, this.renderHeight);
29160
29163
  }
29161
- let socketUrl1 = `${isWss ? 'wss' : 'ws'}://${this.url.split("://")[1]}websocket/${this.appliId + v4$2()}`;
29164
+ let socketUrl1 = `${this.isWss ? 'wss' : 'ws'}://${this.url.split("://")[1]}websocket/${this.appliId + v4$2()}`;
29162
29165
  let webscoket1 = new WebSocket(socketUrl1);
29163
29166
  this.serveScoket = webscoket1;
29164
29167
  webscoket1.onmessage = info => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zhyz-cloudrender-v5",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "cloudrender zhyz",
5
5
  "main": "cloudRender.es.js",
6
6
  "scripts": {