Skip to content

Commit

Permalink
Merge branch 'd-david' into errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bucurdavid committed Sep 13, 2023
2 parents 0255cbe + 01b2a56 commit fef57e0
Show file tree
Hide file tree
Showing 10 changed files with 1,669 additions and 77 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const dataNft = new DataNft({

// Create a new DataNft object from API
const nonce = 1;
const nft = await DataNft.createFromApi(nonce);
const nft = await DataNft.createFromApi({ nonce });

// Create a new DataNft object from API Response
const response = await fetch('https://devnet-api.multiversx.com/address/nfts');
Expand All @@ -60,7 +60,7 @@ const dataNfts = [];
dataNfts = await DataNft.ownedByAddress(address);

// Retrieves the specific DataNft
const dataNft = DataNft.createFromApi(nonce);
const dataNft = DataNft.createFromApi({ nonce });

// (A) Get a message from the Data Marshal node for your to sign to prove ownership
const message = await dataNft.messageToSign();
Expand Down
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.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itheum/sdk-mx-data-nft",
"version": "1.0.0",
"version": "1.2.0",
"description": "SDK for Itheum's Data NFT Technology on MultiversX Blockchain",
"main": "out/index.js",
"types": "out/index.d.js",
Expand All @@ -16,17 +16,17 @@
"author": "Itheum Protocol",
"license": "GPL-3.0-only",
"dependencies": {
"@multiversx/sdk-core": "12.6.0",
"@multiversx/sdk-network-providers": "1.5.0",
"bignumber.js": "^9.1.1",
"nft.storage": "^7.1.1"
"@multiversx/sdk-core": "12.8.0",
"@multiversx/sdk-network-providers": "2.0.0",
"bignumber.js": "9.1.2",
"nft.storage": "7.1.1"
},
"devDependencies": {
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
"ts-jest": "^29.1.0",
"tslint": "^6.1.3",
"typescript": "^5.0.4"
"@types/jest": "29.5.4",
"jest": "29.7.0",
"ts-jest": "29.1.1",
"tslint": "6.1.3",
"typescript": "5.2.2"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit fef57e0

Please sign in to comment.