60p82u21t54k 1.1.37 → 1.1.39

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
  };
@@ -4586,7 +4587,7 @@ const getGetFavouriteGameResponse = (raw) => {
4586
4587
  new: false
4587
4588
  },
4588
4589
  imageUrl: `${raw.mdDomains[item.mdDomains_id]}${getImgPath(item.img, item.filemtime)}`,
4589
- logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?v=1`,
4590
+ logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?ts=${currentTS}`,
4590
4591
  rate: "0.00",
4591
4592
  jackpotAmount: ""
4592
4593
  };
@@ -5176,7 +5177,7 @@ const getSearchGameByNameResponse = (raw) => {
5176
5177
  new: false
5177
5178
  },
5178
5179
  imageUrl: `${raw.mdDomains[item.mdDomains_id]}${getImgPath(item.img, item.filemtime)}`,
5179
- logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?v=1`,
5180
+ logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?ts=${currentTS}`,
5180
5181
  rate: "0.00",
5181
5182
  jackpotAmount: ""
5182
5183
  };
@@ -5412,7 +5413,7 @@ const getCasinoGameListResponse = (raw) => {
5412
5413
  new: false
5413
5414
  },
5414
5415
  imageUrl: `${raw.mdDomains[item.mdDomains_id]}${getImgPath(item.img, item.filemtime)}`,
5415
- logoUrl: `/image/platform_logo/platform_logo_${item.code_PlatformMaster}.png?v=1`,
5416
+ logoUrl: `/image/platform_logo/platform_logo_${item.code_PlatformMaster}.png?ts=${currentTS}`,
5416
5417
  rate: "0.00",
5417
5418
  jackpotAmount: ""
5418
5419
  };
@@ -5471,7 +5472,7 @@ const getGetActivePlatformResponse = (raw) => {
5471
5472
  return (_b = (_a = raw.mdPlatformMaster) == null ? void 0 : _a.map((item) => {
5472
5473
  return {
5473
5474
  platformId: item.id,
5474
- logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?v=1`
5475
+ logoUrl: `/image/platform_logo/platform_logo_${item.code}.png?ts=${currentTS}`
5475
5476
  };
5476
5477
  })) != null ? _b : [];
5477
5478
  };
@@ -7012,7 +7013,7 @@ const socialLoginApi = (loginToken, loginEmail, loginMethod) => __async(void 0,
7012
7013
  }
7013
7014
  return result;
7014
7015
  });
7015
- const sessionToJwtApi = (token) => __async(void 0, null, function* () {
7016
+ const sessionToJwtApi = () => __async(void 0, null, function* () {
7016
7017
  var _a, _b;
7017
7018
  let result = {
7018
7019
  status: 200,
@@ -7021,10 +7022,7 @@ const sessionToJwtApi = (token) => __async(void 0, null, function* () {
7021
7022
  };
7022
7023
  try {
7023
7024
  const request = yield customPost(
7024
- "/graph/auth/session-to-jwt",
7025
- {
7026
- "X-CSRF-Token": token
7027
- }
7025
+ "/graph/auth/session-to-jwt"
7028
7026
  );
7029
7027
  const response = request.data;
7030
7028
  result = {