xjs-common 9.1.5 → 9.1.6

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.
@@ -96,7 +96,8 @@ class HttpResolverContext {
96
96
  this.cmv = cmv;
97
97
  this._l = _l;
98
98
  this._mode = op?.mode ?? u_array_1.UArray.randomPick([exports.s_clientMode.chrome, exports.s_clientMode.firefox]);
99
- this._ciphers = this.createCiphers(this._mode);
99
+ if (this._mode.id > 0)
100
+ this._ciphers = this.createCiphers(this._mode);
100
101
  this._proxyConfig = op?.proxy;
101
102
  this._chHeaders = s_mode2headers.get(this._mode)(this.cmv);
102
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xjs-common",
3
- "version": "9.1.5",
3
+ "version": "9.1.6",
4
4
  "description": "library modules for nodejs + typescript that bundled general-purpose implementations.",
5
5
  "repository": {
6
6
  "type": "git",