Releases: Salable/react-utils
Releases · Salable/react-utils
v4.0.0
13 Nov 12:56
Compare
Sorry, something went wrong.
No results found
4.0.0 (2023-11-13)
Features
add 'state' value to useUser return (0db3eab )
allow updating of granteeId via context hook (0ac4e56 )
BREAKING CHANGES
user no longer returns null, instead it returns a 'state' value of 'success' | 'loading' | 'error'.
This will massively simplify usage of the hook, especially when it comes to handling both loading states and errors.
v3.0.0
13 Nov 11:37
Compare
Sorry, something went wrong.
No results found
3.0.0 (2023-11-13)
Code Refactoring
make useProduct a named export (5c116e8 )
BREAKING CHANGES
useProduct was previously a default export but is now only a named export
v2.0.2
10 Nov 16:59
Compare
Sorry, something went wrong.
No results found
2.0.2 (2023-11-10)
Bug Fixes
pass apiKey into all SWR fetcher functions (5ab6144 )
v2.0.1
10 Nov 16:20
Compare
Sorry, something went wrong.
No results found
2.0.1 (2023-11-10)
Bug Fixes
v2.0.0
09 Nov 16:58
Compare
Sorry, something went wrong.
No results found
2.0.0 (2023-11-09)
Code Refactoring
change useProduct to take an options obj (8d7a19e )
BREAKING CHANGES
rather than a single boolean being passed in, an object containing a withDeprecated key is now required.
v1.1.0
08 Nov 17:32
Compare
Sorry, something went wrong.
No results found
1.1.0 (2023-11-08)
Features
Add useProduct and useUser hooks (bbe92d7 )
v1.0.1
30 Oct 16:30
Compare
Sorry, something went wrong.
No results found
1.0.1 (2023-10-30)
Bug Fixes