60p82u21t54k 1.1.38 → 1.1.40

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.
@@ -378,6 +378,7 @@ const timeConversion = (date, fromTimeZone, toTimeZone) => {
378
378
  const tzDifference = compareGmt(getUtcOffset(fromTimeZone), getUtcOffset(toTimeZone));
379
379
  return new Date(date.getTime() + tzDifference * 60 * 60 * 1e3);
380
380
  };
381
+ const currentTS = Date.now();
381
382
  class DefaultApiModelRegistry {
382
383
  constructor() {
383
384
  __publicField(this, "models", /* @__PURE__ */ new Map());
@@ -463,7 +464,7 @@ const getGameListResponse = (raw) => {
463
464
  code: product.code.toLowerCase(),
464
465
  id: product.id,
465
466
  name: product.name,
466
- iconUrl: `/image/side_menu/${product.code.toLowerCase()}.png?v=1`,
467
+ iconUrl: `/image/side_menu/${product.code.toLowerCase()}.png?ts=${currentTS}`,
467
468
  nextPage: product.nextPage === 1,
468
469
  list: product.mdPlatformProducts && ((_a2 = product.mdPlatformProducts) == null ? void 0 : _a2.length) > 0 ? (_b2 = product.mdPlatformProducts) == null ? void 0 : _b2.map((item) => {
469
470
  return {
@@ -479,7 +480,7 @@ const getGameListResponse = (raw) => {
479
480
  new: (item.flag & 8) > 0
480
481
  },
481
482
  imageUrl: `${raw.mdDomains[item.mdDomains_id]}${getImgPath(item.img, item.filemtime)}`,
482
- logoUrl: `/image/platform_logo/${item.img.split("/").pop()}?v=1`,
483
+ logoUrl: `/image/platform_logo/${item.img.split("/").pop()}?ts=${currentTS}`,
483
484
  rate: "0.00",
484
485
  jackpotAmount: ""
485
486
  };
@@ -504,7 +505,7 @@ const getGameListResponse = (raw) => {
504
505
  new: ((_i2 = item.flag) != null ? _i2 : 0 & 8) > 0
505
506
  },
506
507
  imageUrl: raw.mdDomains && raw.mdDomains.length > 0 ? `${raw.mdDomains[(_j2 = item.mdDomains_id) != null ? _j2 : 0]}${getImgPath((_k = item.img) != null ? _k : "", (_l = item.filemtime) != null ? _l : 0)}` : "",
507
- logoUrl: `/image/platform_logo/platform_logo_${item.code_PlatformProduct}.png?v=1`,
508
+ logoUrl: `/image/platform_logo/platform_logo_${item.code_PlatformProduct}.png?ts=${currentTS}`,
508
509
  rate: "0.00",
509
510
  jackpotAmount: (_m = item.jackpotAmount) != null ? _m : ""
510
511
  };
@@ -753,7 +754,7 @@ const getFishGameListResponse = (raw) => {
753
754
  new: false
754
755
  },
755
756
  imageUrl: `${raw.mdDomains[item.mdDomains_id]}${getImgPath(item.img, item.filemtime)}`,
756
- logoUrl: `/image/platform_logo/platform_logo_${item.code_PlatformMaster}.png?v=1`,
757
+ logoUrl: `/image/platform_logo/platform_logo_${item.code_PlatformMaster}.png?ts=${currentTS}`,
757
758
  rate: "0.00",
758
759
  jackpotAmount: ""
759
760
  };
@@ -2026,7 +2027,11 @@ const getGetSettingResponse = (raw) => {
2026
2027
  status: item.status == 1
2027
2028
  };
2028
2029
  }),
2029
- mobileValidate: raw.mobilevalidate ? raw.mobilevalidate === "1" : false,
2030
+ mobileValidate: {
2031
+ register: (Number(raw.mobilevalidate) & 1) > 0,
2032
+ deposit: (Number(raw.mobilevalidate) & 2) > 0,
2033
+ withdraw: (Number(raw.mobilevalidate) & 4) > 0
2034
+ },
2030
2035
  withdrawTAC: raw.withdrawtac ? raw.withdrawtac === "1" : false,
2031
2036
  imageDomain: (_b = raw.imagedomain) != null ? _b : "",
2032
2037
  withdrawalCodeType: {
@@ -4586,7 +4591,7 @@ const getGetFavouriteGameResponse = (raw) => {
4586
4591
  new: false
4587
4592
  },
4588
4593
  imageUrl: `${raw.mdDomains[item.mdDomains_id]}${getImgPath(item.img, item.filemtime)}`,
4589
- logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?v=1`,
4594
+ logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?ts=${currentTS}`,
4590
4595
  rate: "0.00",
4591
4596
  jackpotAmount: ""
4592
4597
  };
@@ -5176,7 +5181,7 @@ const getSearchGameByNameResponse = (raw) => {
5176
5181
  new: false
5177
5182
  },
5178
5183
  imageUrl: `${raw.mdDomains[item.mdDomains_id]}${getImgPath(item.img, item.filemtime)}`,
5179
- logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?v=1`,
5184
+ logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?ts=${currentTS}`,
5180
5185
  rate: "0.00",
5181
5186
  jackpotAmount: ""
5182
5187
  };
@@ -5412,7 +5417,7 @@ const getCasinoGameListResponse = (raw) => {
5412
5417
  new: false
5413
5418
  },
5414
5419
  imageUrl: `${raw.mdDomains[item.mdDomains_id]}${getImgPath(item.img, item.filemtime)}`,
5415
- logoUrl: `/image/platform_logo/platform_logo_${item.code_PlatformMaster}.png?v=1`,
5420
+ logoUrl: `/image/platform_logo/platform_logo_${item.code_PlatformMaster}.png?ts=${currentTS}`,
5416
5421
  rate: "0.00",
5417
5422
  jackpotAmount: ""
5418
5423
  };
@@ -5471,7 +5476,7 @@ const getGetActivePlatformResponse = (raw) => {
5471
5476
  return (_b = (_a = raw.mdPlatformMaster) == null ? void 0 : _a.map((item) => {
5472
5477
  return {
5473
5478
  platformId: item.id,
5474
- logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?v=1`
5479
+ logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?ts=${currentTS}`
5475
5480
  };
5476
5481
  })) != null ? _b : [];
5477
5482
  };