getstream
Advanced tools
Changelog
5.0.1 - 2020-07-13
Changelog
5.0.0 - 2020-07-06
This release drops some of the already deprecated functions.
feed1.get({}, callback)
should change to feed1.get({}).then().catch()
Stream.request
is no longer exported"request"
and "response"
handler params are slightly different due to using Axiosclient.images.thumbmail
renamed to client.images.thumbnail
StreamApiError.response.statusCode
is renamed to StreamApiError.response.status
client.makeSignedRequest
. This function is removed due to being out of scope. Similar functionality can be reproduced by manually generating authorization token and adding it to the request header.client.createUserSessionToken
in favor of client.createUserToken
collections._streamRef
in favor of collections.ref
user._streamRef
in favor of user.ref
feed.getReadOnlyToken
in favor of client.getReadOnlyToken
feed.getReadWriteToken
in favor of client.getReadWriteToken
Feed(feedSlug: string, userId: string, token?: string)
instantiation with token as last parameter is deprecated. Token should be supplied by client like stream.connect(apiKey, userToken, appId).feed(feedSlug: string, userId: string)
onUploadProgress
callback for uploads.options.timeout
is honored if given in client setupChangelog
4.5.4 - 2020-06-12
Changelog
4.5.2 - 2020-05-27