@rabbitio/ui-kit 1.0.0-beta.34 → 1.0.0-beta.35

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.
@@ -3626,11 +3626,13 @@ var SwapspaceSwapProvider = /*#__PURE__*/function (_SwapProvider) {
3626
3626
  };
3627
3627
  _proto.getExtraIdNameIfPresent = function getExtraIdNameIfPresent(asset) {
3628
3628
  try {
3629
+ var _assetData$extraIdNam;
3629
3630
  var assetData = this._supportedCoins.find(function (i) {
3630
3631
  var _i$coin4;
3631
3632
  return ((_i$coin4 = i.coin) == null ? void 0 : _i$coin4.ticker) === (asset == null ? void 0 : asset.ticker);
3632
3633
  });
3633
- return assetData != null && assetData.hasExtraId ? assetData == null ? void 0 : assetData.extraIdName : null;
3634
+ // We return "ID" if the extraIdName is empty
3635
+ return assetData != null && assetData.hasExtraId ? (_assetData$extraIdNam = assetData == null ? void 0 : assetData.extraIdName) != null ? _assetData$extraIdNam : "ID" : null;
3634
3636
  } catch (e) {
3635
3637
  improveAndRethrow(e, "getExtraIdNameIfPresent");
3636
3638
  }