Skip to content

Releases: sharetribe/flex-sdk-js

v1.21.1

27 May 11:15
Compare
Choose a tag to compare

Fixed

  • Bug: SDK failed to send any extended data if it had a key length with a
    number type value. #199

v1.21.0

20 May 10:46
Compare
Choose a tag to compare

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

15 Feb 13:47
c353640
Compare
Choose a tag to compare

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

10 Oct 09:05
Compare
Choose a tag to compare
  • 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

09 May 10:59
Compare
Choose a tag to compare

Added

  • Add support for multi-asset fetching. #170

v1.18.1

17 Apr 06:15
Compare
Choose a tag to compare

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

14 Apr 10:19
Compare
Choose a tag to compare

Changed

  • Internal changes #173
  • Upgrade to webpack 4 #178
  • Send custom User-Agent string for SDK calls #182

v1.17.0

10 May 08:22
79d2522
Compare
Choose a tag to compare

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

22 Mar 14:28
Compare
Choose a tag to compare

Added

  • New endpoints #156
    • sdk.currentUser.delete(/* ... */)
  • New endpoints #154
    • sdk.assetByAlias({path, alias})
    • sdk.assetByVersion({path, version})

v1.15.0

06 Oct 11:47
Compare
Choose a tag to compare

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