Skip to content

version 2.11

Compare
Choose a tag to compare
@kmathmann kmathmann released this 24 Apr 12:51
· 324 commits to master since this release

Adds new JSON Calls

This release adds 3 new JSON ChaynsCalls and improves the JSON ChaynsCall Logic.

The new JSON ChaynsCalls:

  • 127 - getSavedIntercomChats
  • 128 - setIntercomChatData
  • 129 - closeWindow

For Development:

With the new ChaynsCall logic now every call is an function that becomes called with 2 parameters:

  • req
    • action - actionId
    • value - value field
    • srcIframe - [ iframe, namespaceName ]
    • addJsonCallEventListener - adds eventlistener for that call
  • res
    • event - throws an event
    • answer - sends an answer to the ChaynsCall caller

There is no longer need to import functions if you want to answer to a call, add an eventListener or throw an event.