Releases: sharetribe/flex-sdk-js
Releases · sharetribe/flex-sdk-js
v1.21.1
Fixed
- Bug: SDK failed to send any extended data if it had a key
length
with a
number type value. #199
v1.21.0
Added
- Add a new function
loginAs
. The function takes a single parameter, code
,
which is the authorization code to use. This function should be used to do
"Login As" instead of using login
function with code
.
#196
- Add a new key
isLoggedInAs
to the return value of the authInfo
. The value
is boolean where true
indicates that "Login As" was used. Applications
should use this value to check if "Login As" was used instead of examining the
token scopes. #196
- Add a new configuration option
disableDeprecationWarnings
#196
Deprecated
- Using the
login
function to do "Login As", i.e. logging in with code
instead of username
and password
is deprecated in favor of a newly added
loginAs
function. #196
v1.20.1
Fixed
- Prevent unnecessary params from being sent on
loginWithIdp
invocations. #193
Changed
- Remove references to Flex in documentation. 190
- Internal changes #192
v1.20.0
- New endpoints #187
sdk.sitemapData.queryListings(/* ... */)
sdk.sitemapData.queryAssets(/* ... */)
- Update Axios to the latest version. The new version will improve performance by
enabling gzip compression.
#188
v1.19.0
Added
- Add support for multi-asset fetching. #170
v1.18.1
Fixed
- Fix issue where custom
User-Agent
string caused warning and issues with CORS when used in browser. The string is no longer customized when running in browser. #184
v1.18.0
Changed
- Internal changes #173
- Upgrade to webpack 4 #178
- Send custom
User-Agent
string for SDK calls #182
v1.17.0
Added
- New configuration option:
assetCdnBaseUrl
#159
Changed
- Request Assets in JSON format instead of Transit #160
- Read response data as Transit only if Content-Type header is
application/transit+json
#161
v1.16.0
Added
- New endpoints #156
sdk.currentUser.delete(/* ... */)
- New endpoints #154
sdk.assetByAlias({path, alias})
sdk.assetByVersion({path, version})
v1.15.0
Added
- Ability to serialize an array of SDK types, i.e. array of UUIDs. Useful when
calling e.g. sdk.listings.query
with ids
parameter.
#147
Security