xfuture 1.3.1 → 1.3.2

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.
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xfuture",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "electron vpn sdk",
5
5
  "main": "x.js",
6
6
  "scripts": {
package/parser.js CHANGED
@@ -51,9 +51,6 @@ class xParser {
51
51
  var address = ipPorts[0];
52
52
  var port = ipPorts[1] * 1
53
53
 
54
- var security = "";
55
- var method = accountPasswords[0];
56
- var password = accountPasswords[1];
57
54
  var routing = {};
58
55
  var rules = [];
59
56
  if (!this.isGlobalMode) {
@@ -88,8 +85,6 @@ class xParser {
88
85
  info = raw.split("@");
89
86
  }
90
87
  if (info.length < 2) return {};
91
-
92
- var uuid = info[0];
93
88
  var config = info[1].split("?");
94
89
  if (config.length < 2) return {};
95
90
 
@@ -102,10 +97,6 @@ class xParser {
102
97
  if (suffix.length < 2) return {};
103
98
 
104
99
  var remark = suffix[1];
105
-
106
- var tag = "proxy";
107
- var parameters = suffix[0].split("&");
108
-
109
100
  var routing = {};
110
101
  var rules = [];
111
102
  if (!this.isGlobalMode) {
@@ -131,7 +122,6 @@ class xParser {
131
122
  return {};
132
123
  }
133
124
 
134
- var uuid = info[0];
135
125
  var config = info[1].split("?");
136
126
  if (config.length < 2) {
137
127
  return {};