xfuture 1.1.7 → 1.1.9

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/index.js CHANGED
@@ -22,6 +22,9 @@ class xFuture {
22
22
  }
23
23
 
24
24
  StartTunnel(url){
25
+ if (this.driver == null || this.driver == undefined) {
26
+ this.driver = "";
27
+ }
25
28
  if(this.driver.length == 0) return false;
26
29
  var json = JSON.stringify(parser.parse(url));
27
30
  console.log("json:", json);
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xfuture",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "electron vpn sdk",
5
5
  "main": "x.js",
6
6
  "scripts": {
package/parser.js CHANGED
@@ -70,7 +70,7 @@ class xParser {
70
70
  base.routing = routing;
71
71
  base.remark = remark;
72
72
  base.address = address;
73
- base.port = port;
73
+ base.port = port * 1;
74
74
  return base;
75
75
  }
76
76
 
@@ -122,7 +122,7 @@ class xParser {
122
122
  base.routing = routing;
123
123
  base.remark = remark;
124
124
  base.address = address;
125
- base.port = port;
125
+ base.port = port * 1;
126
126
  return base;
127
127
  }
128
128
 
@@ -166,7 +166,7 @@ class xParser {
166
166
  base.routing = routing;
167
167
  base.remark = remark;
168
168
  base.address = address;
169
- base.port = port;
169
+ base.port = port * 1;
170
170
  return base;
171
171
 
172
172
 
@@ -196,7 +196,7 @@ class xParser {
196
196
  base.routing = routing;
197
197
  base.remark = remark;
198
198
  base.address = address;
199
- base.port = port;
199
+ base.port = port * 1;
200
200
  return base;
201
201
  }
202
202