Skip to content

Releases: sharetribe/flex-sdk-js

v1.14.1

20 Sep 09:57
Compare
Choose a tag to compare

Security

  • Update Axios to 0.21.2 #143

v1.14.0

20 Sep 08:59
de86a3a
Compare
Choose a tag to compare

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

15 Oct 08:21
7c9c8aa
Compare
Choose a tag to compare

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

12 Aug 07:45
9a3c1a4
Compare
Choose a tag to compare

Added

  • A utility function to convert an object query parameter into a URL compatible
    string. 119

v1.11.0

16 Jun 08:40
Compare
Choose a tag to compare

Added

  • New method exchangeToken that can be used to get a token for privileged transitions
    #110
  • Export Transit serialization helpers
    #113

1.10.0

28 Feb 14:15
9bcdb2d
Compare
Choose a tag to compare

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

18 Feb 14:35
61c60e8
Compare
Choose a tag to compare

Fixed

  • Handling old API tokens that lack the scope attribute in sdk.authInfo
    108

v1.9.0

12 Feb 09:16
93b122e
Compare
Choose a tag to compare

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

20 Dec 08:20
5efa224
Compare
Choose a tag to compare

[v1.8.0] - 2019-12-20

Changed

  • Add endpoint #105
    • sdk.stripeAccount.fetch(/* ... */)

v1.7.0

05 Dec 12:36
8863ee3
Compare
Choose a tag to compare

Changed

  • Remove endpoint #104
    • sdk.stripeAccountData.fetch(/* ... */)