@ives_xxz/framework 2.3.1 → 2.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ives_xxz/framework",
3
- "version": "2.3.1",
3
+ "version": "2.3.3",
4
4
  "description": "cocoscreator 2.x mvc framework",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -81,6 +81,8 @@ export default class FWSocket extends FW.Service implements FW.Socket {
81
81
  this.socket = new WebSocket(address);
82
82
  } else {
83
83
  if (config.certificate) {
84
+ this.certificate = config.certificate;
85
+
84
86
  let url = config.certificate.nativeUrl;
85
87
  if (cc.assetManager.cacheManager) {
86
88
  url =
@@ -88,6 +90,7 @@ export default class FWSocket extends FW.Service implements FW.Socket {
88
90
  cc.assetManager.cacheManager.getTemp(url) ||
89
91
  url;
90
92
  }
93
+
91
94
  //@ts-ignore
92
95
  this.socket = new WebSocket(address, [], url);
93
96
  } else {