@pioneer-platform/pioneer 8.2.9 → 8.2.10

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 +9 -9
  2. package/package.json +4 -4
package/lib/index.js CHANGED
@@ -124,11 +124,11 @@ var onStart = function () {
124
124
  _a.label = 1;
125
125
  case 1:
126
126
  _a.trys.push([1, 5, , 6]);
127
- log.info(tag, "starting...");
127
+ log.debug(tag, "starting...");
128
128
  return [4 /*yield*/, nodesDB.find({ type: 'blockbook' })];
129
129
  case 2:
130
130
  servers = _a.sent();
131
- log.info(tag, "servers: ", servers.length);
131
+ log.debug(tag, "servers: ", servers.length);
132
132
  return [4 /*yield*/, blockbook.init(servers)
133
133
  // networks.ANY.init('full')
134
134
  ];
@@ -264,7 +264,7 @@ var get_pubkey_balances = function (pubkey) {
264
264
  balances_1 = [];
265
265
  nfts = [];
266
266
  positions = [];
267
- log.info(tag, " scanning pubkey: ", pubkey.pubkey);
267
+ log.debug(tag, " scanning pubkey: ", pubkey.pubkey);
268
268
  if (!(pubkey.type === "xpub" || pubkey.type === "zpub")) return [3 /*break*/, 7];
269
269
  cacheKey = "balances:blockbook:getBalanceByXpub:".concat(pubkey.symbol, ":").concat(pubkey.pubkey);
270
270
  return [4 /*yield*/, getFromCache(cacheKey)];
@@ -570,7 +570,7 @@ var get_pubkey_balances = function (pubkey) {
570
570
  return [4 /*yield*/, pubkeysDB.bulkWrite(saveActions, { ordered: false })];
571
571
  case 39:
572
572
  updateSuccess = _d.sent();
573
- log.info(tag, "updateSuccess: ", updateSuccess);
573
+ log.debug(tag, "updateSuccess: ", updateSuccess);
574
574
  output.dbUpdate = updateSuccess;
575
575
  _d.label = 40;
576
576
  case 40:
@@ -702,11 +702,11 @@ var get_and_verify_pubkeys = function (username, context) {
702
702
  synced.push(pubkeyInfo.blockchain);
703
703
  // log.debug(tag,"balances: ",balances)
704
704
  log.debug(tag, pubkeyInfo.symbol + " balances: ", balances);
705
- log.info(tag, context + ": " + pubkeyInfo.symbol + " balances: ", balances.balances.length);
705
+ log.debug(tag, context + ": " + pubkeyInfo.symbol + " balances: ", balances.balances.length);
706
706
  if (balances && balances.balances) {
707
707
  pubkeyInfo.balances = balances.balances;
708
708
  allBalances = allBalances.concat(balances.balances);
709
- log.info(tag, context + ": " + pubkeyInfo.symbol + " allBalances: ", allBalances.length);
709
+ log.debug(tag, context + ": " + pubkeyInfo.symbol + " allBalances: ", allBalances.length);
710
710
  }
711
711
  if (balances && balances.nfts)
712
712
  pubkeys.nfts = balances.nfts;
@@ -727,7 +727,7 @@ var get_and_verify_pubkeys = function (username, context) {
727
727
  for (i = 0; i < blockchains.length; i++) {
728
728
  blockchain = blockchains[i];
729
729
  if (synced.indexOf(blockchain) === -1) {
730
- log.info(tag, context + " blockchain not synced: ", blockchain);
730
+ log.debug(tag, context + " blockchain not synced: ", blockchain);
731
731
  isSynced = false;
732
732
  break;
733
733
  }
@@ -897,7 +897,7 @@ var register_address = function (username, pubkey, context) {
897
897
  return [4 /*yield*/, get_pubkey_balances(work)];
898
898
  case 2:
899
899
  result = _a.sent();
900
- log.info(tag, "result: ", result);
900
+ log.debug(tag, "result: ", result);
901
901
  return [2 /*return*/, queueId];
902
902
  case 3:
903
903
  e_7 = _a.sent();
@@ -1105,7 +1105,7 @@ var register_pubkeys = function (username, pubkeys, context) {
1105
1105
  case 2:
1106
1106
  if (!(i < pubkeys.length)) return [3 /*break*/, 16];
1107
1107
  pubkeyInfo = pubkeys[i];
1108
- log.info(tag, "pubkeyInfo: ", pubkeyInfo);
1108
+ log.debug(tag, "pubkeyInfo: ", pubkeyInfo);
1109
1109
  nativeAsset = getNativeAssetForBlockchain(pubkeyInfo.blockchain);
1110
1110
  if (!nativeAsset)
1111
1111
  throw Error("104: invalid pubkey! unsupported by coins module!");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer",
3
- "version": "8.2.9",
3
+ "version": "8.2.10",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "scripts": {
@@ -20,12 +20,12 @@
20
20
  "clean": "rm -rf coverage src/**/*.js src/**/*.map lib node_modules"
21
21
  },
22
22
  "dependencies": {
23
- "@pioneer-platform/blockbook": "^8.1.60",
23
+ "@pioneer-platform/blockbook": "^8.1.61",
24
24
  "@pioneer-platform/blocknative-client": "^8.1.27",
25
25
  "@pioneer-platform/loggerdog": "^8.1.31",
26
26
  "@pioneer-platform/pioneer-caip": "^8.1.79",
27
27
  "@pioneer-platform/redis-queue": "^8.1.24",
28
- "@pioneer-platform/unchained": "^8.1.62",
28
+ "@pioneer-platform/unchained": "^8.1.63",
29
29
  "@pioneer-platform/zapper-client": "^8.1.26",
30
30
  "dotenv": "^8.2.0"
31
31
  },
@@ -40,5 +40,5 @@
40
40
  "ts-jest": "^29.0.5",
41
41
  "typescript": "^5.0.2"
42
42
  },
43
- "gitHead": "e1212fa842d8371740282be3f0cce4d32aff3201"
43
+ "gitHead": "b3f4397d3cd70785456466ce8ffdc2c5976b8b43"
44
44
  }