60p82u21t54k 1.1.48 → 1.2.0
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.cjs.js +1 -1
- package/dist/60p82u21t54k.es.js +28 -30
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/model/getCryptoList/getGetCryptoListResponse.d.ts +5 -5
- package/dist/model/getCryptoList/getGetCryptoListResponse.d.ts.map +1 -1
- package/dist/model/getCryptoList/type.d.ts +4 -4
- package/dist/model/getCryptoList/type.d.ts.map +1 -1
- package/dist/model/searchGameByName/getSearchGameByNameResponse.d.ts.map +1 -1
- package/dist/model/searchGameByName/type.d.ts +0 -3
- package/dist/model/searchGameByName/type.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -4852,15 +4852,15 @@ const getGetCryptoListResponse = (raw) => {
|
|
|
4852
4852
|
return {
|
|
4853
4853
|
status: raw.status == 1,
|
|
4854
4854
|
message: (_a = raw.status == 1 ? raw.message : raw.errormessage) != null ? _a : "",
|
|
4855
|
-
|
|
4855
|
+
networkList: (_b = raw.data.map((network) => {
|
|
4856
4856
|
var _a2;
|
|
4857
4857
|
return {
|
|
4858
|
-
id:
|
|
4859
|
-
name:
|
|
4860
|
-
|
|
4858
|
+
id: network.network_id,
|
|
4859
|
+
name: network.network_name,
|
|
4860
|
+
coin: (_a2 = network.coin_support.map((coin) => {
|
|
4861
4861
|
return {
|
|
4862
|
-
id:
|
|
4863
|
-
name:
|
|
4862
|
+
id: coin.coin_id,
|
|
4863
|
+
name: coin.coin_name
|
|
4864
4864
|
};
|
|
4865
4865
|
})) != null ? _a2 : []
|
|
4866
4866
|
};
|
|
@@ -5209,29 +5209,27 @@ const modifyGetWeekCardAllDataResponse = (result) => {
|
|
|
5209
5209
|
const getSearchGameByNameResponse = (raw) => {
|
|
5210
5210
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
5211
5211
|
return {
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
})) != null ? _g : []
|
|
5234
|
-
}
|
|
5212
|
+
currentPage: (_b = (_a = raw.mdGameLists) == null ? void 0 : _a.current_page) != null ? _b : 1,
|
|
5213
|
+
lastPage: (_d = (_c = raw.mdGameLists) == null ? void 0 : _c.last_page) != null ? _d : 1,
|
|
5214
|
+
data: (_g = (_f = (_e = raw.mdGameLists) == null ? void 0 : _e.data) == null ? void 0 : _f.map((item) => {
|
|
5215
|
+
return {
|
|
5216
|
+
gameId: item.id,
|
|
5217
|
+
platformId: item.id_PlatformProduct,
|
|
5218
|
+
platformCode: item.code,
|
|
5219
|
+
platformName: item.pp_name,
|
|
5220
|
+
name: item.name,
|
|
5221
|
+
flag: {
|
|
5222
|
+
value: 0,
|
|
5223
|
+
hot: false,
|
|
5224
|
+
trial: false,
|
|
5225
|
+
new: false
|
|
5226
|
+
},
|
|
5227
|
+
imageUrl: `${raw.mdDomains[item.mdDomains_id]}${getImgPath(item.img, item.filemtime)}`,
|
|
5228
|
+
logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?ts=${currentTS}`,
|
|
5229
|
+
rate: "0.00",
|
|
5230
|
+
jackpotAmount: ""
|
|
5231
|
+
};
|
|
5232
|
+
})) != null ? _g : []
|
|
5235
5233
|
};
|
|
5236
5234
|
};
|
|
5237
5235
|
const modifySearchGameByNameRequest = (requests) => {
|
|
@@ -5250,7 +5248,7 @@ const modifySearchGameByNameResponse = (result) => {
|
|
|
5250
5248
|
const searchGameList = result.searchGameByName;
|
|
5251
5249
|
if (Api.getPlatformTurnoverRate in result && (result == null ? void 0 : result.getPlatformTurnoverRate)) {
|
|
5252
5250
|
const getPlatformTurnoverRate = result.getPlatformTurnoverRate;
|
|
5253
|
-
const tempSearchGameList = searchGameList.
|
|
5251
|
+
const tempSearchGameList = searchGameList.data.map((gameInfo) => {
|
|
5254
5252
|
var _a;
|
|
5255
5253
|
const turnover = getPlatformTurnoverRate.find(
|
|
5256
5254
|
(item) => item.id === gameInfo.platformId
|