quiq-chat
Advanced tools
Comparing version 1.63.0 to 1.64.0
{ | ||
"name": "quiq-chat", | ||
"version": "1.63.0", | ||
"version": "1.64.0", | ||
"descri1tion": "Library to help with network requests to create a webchat client for Quiq Messaging", | ||
@@ -5,0 +5,0 @@ "main": "build/quiq-chat.js", |
@@ -51,3 +51,6 @@ // @flow | ||
info: quiqFetchLog.info, | ||
warn: quiqFetchLog.warn, | ||
warn: (msg: string, data: Object = {}) => { | ||
// We don't care about 401's in chat | ||
quiqFetchLog.warn(msg, data, !(data && data.response && data.response.status === 401)); | ||
}, | ||
error: (msg: string, data: Object) => { | ||
@@ -57,3 +60,4 @@ quiqFetchLog.error( | ||
data.error && scrubError(data.error), | ||
data && | ||
!( | ||
data && | ||
data.error && | ||
@@ -63,3 +67,4 @@ data.error.data && | ||
data.error.data.response.status && | ||
data.error.data.response.status === 401, | ||
data.error.data.response.status === 401 | ||
), | ||
); | ||
@@ -66,0 +71,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
6424818
153
9296
4