- #238
a2bdad8
Thanks @NicolasMahe! - Replace Ethers.js by Viem
-
#221
40c1fd6
Thanks @ismailToyran! - Export BatchPurchaseStep -
Updated dependencies [
6aa847b
,a2bdad8
,3f577d3
,ca11e0b
,40c1fd6
]:- @liteflow/[email protected]
-
#215
d6c7c60
Thanks @antho1404! - Remove auction system. -
#216
43247cc
Thanks @antho1404! - Remove unlockable content
- Updated dependencies [
d6c7c60
,43247cc
]:- @liteflow/[email protected]
-
#212
2e5cecf
Thanks @antho1404! - Add missing graphql-tag dependency -
#214
64268de
Thanks @antho1404! - Fix invalid event sent when accepting an offer or doing a batch purchase -
Updated dependencies [
2e5cecf
]:- @liteflow/[email protected]
- #202
426e3fd
Thanks @antho1404! - Add batch purchase feature to purchase multiple offers in a single transaction
- Updated dependencies [
426e3fd
,69b5307
]:- @liteflow/[email protected]
- #175
79424f0
Thanks @ismailToyran! - Add new mintDrop function and useMintDrop hook
- Updated dependencies [
79424f0
]:- @liteflow/[email protected]
- #177
47539b2
Thanks @antho1404! - Ensure errors a caught when creating an offer
- #165
b13df6d
Thanks @NicolasMahe! - Add metadata to bid, listing and offer
- Updated dependencies [
b13df6d
]:- @liteflow/[email protected]
v1.0.0-beta.13 - 2023-02-16
- 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 new stable hook
useIsLoggedIn
to check is an address is logged in on the SDK #122- Check https://docs.liteflow.com/hooks/useIsLoggedIn for more detail
- Use mutations
createCurrencyApprovalTransaction
andcreateCollectionApprovalTransaction
instead oftoken.approval
andcurrency.approval
inuseCreateOffer
anduseAcceptOffer
hooks #117 - Use use
createOfferFillTransaction
instead of deprecatedoffer.fill
inuseAcceptOffer
hook #118 - Use new flow of offer creation using the new mutation
createOfferSignature
#119 - Update dependency
@nft/api-graphql
tov1.0.0-beta.11
#129 #119
- Invalid jwt with expired date #123
v1.0.0-beta.11 - 2023-01-09
- Update
useConfig
return parameter fromPromise<Config>
to{ data?: Config, error?: Error, loading: boolean }
#120- Make sure to update your codebase with
const { data } = useConfig();
- Make sure to update your codebase with
config
has been removed from theLiteflowContext
#120
- Fix imports order by updating
prettier
andprettier-plugin-organize-imports
#114 - Fix issue on initial render on SSR due to pending promise #120
v1.0.0-beta.10 - 2022-12-23
- 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
- Add new error message for user rejected transaction on wallet #99
- 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
v1.0.0-beta.9 - 2022-12-12
- 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
- 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
- Add proper errors when calling a hook relying on a feature not activated #65
v1.0.0-beta.8 - 2022-11-15
- Update @nft/api-graphql to version v1.0.0-beta.7 #86
- Force
ownerAddress
to lowercase inuseCheckOwnership
hook #85
v1.0.0-beta.7 - 2022-11-03
- 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
- Ensure that the
parsePrice
doesn't crash even with invalid input #68
v1.0.0-beta.6 - 2022-10-28
- 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 missing dependencies
graphql
andgraphql-tag
#2198
v1.0.0-beta.4 - 2022-10-17
- Remove
category
fromuseCreateNFT
#2073 - Add
LiteflowProvider
to configure hooks package #2120 - Hook
useCreateNFT
now require paramsigner
to be typedSigner & TypedDataSigner
(previously onlySigner
) #2140
- Add
setAuthenticationToken
andresetAuthenticationToken
touseAuthenticate
hook #2120 - Add to hook
useCreateNFT
optional paramisLazyMint
to activate lazy mint of asset #2140 - Add to
CreateNftStep
returned by hookuseCreateNFT
two new stepsLAZYMINT_SIGNATURE
andLAZYMINT_PENDING
to reflect the lazy mint flow #2140
- 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
- Remove hooks
useAssetOwnerQuantity
#2075useIsAssetOwner
#2075useOwnAllSupply
#2075usePaginate
: moved to template package but not exported #2107useCreateComment
#2107useLike
#2107useFileTransformer
#2107useFormatAddress
: kept helperformatAddress
#2107useErrorFormatter
: kept helperformatError
#2107useParsePrice
: kept helperparsePrice
#2107useBlockExplorer
: moved to template package but not exported #2107useExecuteOnAccountChange
: moved to template package but not exported #2107useLocalFileURL
: moved to template package but not exported #2107useLoginRedirect
: moved to template package but not exported #2107useNow
: moved to template package but not exported #2107useOrderById
: moved to template package but not exported #2107useIPFSUploader
: removed from export #2107
- Add optional discord handle to
useUpdateAccount
hook #2104
- Use sort by reference currency in queries #2089
v1.0.0-beta.2 - 2022-09-30
- Remove
COOKIE_JWT_TOKEN
#2077
- Add function
authenticateWallet
inISessionContext
#2077
- Remove dependencies between
useActivateWallet
anduseSession
#2067 - Remove set JWT in cookie from hook
useAuthenticate
, return it instead #2077
- Fix loading state of hook
useAuthenticate
#2099
v1.0.0-beta.1 - 2022-09-13
- Update hooks to accept signer #2027