@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.
@@ -3229,11 +3229,13 @@ class SwapspaceSwapProvider extends SwapProvider {
3229
3229
  }
3230
3230
  getExtraIdNameIfPresent(asset) {
3231
3231
  try {
3232
+ var _assetData$extraIdNam;
3232
3233
  const assetData = this._supportedCoins.find(i => {
3233
3234
  var _i$coin4;
3234
3235
  return ((_i$coin4 = i.coin) == null ? void 0 : _i$coin4.ticker) === (asset == null ? void 0 : asset.ticker);
3235
3236
  });
3236
- return assetData != null && assetData.hasExtraId ? assetData == null ? void 0 : assetData.extraIdName : null;
3237
+ // We return "ID" if the extraIdName is empty
3238
+ return assetData != null && assetData.hasExtraId ? (_assetData$extraIdNam = assetData == null ? void 0 : assetData.extraIdName) != null ? _assetData$extraIdNam : "ID" : null;
3237
3239
  } catch (e) {
3238
3240
  improveAndRethrow(e, "getExtraIdNameIfPresent");
3239
3241
  }