Releases: sharetribe/flex-sdk-js
Releases · sharetribe/flex-sdk-js
v1.14.1
Security
- Update Axios to 0.21.2 #143
v1.14.0
Added
- New endpoints #142
sdk.stockAdjustments.query(/* ... */)
sdk.stockAdjustments.create(/* ... */)
sdk.stock.compareAndSet(/* ... */)
Changed
- Extend cookie expiration from 30 days to 180 days. This matches
with the lifetime of the refresh token returned by the Auth API.
#138
- SDK shows a warning if Client Secret is used in a browser.
#134
Security
- Update Axios to 0.21.1 #126
- Update Lodash to 4.17.21 #131
- Update development dependencies with security vulnerabilities (multiple PRs)
v1.13.0
This release enables authenticating a user with an external identity provider, like for example, a social media service.
Added
- New endpoints #121
sdk.loginWithIdp(/* ... */)
sdk.currentUser.createWithIdp(/* ... */)
v1.12.0
Added
- A utility function to convert an object query parameter into a URL compatible
string. 119
v1.11.0
Added
- New method
exchangeToken
that can be used to get a token for privileged transitions
#110
- Export Transit serialization helpers
#113
1.10.0
Changed
- The JS SDK Repl environment replaced with a new API Playground 109
- Support starting in an initialized and authenticated modes
- Support running scripts
- Add helpers and support all API value types
v1.9.1
Fixed
- Handling old API tokens that lack the
scope
attribute in sdk.authInfo
108
v1.9.0
Added
- Support for logging in using an authorization code
#107
Changed
sdk.authInfo
return value has been updated
#107. The grantType
attribute has been deprecated and now the returned attributes are:
isAnonymous
: a boolean denoting if the currently stored token only allows
public read access
scopes
: an array containing the scopes associated with the access token
v1.8.0
[v1.8.0] - 2019-12-20
Changed
- Add endpoint #105
sdk.stripeAccount.fetch(/* ... */)
v1.7.0
Changed
- Remove endpoint #104
sdk.stripeAccountData.fetch(/* ... */)