Comparing version 0.5.0 to 0.5.1
@@ -60,2 +60,3 @@ | ||
var err = new Error('No reply in ' + parameters.exchangeLifetime + 's') | ||
err.retransmitTimeout = parameters.exchangeLifetime; | ||
that.emit('error', err) | ||
@@ -62,0 +63,0 @@ }, parameters.exchangeLifetime * 1000) |
{ | ||
"name": "coap", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "A CoAP library for node modelled after 'http'", | ||
@@ -38,6 +38,6 @@ "main": "index.js", | ||
"coap-packet": "~0.1.8", | ||
"bl": "~0.5.0", | ||
"bl": "~0.6.0", | ||
"backoff": "~2.3.0", | ||
"lru-cache": "~2.3.1" | ||
"lru-cache": "~2.5.0" | ||
} | ||
} |
@@ -16,2 +16,6 @@ node-coap | ||
[![NPM](https://nodei.co/npm/coap.png)](https://nodei.co/npm/coap/) | ||
[![NPM](https://nodei.co/npm-dl/coap.png)](https://nodei.co/npm/coap/) | ||
<a name="intro"></a> | ||
@@ -18,0 +22,0 @@ ## Introduction |
@@ -576,2 +576,3 @@ const coap = require('../') | ||
expect(err).to.have.property('message', 'No reply in 247s') | ||
expect(err).to.have.property('retransmitTimeout', 247) | ||
done() | ||
@@ -578,0 +579,0 @@ }) |
@@ -619,3 +619,4 @@ | ||
res.on('error', function() { | ||
res.on('error', function(err) { | ||
expect(err).to.have.property('retransmitTimeout', 247) | ||
done() | ||
@@ -622,0 +623,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
102619
2740
455
+ Addedbl@0.6.0(transitive)
+ Addedlru-cache@2.5.2(transitive)
- Removedbl@0.5.0(transitive)
- Removedlru-cache@2.3.1(transitive)
Updatedbl@~0.6.0
Updatedlru-cache@~2.5.0