60p82u21t54k 1.2.0 → 1.2.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.
@@ -2503,7 +2503,7 @@ const getGetBankCardDataResponse = (raw) => {
2503
2503
  var _a2, _b2, _c2, _d2;
2504
2504
  return {
2505
2505
  id: item.id,
2506
- name: getCryptoName((_b2 = (_a2 = raw.mdCryptoDetail) == null ? void 0 : _a2.cryptoNetworks) != null ? _b2 : [], (_c2 = item.cn_id) != null ? _c2 : 0),
2506
+ name: (_c2 = (_b2 = raw.mdCryptoDetail) == null ? void 0 : _b2.cryptoNetworks[(_a2 = item.cn_id) != null ? _a2 : 0].name) != null ? _c2 : "",
2507
2507
  networkId: (_d2 = item.cn_id) != null ? _d2 : 0,
2508
2508
  address: item.address
2509
2509
  };
@@ -2528,12 +2528,6 @@ const getGetBankCardDataResponse = (raw) => {
2528
2528
  bankCardLimit: raw.bankcardlimit
2529
2529
  };
2530
2530
  };
2531
- const getCryptoName = (networkList, networkId) => {
2532
- if (!networkList) return "";
2533
- const targetIndex = networkList.findIndex((network) => network.id == networkId);
2534
- const target = networkList[targetIndex];
2535
- return `${target.name} (${target.value.toUpperCase()})`;
2536
- };
2537
2531
  const modifyGetBankCardDataRequest = (requests) => {
2538
2532
  return requests;
2539
2533
  };