Skip to content

Commit

Permalink
Merge branch 'main' into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsdls authored Jan 16, 2024
2 parents 33f8844 + 2e05782 commit e71cff4
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 38 deletions.
5 changes: 5 additions & 0 deletions .changeset/smart-poets-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@thirdweb-dev/react": patch
---

Bump fuse.js from 6.6.2 to 7.0.0
20 changes: 19 additions & 1 deletion packages/react-core/src/evm/hooks/async/nft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,26 @@ export function useTotalCirculatingSupply(
* @param ownerWalletAddress -
* The wallet address to get owned tokens for. Likely, you will want to view the connected wallet’s NFTs. use the `useAddress` hook to get this value.
*
* @param queryParams - Query params to pass to the query for pagination
* @param queryParams -
* Paginate the results by providing a `queryParams` object as an argument.
*
* ```jsx
* import { useOwnedNFTs, useContract, useAddress } from "@thirdweb-dev/react";
*
* function App() {
* const { contract } = useContract(contractAddress);
* const address = useAddress();
* const { data, isLoading, error } = useOwnedNFTs(
* contract,
* address
* {
* count: 10, // Limit the number of results
* start: 0, // Start from the nth result (useful for pagination)
* },
* );
* }
* ```
*
* @returns Query result object that includes the list of owned `NFT` objects
*
* @twfeature ERC721Enumerable | ERC1155Enumerable | ERC721Supply
Expand Down
4 changes: 1 addition & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"@thirdweb-dev/auth": "workspace:*",
"@thirdweb-dev/sdk": "workspace:*",
"@thirdweb-dev/tsconfig": "workspace:*",
"@types/color": "^3.0.3",
"@types/qrcode": "^1.5.2",
"@types/react": "^18.2.17",
"@types/react-dom": "^18.2.7",
Expand Down Expand Up @@ -121,7 +120,6 @@
"@radix-ui/react-popover": "^1.0.6",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.6",
"@react-icons/all-files": "^4.1.0",
"@tanstack/react-query": "^4.33.0",
"@thirdweb-dev/chains": "workspace:*",
"@thirdweb-dev/payments": "workspace:*",
Expand All @@ -131,7 +129,7 @@
"buffer": "^6.0.3",
"copy-to-clipboard": "^3.3.2",
"detect-browser": "^5.3.0",
"fuse.js": "^6.6.2",
"fuse.js": "^7.0.0",
"qrcode": "^1.5.3",
"tiny-invariant": "^1.2.0"
},
Expand Down
38 changes: 4 additions & 34 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e71cff4

Please sign in to comment.