@cityofzion/bs-neo3 1.6.0 → 1.6.1

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.
@@ -66,7 +66,7 @@ _GhostMarketNDSNeo3_network = new WeakMap(), _GhostMarketNDSNeo3_instances = new
66
66
  }
67
67
  if (srcImage.startsWith('ipfs://')) {
68
68
  const splitImage = srcImage.split('/');
69
- const imageId = splitImage.slice(-2).join('/');
69
+ const imageId = splitImage.slice(-2).filter(Boolean).join('/');
70
70
  return `https://ghostmarket.mypinata.cloud/ipfs/${imageId}`;
71
71
  }
72
72
  return srcImage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cityofzion/bs-neo3",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "repository": "https://github.com/CityOfZion/blockchain-services",
@@ -20,8 +20,8 @@
20
20
  "bignumber.js": "^9.1.2",
21
21
  "isomorphic-ws": "^5.0.0",
22
22
  "lodash.clonedeep": "^4.5.0",
23
- "@cityofzion/blockchain-service": "1.6.0",
24
- "@cityofzion/bs-asteroid-sdk": "0.9.0"
23
+ "@cityofzion/bs-asteroid-sdk": "0.9.0",
24
+ "@cityofzion/blockchain-service": "1.6.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@cityofzion/neon-dappkit-types": "~0.3.1",