Comparing version 2.0.7 to 2.0.8
{ | ||
"name": "js2ray", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"description": "The v2ray vmess protocol, based on nodejs javascript which you can use on hosts and servers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -118,3 +118,3 @@ | ||
ipCount: a.ipCount || 0, | ||
ipCountDuration: a.ipCountDuration || 180, | ||
ipCountDuration: a.ipCountDuration || 30, | ||
email: a.email, | ||
@@ -121,0 +121,0 @@ expire: a.expire, |
@@ -80,2 +80,4 @@ | ||
app._cipherNonce += 1; | ||
if (app._cipherNonce > 65535) | ||
app._cipherNonce = 0 | ||
} | ||
@@ -89,2 +91,4 @@ else if (security === consts.SECURITY_TYPE_CHACHA20_POLY1305) { | ||
app._cipherNonce += 1; | ||
if (app._cipherNonce > 65535) | ||
app._cipherNonce = 0 | ||
} | ||
@@ -119,3 +123,3 @@ return Buffer.concat([ciphertext, tag]); | ||
return plaintext; | ||
} catch (err) { | ||
} catch (err) { | ||
return null; | ||
@@ -122,0 +126,0 @@ } |
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
123085
3165