@conectar/conectar-ws
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -315,4 +315,6 @@ export default class Wire { | ||
.then(response => { | ||
if (response.json()) { | ||
return response.json(); | ||
if (typeof response === 'object') { | ||
if (response.hasOwnProperty('json')) { | ||
return response.json(); | ||
} | ||
} | ||
@@ -319,0 +321,0 @@ return response; |
{ | ||
"name": "@conectar/conectar-ws", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"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
274229
755