Comparing version 0.5.8 to 0.5.9
@@ -112,17 +112,2 @@ const debug = require('debug') ('sipware:ua') | ||
async broadcast(ctx, ttl = 10000) { | ||
if(ctx.lookup.counter <= 0) { | ||
ctx.trans.destroy(); | ||
return ctx.trans.container; | ||
} | ||
if(ctx.lookup.proxy) this.client.socket.write(this.write2(ctx)); | ||
if(ctx.lookup.loopback.length) this.emit('request', ctx, 'broadcast'); | ||
await ctx.trans.wait(ttl); | ||
// if(!ctx.trans.persist) this.t.delete(ctx.lookup.id); | ||
return ctx.trans.container; | ||
} | ||
async request(ctx, ttl = 10000) { | ||
@@ -129,0 +114,0 @@ if(!ctx.trans) { |
@@ -67,3 +67,3 @@ { | ||
"optionalDependencies": {}, | ||
"version": "0.5.8", | ||
"version": "0.5.9", | ||
"directories": { | ||
@@ -70,0 +70,0 @@ "lib": "lib" |
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
126073
3080