quiq-chat
Advanced tools
Comparing version 1.44.0 to 1.45.0
{ | ||
"name": "quiq-chat", | ||
"version": "1.44.0", | ||
"version": "1.45.0", | ||
"descri1tion": | ||
@@ -5,0 +5,0 @@ "Library to help with network requests to create a webchat client for Quiq Messaging", |
@@ -148,5 +148,8 @@ # quiq-chat [![Build Status](https://travis-ci.org/Quiq/quiq-chat.svg?branch=master)](https://travis-ci.org/Quiq/quiq-chat) [![npm version](https://badge.fury.io/js/quiq-chat.svg)](https://badge.fury.io/js/quiq-chat) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier) | ||
#### getHandle() => Promise<handle: string> | ||
Fetches a unique handle to track the session through. If a session already exists for the current user, a network request is skipped and that value is instead returned. The value of this call is cached for 10 seconds. | ||
#### getHandle() => Promise<handle?: string> | ||
Returns the unique identifier for this session. If the user is not logged in, returns `undefined`. | ||
#### login() => Promise<handle: string> | ||
Creates a session for the current user, if one does not already exist. Returns the unique identifier for the new or existing session. | ||
#### checkForAgents() => Promise<{available: boolean}> | ||
@@ -153,0 +156,0 @@ Fetches whether or not there are agents available for the contact point the webchat is connected to. The value of this call is cached for 10 seconds. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
2013109
247