Releases: saleor/auth-sdk
Releases · saleor/auth-sdk
1.0.0
Features
- Default in-memory storage for access token can be now overridden by providing the
accessTokenStorage
argument inSaleorAuthClient
- This enables support for server-side auth flows where access token is stored in cookies
- New export path is added:
@saleor/auth-sdk/next/server
that exportsgetNextServerCookiesStorage
meant for best compatibility with Next.js 13+ App Router. See this example for details.
BREAKING CHANGES
storage
argument inSaleorAuthClient
has been renamed torefreshTokenStorage
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
What's Changed
Breaking Change
- removed the
useSaleorAuthClient
hook in favor of thecreateSaleorAuthClient
function - removed the hook wrapper for Apollo client
- removed the hook wrapper for urql client
- removed detach for checkout
Full Changelog: 0.9.0...0.10.0