@pioneer-platform/eth-network 8.1.75 → 8.1.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +4 -4
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -240,7 +240,7 @@ var get_all_pioneers = function () {
240
240
  return [4 /*yield*/, nftContract.methods.totalSupply().call()];
241
241
  case 2:
242
242
  totalSupply = _a.sent();
243
- log.info("totalSupply: ", totalSupply);
243
+ log.debug("totalSupply: ", totalSupply);
244
244
  output['totalSupply'] = totalSupply;
245
245
  output['owners'] = [];
246
246
  output['images'] = []; // add an images array to output
@@ -254,7 +254,7 @@ var get_all_pioneers = function () {
254
254
  return [4 /*yield*/, nftContract.methods.ownerOf(i).call()];
255
255
  case 5:
256
256
  owner = _a.sent();
257
- log.info(tag, "owner: ", owner);
257
+ log.debug(tag, "owner: ", owner);
258
258
  output['owners'].push(owner.toLowerCase());
259
259
  return [4 /*yield*/, metadataContract.methods.getAttributes(i).call()];
260
260
  case 6:
@@ -267,7 +267,7 @@ var get_all_pioneers = function () {
267
267
  return [3 /*break*/, 8];
268
268
  case 7:
269
269
  e_1 = _a.sent();
270
- log.info("no image for: ", i);
270
+ log.debug("no image for: ", i);
271
271
  return [3 /*break*/, 8];
272
272
  case 8:
273
273
  i++;
@@ -571,7 +571,7 @@ var get_token_transfer_data = function (toAddress, amount, contract) {
571
571
  // // let value = parseInt(amount/Math.pow(10, decimals))
572
572
  // // //const adjustedValue = value.mul(web3.utils.toBN(10).pow(web3.utils.toBN(decimals)));
573
573
  // //
574
- // // log.info(tag, "adjustedValue: ", value.toString());
574
+ // // log.debug(tag, "adjustedValue: ", value.toString());
575
575
  //
576
576
  // // Calculate the amount in the token's smallest unit
577
577
  // const amountInWei = web3.utils.toWei(amount, 'ether');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/eth-network",
3
- "version": "8.1.75",
3
+ "version": "8.1.76",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "scripts": {
@@ -39,5 +39,5 @@
39
39
  ],
40
40
  "author": "Bithighlander <pioneer@gmail.com>",
41
41
  "license": "GPL",
42
- "gitHead": "e1212fa842d8371740282be3f0cce4d32aff3201"
42
+ "gitHead": "b3f4397d3cd70785456466ce8ffdc2c5976b8b43"
43
43
  }