nft-mp-sdk
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -229,3 +229,7 @@ import { ethers } from "ethers"; | ||
if (isApproved !== this.marketplace.address) { | ||
await this.approveToken(collectionAddress, tokenId); | ||
const result = await this.approveToken(collectionAddress, tokenId); | ||
if (result !== 1) { | ||
return result; | ||
} | ||
} | ||
@@ -400,3 +404,3 @@ | ||
if (aprrovalTx !== 1) { | ||
alert('Approval failed'); | ||
console.log("Approval failed"); | ||
return; | ||
@@ -403,0 +407,0 @@ } |
{ | ||
"name": "nft-mp-sdk", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "NFT-Marketplace SDK", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99313
1788