Skip to content

Releases: kuzzleio/sdk-javascript

KuzzleRoom.count now fail if there is no room ID

23 Feb 11:20
Compare
Choose a tag to compare

1.6.3

17 Feb 13:41
Compare
Choose a tag to compare
  • Fixed the collection internal property in the KuzzleDataMapping object
  • Updated external dependencies mainly to make eslint (and therefore automatic builds) work again

1.6.2

17 Feb 10:21
Compare
Choose a tag to compare
  • Fix hydrate user
  • Fix hydrate profile
  • Add option replace in setContent

1.6.1

12 Feb 09:49
Compare
Choose a tag to compare

Change document toJSON to serialize

Security & refresh refactor

11 Feb 14:14
Compare
Choose a tag to compare
  • #58
    • CRUD User
    • CRUD Profile
    • CRUD Role
  • #57
    • KuzzleDocument.refresh now resolves to a new instanciated KuzzleDocument object, instead of a refreshed version of itself
    • KuzzleDocument.refresh now returns nothing, to stop call chains
    • Removed the refreshing/queueing management from KuzzleDocument
    • Updated unit tests

1.4.4

09 Feb 09:02
Compare
Choose a tag to compare
  • Kuzzle.login() and Kuzzle.logout() are now non-queuable, meaning they will never be queued during offline-mode
  • When non-queuable queries are executed while been in offline-mode, if a callback is provided, then it is called with a "discarded query" error, instead of been silently discarded

1.4.3

09 Feb 08:27
Compare
Choose a tag to compare

PR #55 - Fixes issue #53.

1.4.2

08 Feb 16:49
Compare
Choose a tag to compare
  • Kuzzle.login() and Kuzzle.logout() are now non-queuable, meaning they will never be queued during offline-mode
  • When non-queuable queries are executed while been in offline-mode, if a callback is provided, then it is called with a "discarded query" error, instead of been silently discarded

Added whoAmI method

04 Feb 14:37
Compare
Choose a tag to compare
  • Added the kuzzle.whoAmI to access current user information

1.4.1

04 Feb 10:01
Compare
Choose a tag to compare
  • added the new checkToken function
  • when a subscription receives a jwtTokenExpired notification, an event jwtTokenExpired is fired
  • added a timer to events: the same event can't be fired multiple times if it has been fired before the timeout is reached
  • empties the jwtToken property when encountering a jwtTokenExpired error or notification
  • updated the travis build so that the dist folder is only generated when building the master branch