60p82u21t54k 1.2.5 → 1.2.7
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.
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -5647,7 +5647,7 @@ const getGetCryptoSelectedResponse = (raw) => {
|
|
|
5647
5647
|
data: {
|
|
5648
5648
|
cryptoId: (_b = (_a = raw.data) == null ? void 0 : _a.cr_id) != null ? _b : "",
|
|
5649
5649
|
cryptoName: (_d = (_c = raw.data) == null ? void 0 : _c.code) != null ? _d : "",
|
|
5650
|
-
coinAmount: (_f =
|
|
5650
|
+
coinAmount: (_f = (_e = raw.data) == null ? void 0 : _e.amount) != null ? _f : "",
|
|
5651
5651
|
fiatAmount: ((_h = Number((_g = raw.data) == null ? void 0 : _g.amount)) != null ? _h : 0) * ((_j = Number((_i = raw.data) == null ? void 0 : _i.final_rate)) != null ? _j : 0),
|
|
5652
5652
|
rate: (_l = Number((_k = raw.data) == null ? void 0 : _k.final_rate)) != null ? _l : 0
|
|
5653
5653
|
}
|
|
@@ -6567,7 +6567,7 @@ const getMemberWalletResponse = (raw) => {
|
|
|
6567
6567
|
return {
|
|
6568
6568
|
cryptoId: (_a2 = item.cr_id) != null ? _a2 : "",
|
|
6569
6569
|
cryptoName: (_b2 = item.code) != null ? _b2 : "",
|
|
6570
|
-
coinAmount: (_c2 =
|
|
6570
|
+
coinAmount: (_c2 = item.amount) != null ? _c2 : "",
|
|
6571
6571
|
fiatAmount: ((_d = Number(item.amount)) != null ? _d : 0) * ((_e = Number(item.final_rate)) != null ? _e : 0),
|
|
6572
6572
|
rate: (_f = Number(item.final_rate)) != null ? _f : 0,
|
|
6573
6573
|
canSelect: item.canSelect == "1",
|