@cityofzion/bs-neo3 1.10.7 → 1.10.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.
@@ -72,9 +72,10 @@ _GhostMarketNDSNeo3_network = new WeakMap(), _GhostMarketNDSNeo3_instances = new
72
72
  return srcImage;
73
73
  }, _GhostMarketNDSNeo3_getUrlWithParams = function _GhostMarketNDSNeo3_getUrlWithParams(params) {
74
74
  const config = GhostMarketNDSNeo3.CONFIG_BY_NETWORK_ID[__classPrivateFieldGet(this, _GhostMarketNDSNeo3_network, "f").id];
75
- if (!config)
75
+ const chain = config === null || config === void 0 ? void 0 : config.chain;
76
+ if (!chain)
76
77
  throw new Error('GhostMarketNDSNeo3 does not support this network');
77
- const parameters = query_string_1.default.stringify(Object.assign({ chain: config.chain }, params), { arrayFormat: 'bracket' });
78
+ const parameters = query_string_1.default.stringify(Object.assign({ chain, ownersChains: [chain] }, params), { arrayFormat: 'bracket' });
78
79
  return `${config.url}/assets?${parameters}`;
79
80
  }, _GhostMarketNDSNeo3_parse = function _GhostMarketNDSNeo3_parse(data) {
80
81
  var _a, _b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cityofzion/bs-neo3",
3
- "version": "1.10.7",
3
+ "version": "1.10.8",
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/bs-asteroid-sdk": "0.9.0",
24
- "@cityofzion/blockchain-service": "1.16.2"
23
+ "@cityofzion/blockchain-service": "1.16.2",
24
+ "@cityofzion/bs-asteroid-sdk": "0.9.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@cityofzion/neon-dappkit-types": "~0.3.1",