@conectar/conectar-ws
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -295,3 +295,10 @@ export default class Wire { | ||
) | ||
.then(response => response.json()); | ||
.then(response => { | ||
if (typeof response === 'object') { | ||
if (response.hasOwnProperty('json')) { | ||
return response.json(); | ||
} | ||
} | ||
return response; | ||
}); | ||
} | ||
@@ -305,3 +312,10 @@ | ||
}) | ||
.then(response => response.json()); | ||
.then(response => { | ||
if (typeof response === 'object') { | ||
if (response.hasOwnProperty('json')) { | ||
return response.json(); | ||
} | ||
} | ||
return response; | ||
}); | ||
} | ||
@@ -308,0 +322,0 @@ |
{ | ||
"name": "@conectar/conectar-ws", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"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
274569
769