changelogs.md


pusher/feeds-client-js

Repository  -  API  -  Source

0.10.0

November 8, 2017

Changed

  • Rename the constructor option instanceId to instanceLocator.

0.9.0

August 21, 2017

Added

  • The response to paginate now also contains a remaining key – the number of unseen items left in the feed.
  • onOpen is now passed an object: { next_cursor, remaining } with the same semantics as for paginate.

Changed

  • firehose events are now unwrapped at the SDK level. i.e. callbacks are passed event.body.data rather than event.

0.8.1

August 3, 2017

Changed

  • Rename lastEventId to lastItemId.

0.8.0

August 3, 2017

Changed

  • Rename getHistory to paginate and the paramater fromId to cursor. This is a breaking change.
  • Changed structure of subscribed item in onItem callback to have same format as in paginate method.

0.7.0

July 20, 2017

Changed

  • Rename the constructor option instance to instanceId. This is a breaking change.