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.
@@ -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
- coinList: (_b = raw.data.map((coin) => {
4855
+ networkList: (_b = raw.data.map((network) => {
4856
4856
  var _a2;
4857
4857
  return {
4858
- id: coin.coin_id,
4859
- name: coin.coin_name,
4860
- network: (_a2 = coin.network_support.map((network) => {
4858
+ id: network.network_id,
4859
+ name: network.network_name,
4860
+ coin: (_a2 = network.coin_support.map((coin) => {
4861
4861
  return {
4862
- id: network.network_id,
4863
- name: network.network_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
- gameList: {
5213
- currentPage: (_b = (_a = raw.mdGameLists) == null ? void 0 : _a.current_page) != null ? _b : 1,
5214
- lastPage: (_d = (_c = raw.mdGameLists) == null ? void 0 : _c.last_page) != null ? _d : 1,
5215
- data: (_g = (_f = (_e = raw.mdGameLists) == null ? void 0 : _e.data) == null ? void 0 : _f.map((item) => {
5216
- return {
5217
- gameId: item.id,
5218
- platformId: item.id_PlatformProduct,
5219
- platformCode: item.code,
5220
- platformName: item.pp_name,
5221
- name: item.name,
5222
- flag: {
5223
- value: 0,
5224
- hot: false,
5225
- trial: false,
5226
- new: false
5227
- },
5228
- imageUrl: `${raw.mdDomains[item.mdDomains_id]}${getImgPath(item.img, item.filemtime)}`,
5229
- logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?ts=${currentTS}`,
5230
- rate: "0.00",
5231
- jackpotAmount: ""
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.gameList.data.map((gameInfo) => {
5251
+ const tempSearchGameList = searchGameList.data.map((gameInfo) => {
5254
5252
  var _a;
5255
5253
  const turnover = getPlatformTurnoverRate.find(
5256
5254
  (item) => item.id === gameInfo.platformId