@pioneer-platform/zapper-client 8.1.28 → 8.1.29

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 +3 -4
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -113,13 +113,12 @@ var get_portfolio = function (address) {
113
113
  })];
114
114
  case 3:
115
115
  tokensResponse = _a.sent();
116
- console.log("tokensResponse: ", tokensResponse.data);
117
- if (tokensResponse.data && tokensResponse.data[address]) {
118
- tokens = tokensResponse.data[address];
116
+ if (tokensResponse.data && tokensResponse.data[address.toLowerCase()]) {
117
+ tokens = tokensResponse.data;
119
118
  totalBalanceUsdTokens_1 = 0;
120
119
  tokens = tokens[address.toLowerCase()];
121
120
  output.tokens = tokens;
122
- log.debug(tag, "tokens: ", tokens.length);
121
+ log.info(tag, "tokens: ", tokens.length);
123
122
  if (tokens) {
124
123
  tokens.forEach(function (token) {
125
124
  log.debug(tag, "token: ", token);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/zapper-client",
3
- "version": "8.1.28",
3
+ "version": "8.1.29",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "dependencies": {