Skip to content

Commit

Permalink
Feature/marketplace: fixing flow for marketplace sell (#261)
Browse files Browse the repository at this point in the history
* adding new flow for custom royalties

* update npm version

* adding custom cashback changes

* adding documentation for marketplace

* upgrading version

* adding approval in documentation

* fix non provenance transfer

* fixing regular eth cashbacks

* version upgrade

* fix abis

* upgrade version

* removing amount check from create listing

* version upgrade

Co-authored-by: Samuel@Tatum <[email protected]>
  • Loading branch information
RachitGod and samuelsramko authored Dec 2, 2021
1 parent e672a88 commit 33fb472
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tatumio/tatum",
"version": "1.29.23",
"version": "1.29.27",
"description": "Tatum API client allows browsers and Node.js clients to interact with Tatum API.",
"main": "dist/src/index.js",
"repository": "https://github.com/tatumio/tatum-js",
Expand Down
4 changes: 3 additions & 1 deletion src/nft/marketplace/listing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ export const prepareMarketplaceCreateListing = async (testnet: boolean, body: Cr
// {type: 'address', value: convertAddressToHex(params[7] as string)},
// ], 'createListing(string,bool,address,uint256,uint256,address,uint256,address)', provider)
} else {
body.amount = undefined;
if(!body.isErc721){
body.amount = undefined;
}
return await helperPrepareSCCall(testnet, body, CreateMarketplaceListing, 'createListing', params, undefined, provider);
}
};
Expand Down

0 comments on commit 33fb472

Please sign in to comment.