Skip to content

Releases: liteflow-labs/liteflow-js

v1.0.0-beta.10

23 Dec 15:51
e17b62f
Compare
Choose a tag to compare

Hooks

Breaking Changes

  • The useCreateNFT function has been updated to accept chainId and collectionAddress as arguments, rather than the previous standard attribute. To migrate your application to this new version, you will need to pass the desired collection to useCreateNFT 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 to 1.0.0-beta.9 (#102)
  • Improve types check #109

Email connector

Changed

  • Improve types check #109

v1.0.0-beta.8.1

22 Dec 09:29
4c327a4
Compare
Choose a tag to compare

Components

Fixed

  • Fixed validations on number inputs accross the components. #96

Templates

Fixed

  • Fixed validations on number inputs accross the templates. #96

v1.0.0-beta.9

12 Dec 14:39
0e3a1f8
Compare
Choose a tag to compare

Hooks

Breaking Changes

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

v1.0.0-beta.8

15 Nov 09:40
b442d8c
Compare
Choose a tag to compare

Hooks

Changed

  • Update @nft/api-graphql to version v1.0.0-beta.7 #86

Fixed

  • Force ownerAddress to lowercase in useCheckOwnership 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

03 Nov 11:12
f228da2
Compare
Choose a tag to compare

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 and TokenGrid 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

28 Oct 10:23
71f81e0
Compare
Choose a tag to compare

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 the Select 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

Templates

Fixed

  • Fixed storybook to document all templates #2231