Web library v1.2.10
Added
- An api unreachable notification (shown when the API returns status 502/3/4 or if the browser blocks the request)
- Settings to change the text in the api unreachable notification
serviceUnreachableNotificationandserviceUnreachableNotificationAlert - Some more error texts to the settings:
imageTooBig,imageFormatIncorrectandmessageSendFailed - Support for formatted urls, you can now use
[Google](www.google.com)in almost all texts inside the conversation window - The new settings object
events. Here you can create a custom callback for the eventevents.onAuthorizationExpired. This callback is then called whenever the API returns that the client's authorizationHeader is expired. - Agent names to the conversation above the message they have sent. Possible to disable this using
window.parleySettings.runOptions.showAgentName = false. userAdditionalInformation, more info on how to use it can be found in the docs
Improved
- The conversation window layout (small improvements using
grids)
Fixed
- A bug where startTyping event would trigger when you press ENTER to send your message
- Render emojis with special font so that they are not black/white on IE11 (other browsers ignore this font)
- A bug where multiple links where not rendered correctly
- The bug where urls with a
:in front would fail, because it sees it as the protocol ex: "check: www.google.com" would fail "check www.google.com" would succeed. Now they both succeed. - The conversation is re-rendered completely when calling
window.parleySettings.registerNewDevice()so that when you log-in that way, the "anonymous" messages are directly visible in the "non-anonymous" conversation.
Removed
- An unneeded reference to Messenger that caused an error on IE11