Comparing version 0.0.7 to 0.0.8
@@ -22,2 +22,3 @@ var util = require('util'); | ||
Ua.prototype.connect = function() {} | ||
Ua.prototype.rnd = utils.randomAscii; | ||
@@ -94,3 +95,4 @@ Ua.prototype.incoming = function({id, msg, trunk}) { | ||
Trans.prototype.notification = function(req) { | ||
var data = this.ua.outgoing(req); | ||
this.ua.outgoing(req); | ||
var data = this.ua.write(req); | ||
this.q.add({data}); | ||
@@ -113,2 +115,7 @@ } | ||
Trans.prototype.end = function(trans) { | ||
if(!trans.counter) { | ||
trans.client.outgoing(trans); | ||
return Promise.resolve([]); | ||
} | ||
return new Promise((res, rej) => { | ||
@@ -115,0 +122,0 @@ function *response() { |
{ | ||
"name": "sipware", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "author": { |
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
47373
457