Comparing version 0.5.9 to 0.5.10
@@ -48,3 +48,5 @@ const debug = require('debug') ('sipware:ua') | ||
v = Array.isArray(v) ? v : [v]; | ||
v.unshift(via); | ||
ctx.headers.via = v; | ||
@@ -55,2 +57,5 @@ } | ||
var v = ctx.headers.via || []; | ||
v = Array.isArray(v) ? v : [v]; | ||
var ret = v.shift(); | ||
@@ -74,2 +79,4 @@ | ||
via = Array.isArray(via) ? via : [via]; | ||
if(via[0]) { | ||
@@ -76,0 +83,0 @@ var idx = via[0].indexOf(';'); |
@@ -67,3 +67,3 @@ { | ||
"optionalDependencies": {}, | ||
"version": "0.5.9", | ||
"version": "0.5.10", | ||
"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
126194
3083