Skip to content

Commit

Permalink
chore: add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
newbreedofgeek committed Nov 11, 2024
1 parent c0ec35c commit 614b79a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itheum/sdk-mx-data-nft",
"version": "3.8.0-alpha.6",
"version": "3.8.0-alpha.7",
"description": "SDK for Itheum's Data NFT Technology on MultiversX Blockchain",
"main": "out/index.js",
"types": "out/index.d.js",
Expand Down
6 changes: 3 additions & 3 deletions src/datanft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ export class DataNft implements DataNftType {
);
}
this.env = env;
this.networkConfiguration = networkConfiguration[env as EnvironmentsEnum];
this.apiConfiguration = apiConfiguration[env as EnvironmentsEnum];

debugger;

if (useSpecificApiEndpoint && useSpecificApiEndpoint.trim() !== '') {
this.apiConfiguration = useSpecificApiEndpoint.trim();
this.networkConfiguration.networkProvider = useSpecificApiEndpoint.trim();
} else {
this.networkConfiguration = networkConfiguration[env as EnvironmentsEnum];
this.apiConfiguration = apiConfiguration[env as EnvironmentsEnum];
}

console.log(
Expand Down

0 comments on commit 614b79a

Please sign in to comment.