This function has been deprecated and will be removed in a future version. Use on with the
config:updateevent type instead.
A function to be called every time
window.xkitis updated with new configuration
Because xkit.js is a stateful library it allows consumers to subscribe to updates via the
onUpdate function. Typically, this function is used to be notified when xkit.js moves from a logged-in to a logged-out state, or vice versa.
When this function is called, the consumer should assume that any of the library's state may have changed, and update itself accordingly.