quiq-chat
Advanced tools
Comparing version 2.16.11 to 2.16.12
{ | ||
"name": "quiq-chat", | ||
"version": "2.16.11", | ||
"version": "2.16.12", | ||
"descri1tion": "Library to help with network requests to create a webchat client for Quiq Messaging", | ||
@@ -5,0 +5,0 @@ "main": "dist/quiq-chat.js", |
@@ -208,3 +208,2 @@ import { formatQueryParams, burnItDown, onceAtATime } from './Utils/utils'; | ||
const { sub: newTrackingId } = jwt_decode<QuiqJwt>(res.accessToken); | ||
ChatState.trackingId = newTrackingId; | ||
@@ -220,2 +219,4 @@ // Ensure we were able to store access token properly | ||
} | ||
// This should be after the _onNewSession call so we can react to a change in tracking ID if needed. SER-12073 | ||
ChatState.trackingId = newTrackingId; | ||
@@ -222,0 +223,0 @@ log.info(`Login successful. trackingId: ${newTrackingId || 'unknown'}`); |
@@ -148,3 +148,3 @@ import * as API from './apiCalls'; | ||
// Register with apiCalls for new session events | ||
API.registerNewSessionCallback(this._handleNewSession); | ||
API.registerNewSessionCallback(this._handleNewSession.bind(this)); | ||
@@ -151,0 +151,0 @@ return this; |
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
Sorry, the diff of this file is too big to display
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
1625214
77
10940