Skip to content

Commit

Permalink
Merge pull request #41 from thepeanutgalleryandco/v-1-6-5
Browse files Browse the repository at this point in the history
Minor Bug Fix On Starting startCollectionEditionFrom Setting
  • Loading branch information
thepeanutgalleryandco committed Mar 22, 2022
2 parents 336573b + e7fa6c5 commit 52fa407
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-and-mint-nft-collection",
"version": "1.6.4",
"version": "1.6.5",
"description": "Source code to create and mint generative art via NFTPort API. Special thanks to codeSTACKr and Hashlips for their source codebase.",
"main": "index.js",
"bin": "index.js",
Expand Down
6 changes: 5 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,11 @@ const startCreating = async () => {
? _startCollectionEditionFrom > 1
? _startCollectionEditionFrom
: 0
: _startCollectionEditionFrom ? _startCollectionEditionFrom : 1;
: NFT_DETAILS.startCollectionEditionFrom === '0'
? 0
: _startCollectionEditionFrom
? _startCollectionEditionFrom
: 1;
i <= layerConfigurations[layerConfigurations.length - 1].growEditionSizeTo + (_startCollectionEditionFrom > 1 && _startCollectionEditionFrom);
i++
) {
Expand Down

0 comments on commit 52fa407

Please sign in to comment.