Comparing version 1.1.3 to 1.1.4
17
index.js
@@ -165,2 +165,19 @@ 'use strict' | ||
Remit.prototype.treq = function reqt (event, args, callback, options) { | ||
const debug = master_debug('remit.treq') | ||
const self = this | ||
if (!options) options = {} | ||
if (!options.expiration) options.expiration = 5000 | ||
if (!options.timeout) options.timeout = 5000 | ||
self.req(event, args, callback, options) | ||
} | ||
Remit.prototype.req = function req (event, args, callback, options) { | ||
@@ -167,0 +184,0 @@ const debug = master_debug('remit.req') |
{ | ||
"name": "remit", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "A small set of tools used to create simple microservices that don't need to be aware of one-another's existence.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
19769
285