Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #60 from public-assembly/58-add-custom-ipfs-gatewa…
Browse files Browse the repository at this point in the history
…y-prop

58 add custom ipfs gateway prop
  • Loading branch information
dblodorn authored Oct 11, 2022
2 parents 29c1edc + 83f85f0 commit 87402a3
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/curvy-students-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@public-assembly/erc721-drops-minter': minor
---

update drops utils dependency
5 changes: 5 additions & 0 deletions .changeset/two-fireants-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@public-assembly/zora-drops-utils': minor
---

Max supply infinity if open edition
3 changes: 2 additions & 1 deletion examples/reactjs-dapp/src/components/SimpleMint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ export function SimpleMintUi() {

export function SimpleMint() {
return (
<DropsContractProvider collectionAddress='0xf11915f3dc44519a7217f6b1e0978f29f8a0ed4b'>
<DropsContractProvider collectionAddress='0x915569b4009b75a2228192902dfcd4e897d9bda3'>
<DropsComponents.EtherscanLink label={false} linkType='address' truncateAddress/>
<SimpleMintUi />
<DropsComponents.Metadata />
<DropsComponents.Inventory />
<DropsComponents.VideoRenderer muted autoPlay style={{aspectRatio: '16/9', width: 500}} />
</DropsContractProvider>
)
Expand Down
2 changes: 1 addition & 1 deletion examples/reactjs-dapp/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const domContainer = document.getElementById('main')
const root = ReactDOM.createRoot(domContainer)

const TEST_MINT_CONTRACTS = [
'0xb7a791c3b5a0aa833e638250f982ebd29194f02c',
'0x915569b4009b75a2228192902dfcd4e897d9bda3',
'0x47191cb94c0b6925db9f15e000cf8e3e8864fc9b',
]

Expand Down
4 changes: 2 additions & 2 deletions packages/erc721-drops-minter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-assembly/erc721-drops-minter",
"version": "0.0.7",
"version": "0.0.8",
"description": "Micro UI library to interact with erc721drops",
"main": "dist/public-assembly-erc721-drops-minter.cjs.js",
"module": "dist/public-assembly-erc721-drops-minter.esm.js",
Expand All @@ -26,6 +26,6 @@
"wagmi": "^0.6.7"
},
"dependencies": {
"@public-assembly/zora-drops-utils": "^0.1.0"
"@public-assembly/zora-drops-utils": "^0.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/zora-drops-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-assembly/zora-drops-utils",
"version": "0.1.0",
"version": "0.1.1",
"description": "Example package with some web3 peer dependencies",
"main": "dist/public-assembly-zora-drops-utils.cjs.js",
"module": "dist/public-assembly-zora-drops-utils.esm.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,11 @@ export function DropsContractProvider({
return {
totalSupply: collectionData?.maxSupply,
totalSold: collectionData?.totalMinted,
prettyInventory: `${collectionData?.totalMinted} / ${collectionData?.maxSupply}`,
prettyInventory: `${collectionData?.totalMinted} / ${
collectionData?.maxSupply === '18446744073709551615'
? '∞'
: collectionData?.maxSupply
}`,
}
}, [collectionData, mintQuantity])

Expand Down

0 comments on commit 87402a3

Please sign in to comment.