- Added socks support
- Split
message
event tomessage
andthreadUpdate
- Added Mixins - hook methods and extend functionality
- Removed deprecated methods/parameters
- Fix for
extend
- indexing instead of usingObject.defineProperty()
- Note: Most if not all changes are breaking
- Using
mqtts
version1.0@alpha
- Use
eventemitter3
instead ofrxjs
to handle events.
- Removed initial raw mqtt subscriptions (disconnect)
- Added proper keepAlive handling
- Added FBNS and Realtime keepAlive
-
BREAKING: FBNS is no longer a EventEmitter, instead it uses RXJS Subjects.
See push.example for more details.
-
Internal: More strict tsconfig.json
-
Move to
bigint
Although this requires Node >= 10.4.0 and isn't supported by JavaScriptCore, this does also add support for non-node environments without support for native code. (And thus it removes native compilation)
- Added
FbnsDeviceAuth
support for a non-initializedIgApiClient
-
Added Extender
The extender automatically adds either
FbnsClient
(fbns
) orRealtimeClient
(realtime
) to the givenIgApiClient
. This can be done by usingwithRealtime(IgApiClient)
orwithFbns(IgApiClient)
. For TypeScript users: The returned client is of the typeIgApiClientFbns
,IgApiClientRealtime
orIgApiClientMQTT
(both combined) -
Fixed error in
MqttClient#finishFlow(undefined)