Comparing version 1.1.9 to 1.2.0
11
index.js
@@ -77,8 +77,17 @@ let xFuturePath = ""; | ||
var json = JSON.stringify(parser.parse(url)); | ||
return ff.ChangeURL(json, url); | ||
return ff.ChangeURL(json, url, false); | ||
} | ||
SetGlobalMode(isGlobalMode, ipdir){ | ||
if (isGlobalMode == parser.isGlobalMode) { | ||
return; | ||
} | ||
parser.isGlobalMode = isGlobalMode; | ||
ff.SetGlobalMode(isGlobalMode, ipdir); | ||
let K_Connected = 2; | ||
if (this.GetCurrentStatus() == K_Connected) { | ||
var url = this.GetCurrentURI(); | ||
var json = JSON.stringify(parser.parse(url)); | ||
this.ChangeURL(json, url, true); | ||
} | ||
} | ||
@@ -85,0 +94,0 @@ |
{ | ||
"name": "xfuture", | ||
"version": "1.1.9", | ||
"version": "1.2.0", | ||
"description": "electron vpn sdk", | ||
@@ -5,0 +5,0 @@ "main": "x.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87444353
414