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 614b79a commit 5d409d6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 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.7",
"version": "3.8.0-alpha.8",
"description": "SDK for Itheum's Data NFT Technology on MultiversX Blockchain",
"main": "out/index.js",
"types": "out/index.d.js",
Expand Down
15 changes: 11 additions & 4 deletions src/datanft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,23 +110,30 @@ export class DataNft implements DataNftType {
this.networkConfiguration = networkConfiguration[env as EnvironmentsEnum];
this.apiConfiguration = apiConfiguration[env as EnvironmentsEnum];

debugger;
console.log(
'SDK debug: setNetworkConfig this.apiConfiguration B4 =',
this.apiConfiguration
);
console.log(
'SDK debug: setNetworkConfig this.networkConfiguration B4 =',
this.networkConfiguration
);

if (useSpecificApiEndpoint && useSpecificApiEndpoint.trim() !== '') {
this.apiConfiguration = useSpecificApiEndpoint.trim();
this.networkConfiguration.networkProvider = useSpecificApiEndpoint.trim();
}

console.log(
'SDK debug: setNetworkConfig useSpecificApiEndpoint =',
'SDK debug: setNetworkConfig useSpecificApiEndpoint A8 =',
useSpecificApiEndpoint
);
console.log(
'SDK debug: setNetworkConfig this.apiConfiguration =',
'SDK debug: setNetworkConfig this.apiConfiguration A8 =',
this.apiConfiguration
);
console.log(
'SDK debug: setNetworkConfig this.networkConfiguration =',
'SDK debug: setNetworkConfig this.networkConfiguration A8 =',
this.networkConfiguration
);
}
Expand Down

0 comments on commit 5d409d6

Please sign in to comment.