Skip to content

Latest commit

 

History

History
281 lines (165 loc) · 14.7 KB

CHANGELOG.md

File metadata and controls

281 lines (165 loc) · 14.7 KB

Changelog

3.0.0

Major Changes

Patch Changes

2.0.0

Major Changes

Patch Changes

1.3.1

Patch Changes

1.3.0

Minor Changes

  • #202 426e3fd Thanks @antho1404! - Add batch purchase feature to purchase multiple offers in a single transaction

Patch Changes

1.2.0

Minor Changes

Patch Changes

1.1.1

Patch Changes

1.1.0

Minor Changes

Patch Changes

Unreleased

Breaking Changes

Added

Changed

Deprecated

Removed

Fixed

Security

v1.0.0-beta.13 - 2023-02-16

Fixed

  • Fix issue with pending ownership on lazyminted assets #137
  • Fix future issues with config type and too permissive type #138

v1.0.0-beta.12 - 2023-02-07

Added

Changed

  • Use mutations createCurrencyApprovalTransaction and createCollectionApprovalTransaction instead of token.approval and currency.approval in useCreateOffer and useAcceptOffer hooks #117
  • Use use createOfferFillTransaction instead of deprecated offer.fill in useAcceptOffer hook #118
  • Use new flow of offer creation using the new mutation createOfferSignature #119
  • Update dependency @nft/api-graphql to v1.0.0-beta.11 #129 #119

Fixed

  • Invalid jwt with expired date #123

v1.0.0-beta.11 - 2023-01-09

Breaking Changes

  • Update useConfig return parameter from Promise<Config> to { data?: Config, error?: Error, loading: boolean } #120
    • Make sure to update your codebase with const { data } = useConfig();

Removed

  • config has been removed from the LiteflowContext #120

Fixed

  • Fix imports order by updating prettier and prettier-plugin-organize-imports #114
  • Fix issue on initial render on SSR due to pending promise #120

v1.0.0-beta.10 - 2022-12-23

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

v1.0.0-beta.9 - 2022-12-12

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 - 2022-11-15

Changed

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

Fixed

  • Force ownerAddress to lowercase in useCheckOwnership hook #85

v1.0.0-beta.7 - 2022-11-03

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

v1.0.0-beta.6 - 2022-10-28

Added

  • Add isValid to auction status hook to return true if the auction if valid, false otherwise #59

v1.0.0-beta.5 - 2022-10-24

Added

  • Added missing dependencies graphql and graphql-tag #2198

v1.0.0-beta.4 - 2022-10-17

Breaking Changes

  • Remove category from useCreateNFT #2073
  • Add LiteflowProvider to configure hooks package #2120
  • Hook useCreateNFT now require param signer to be typed Signer & TypedDataSigner (previously only Signer) #2140

Added

  • Add setAuthenticationToken and resetAuthenticationToken to useAuthenticate hook #2120
  • Add to hook useCreateNFT optional param isLazyMint to activate lazy mint of asset #2140
  • Add to CreateNftStep returned by hook useCreateNFT two new steps LAZYMINT_SIGNATURE and LAZYMINT_PENDING to reflect the lazy mint flow #2140

Changed

  • Replace Apollo client from the hooks by graphql-request #2120
  • Update hook useCreateNFT to be compatible with lazy mint of asset #2140

v1.0.0-beta.3 - 2022-10-06

Breaking Changes

  • Remove hooks
    • useAssetOwnerQuantity #2075
    • useIsAssetOwner #2075
    • useOwnAllSupply #2075
    • usePaginate: moved to template package but not exported #2107
    • useCreateComment #2107
    • useLike #2107
    • useFileTransformer #2107
    • useFormatAddress: kept helper formatAddress #2107
    • useErrorFormatter: kept helper formatError #2107
    • useParsePrice: kept helper parsePrice #2107
    • useBlockExplorer: moved to template package but not exported #2107
    • useExecuteOnAccountChange: moved to template package but not exported #2107
    • useLocalFileURL: moved to template package but not exported #2107
    • useLoginRedirect: moved to template package but not exported #2107
    • useNow: moved to template package but not exported #2107
    • useOrderById: moved to template package but not exported #2107
    • useIPFSUploader: removed from export #2107

Added

  • Add optional discord handle to useUpdateAccount hook #2104

Changed

  • Use sort by reference currency in queries #2089

v1.0.0-beta.2 - 2022-09-30

Breaking Changes

  • Remove COOKIE_JWT_TOKEN #2077

Added

  • Add function authenticateWallet in ISessionContext #2077

Removed

  • Remove dependencies between useActivateWallet and useSession #2067
  • Remove set JWT in cookie from hook useAuthenticate, return it instead #2077

Fixed

  • Fix loading state of hook useAuthenticate #2099

v1.0.0-beta.1 - 2022-09-13

Breaking Changes

  • Update hooks to accept signer #2027