This file contains the changes made to the package.
The sections are in descending order of the change date.
2.0.0 - 2024-02-12
HubClient.off
method may use.splice
method when a function is passed tomethod
parameter and it was not found and therefore causing.indexOf
method to return-1
which would be passed to.splice
method causing an operation that was not supposed to happen.
acceptCleanup
option for allowing anyuseListener
event handler function to return a function to run it on clean-up stage. This option may be aboolean
or a function which will take the event name and the hub name and return aboolean
indicating if the function returned from the event handler can be used for clean-up stage.
HubClient.untilConnected
now uses an internal locking mechanism.DEBUG_HUB_CLIENT
debugging environment is expected to be named asSIGNALR_HUB_CLIENT_DEBUG
now.
HubClient.state
property,connectionState
property can be used instead.HubClient.methods
property. It is inlined and the methods are passed to the underlying handler directly.
1.0.0 - 2024-01-28
The initial version of the package.