node-mbed-dtls
Advanced tools
Comparing version 1.3.6 to 2.0.0
@@ -0,1 +1,5 @@ | ||
# 2.0.0 | ||
* Remove public key as an argument because it can be derived from the private key | ||
# 1.3.6 | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "node-mbed-dtls", | ||
"version": "1.3.6", | ||
"version": "2.0.0", | ||
"description": "Node mbed DTLS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -33,6 +33,5 @@ 'use strict'; | ||
const cert = Buffer.isBuffer(options.cert) ? options.cert : fs.readFileSync(options.cert); | ||
const key = Buffer.isBuffer(options.key) ? options.key : fs.readFileSync(options.key); | ||
this.mbedServer = new mbed.DtlsServer(cert, key, options.debug); | ||
this.mbedServer = new mbed.DtlsServer(key, options.debug); | ||
} | ||
@@ -39,0 +38,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
8840949
395