edge-currency-plugins 2.0.0 → 2.0.2

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.
@@ -67,7 +67,7 @@ var _processMempoolSpaceFees = require('./processMempoolSpaceFees');
67
67
  async start() {
68
68
  const edgeFees = await fetchFees({
69
69
  ...common,
70
- uri: `${_constants.INFO_SERVER_URI}/networkFees/${currencyInfo.currencyCode}`,
70
+ uri: `${_constants.INFO_SERVER_URI}/networkFees/${currencyInfo.pluginId}`,
71
71
  processor: _processInfoServerFees.processInfoServerFees
72
72
  })
73
73
  Object.assign(fees, edgeFees)
@@ -527,10 +527,8 @@ var _utils = require('./utils');
527
527
  privateKeys,
528
528
  opts
529
529
  ) {
530
- const otherParams = _types5.asUtxoSignMessageOtherParams.call(void 0, opts)
530
+ const otherParams = _types5.asUtxoSignMessageOtherParams.call(void 0, opts.otherParams)
531
531
  const { publicAddress } = otherParams
532
- if (publicAddress == null)
533
- throw new Error('Missing publicAddress in EdgeSignMessageOptions')
534
532
  const scriptPubkey = walletTools.addressToScriptPubkey(publicAddress)
535
533
  const processorAddress = await processor.fetchAddress(scriptPubkey)
536
534
  if (_optionalChain([processorAddress, 'optionalAccess', _17 => _17.path]) == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edge-currency-plugins",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Edge currency plugins to fetch and process wallet accounts, balances and transactions.",
5
5
  "repository": "https://github.com/EdgeApp/edge-currency-plugins",
6
6
  "license": "MIT",