v1.0.0-beta.9
版本发布时间: 2022-12-12 22:39:43
liteflow-labs/liteflow-js最新发布版本:v3.0.0(2024-05-17 17:40:59)
Hooks
Breaking Changes
- Remove deprecated
useEagerConnect
,useActivateWallet
,useSession
,useSigner
#90- Have a look to https://github.com/liteflow-labs/marketplace-template/pull/44 to follow the migration or https://github.com/liteflow-labs/minimal-app
Added
- Add
useConfig
hook to return the configuration of the platform #65-
hasLazyMint
is true when lazymint is activated -
hasReferralSystem
is true when the referral and invitation system is activated -
hasSocialFeatures
is true when all the social features (likes, comments...) are activated -
hasTopUp
is true when fiat on ramp is activated -
hasUnlockableContent
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