@conectar/conectar-ws
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -296,8 +296,3 @@ export default class Wire { | ||
.then(response => { | ||
if (typeof response === 'object') { | ||
if (response.hasOwnProperty('json')) { | ||
return response.json(); | ||
} | ||
} | ||
return response; | ||
return response.json() || response; | ||
}); | ||
@@ -313,8 +308,3 @@ } | ||
.then(response => { | ||
if (typeof response === 'object') { | ||
if (response.hasOwnProperty('json')) { | ||
return response.json(); | ||
} | ||
} | ||
return response; | ||
return response.json() || response; | ||
}); | ||
@@ -331,8 +321,3 @@ } | ||
.then(response => { | ||
if (typeof response === 'object') { | ||
if (response.hasOwnProperty('json')) { | ||
return response.json(); | ||
} | ||
} | ||
return response; | ||
return response.json() || response; | ||
}); | ||
@@ -339,0 +324,0 @@ } |
{ | ||
"name": "@conectar/conectar-ws", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Conectar WS connections", | ||
@@ -5,0 +5,0 @@ "main": "dist/wire.js", |
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
274173
754