@pioneer-platform/zapper-client 8.3.7 → 8.3.8

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 +1 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -129,7 +129,7 @@ var get_portfolio = function (address) {
129
129
  throw Error("no caip for network: " + network);
130
130
  token.networkId = caip.split('/')[0];
131
131
  if (token.token.address !== '0x0000000000000000000000000000000000000000') {
132
- token.assetCaip = caip + ":" + token.token.address;
132
+ token.assetCaip = token.networkId + "/erc20:" + token.token.address;
133
133
  }
134
134
  else {
135
135
  token.assetCaip = caip;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/zapper-client",
3
- "version": "8.3.7",
3
+ "version": "8.3.8",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "dependencies": {