Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

nft-mp-sdk

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nft-mp-sdk - npm Package Compare versions

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",