Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sipware

Package Overview
Dependencies
Maintainers
1
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sipware - npm Package Compare versions

Comparing version 0.5.8 to 0.5.9

15

lib/ua.js

@@ -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) {

2

package.json

@@ -67,3 +67,3 @@ {

"optionalDependencies": {},
"version": "0.5.8",
"version": "0.5.9",
"directories": {

@@ -70,0 +70,0 @@ "lib": "lib"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc