quiq-chat
Advanced tools
Comparing version 0.0.2 to 1.0.0
{ | ||
"name": "quiq-chat", | ||
"version": "0.0.2", | ||
"version": "1.0.0", | ||
"description": "Library to help with network requests to create a webchat client for Quiq Messaging", | ||
@@ -5,0 +5,0 @@ "main": "build/quiq-chat.js", |
@@ -1,2 +0,2 @@ | ||
# quiq-chat | ||
# quiq-chat [![Build Status](https://travis-ci.org/Quiq/quiq-chat.svg?branch=master)](https://travis-ci.org/Quiq/quiq-chat) | ||
Library to handle the communication with Quiq Messaging APIs to build a web chat app | ||
@@ -48,15 +48,15 @@ | ||
}, | ||
onConnectionEstablish() { | ||
// Called when the connection is established or reopened after a disconnect | ||
}, | ||
onMessage(message) { | ||
// React to the websocket message | ||
}, | ||
onTransportFailure(error, req) { | ||
// Called if websockets don't work and we need to fall back to long polling | ||
}, | ||
onClose() { | ||
@@ -115,4 +115,1 @@ // Called if the websocket connection gets closed for some reason | ||
``` | ||
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
146513
1
14
114