Releases: liteflow-labs/liteflow-js
Releases · liteflow-labs/liteflow-js
v1.0.0-beta.10
Hooks
Breaking Changes
- The
useCreateNFT
function has been updated to acceptchainId
andcollectionAddress
as arguments, rather than the previousstandard
attribute. To migrate your application to this new version, you will need to pass the desired collection touseCreateNFT
by either fetching it dynamically or hardcoding it in your code. #102 - Removed parsePrice from package. #106
Added
- Add new error message for user rejected transaction on wallet #99
Changed
- Change react library from dependency to peerDependencies and accept react 18 #97
- Updated
@nft/api-graphql
lib to1.0.0-beta.9
(#102) - Improve types check #109
Email connector
Changed
- Improve types check #109
v1.0.0-beta.8.1
v1.0.0-beta.9
Hooks
Breaking Changes
- Remove deprecated
useEagerConnect
,useActivateWallet
,useSession
,useSigner
#90- Have a look to liteflow-labs/starter-kit#44 to follow the migration or https://github.com/liteflow-labs/minimal-app
Added
- Add
useConfig
hook to return the configuration of the platform #65hasLazyMint
is true when lazymint is activatedhasReferralSystem
is true when the referral and invitation system is activatedhasSocialFeatures
is true when all the social features (likes, comments...) are activatedhasTopUp
is true when fiat on ramp is activatedhasUnlockableContent
is true when unlockable content is activated
- Add
currentAddress
to the general context #90
Fixed
- Add proper errors when calling a hook relying on a feature not activated #65
v1.0.0-beta.8
Hooks
Changed
- Update @nft/api-graphql to version v1.0.0-beta.7 #86
Fixed
- Force
ownerAddress
to lowercase inuseCheckOwnership
hook #85
Templates
Added
- Added Spanish language support #84
Changed
- Update @nft/api-graphql to version v1.0.0-beta.7 #86
Components
Added
- Added Spanish language support #84
Changed
- Update @nft/api-graphql to version v1.0.0-beta.7 #86
v1.0.0-beta.7
Hooks
Changed
- Use of ts-invariant to assert conditions in the codebase + remove useless checks #64
- Remove unnecessary
graphql
dependency #66 - Improve bundle size by removing enums in the generated types #63
Fixed
- Ensure that the
parsePrice
doesn't crash even with invalid input #68
Components
Added
- Add generic type for
Select
andTokenGrid
components #63 - Added the
showPoweredBy
property to the footer in cases where we display "Powered By Liteflow". #79
Changed
- Improve bundle size by removing enums in the generated types #63
- Update minimum version of
@apollo/client
to^3.5.9
, which includes a fix for this Apollo Client issue
Templates
Changed
- Improve bundle size by removing enums in the generated types #63
- Update minimum version of
@apollo/client
to^3.5.9
, which includes a fix for this Apollo Client issue
Fixed
- Fix error 500 when accessing the notification template without being logged in #67
v1.0.0-beta.6
Hooks
Added
- Add
isValid
to auction status hook to return true if the auction if valid, false otherwise #59
Components
Added
- Added a
dropdownMaxHeight
property to theSelect
component to enable control of the dropdown height. #58
Changed
- Added a property to enable hiding of the "create" button in the case of a platform not having the ability to mint. #2225
Removed
- Removed
autoprefixer
from the package. liteflow-labs/backend#2222
Templates
Fixed
- Fixed storybook to document all templates #2231