Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "curvecp", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Pure javascript CurveCP library", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -75,2 +75,7 @@ 'use strict' | ||
} | ||
if (!this.isServer) { | ||
var keyPair = nacl.box.keyPair() | ||
this.clientConnectionPublicKey = keyPair.publicKey | ||
this.clientConnectionPrivateKey = keyPair.secretKey | ||
} | ||
this._connectStream(this.stream) | ||
@@ -436,5 +441,2 @@ } | ||
this.__initiateSend = false | ||
var keyPair = nacl.box.keyPair() | ||
this.clientConnectionPublicKey = keyPair.publicKey | ||
this.clientConnectionPrivateKey = keyPair.secretKey | ||
var result = new Uint8Array(224) | ||
@@ -441,0 +443,0 @@ result.set(HELLO_MSG, 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
68495
1683