@everymatrix/lottery-program-wof 1.94.76 → 1.94.78

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.
@@ -4372,7 +4372,7 @@ const Ui = {
4372
4372
  ErrorNetwork: "Çevrimdışısınız, lütfen ağ ayarlarınızı kontrol edin",
4373
4373
  ErrorJSON: "Beklenmeyen Veri Yanıtı, lütfen müşteri desteğiyle iletişime geçin",
4374
4374
  Congratulation: "Tebrikler! ",
4375
- Success: "Bir {ödül} kazandınız!",
4375
+ Success: "Bir {prize} kazandınız!",
4376
4376
  OK: "TAMAM",
4377
4377
  Rewards: "Ödüller",
4378
4378
  Status: "Durum",
@@ -6239,13 +6239,17 @@ const f2 = (e) => new Promise((t) => {
6239
6239
  ...i ? { "x-SessionId": i } : {}
6240
6240
  }
6241
6241
  }, s = {
6242
- [Ne.lotteries]: () => ({
6243
- path: "/wof/lotteries",
6244
- params: {
6245
- filter: "Types[]=wheelOfFortune"
6246
- },
6247
- options: n
6248
- }),
6242
+ [Ne.lotteries]: () => {
6243
+ const { lang: a } = r;
6244
+ return {
6245
+ path: "/wof/lotteries",
6246
+ params: {
6247
+ filter: "Types[]=wheelOfFortune",
6248
+ lang: a
6249
+ },
6250
+ options: n
6251
+ };
6252
+ },
6249
6253
  [Ne.outcome]: () => {
6250
6254
  const { id: a } = r;
6251
6255
  return {
@@ -6255,11 +6259,12 @@ const f2 = (e) => new Promise((t) => {
6255
6259
  };
6256
6260
  },
6257
6261
  [Ne.remainingTimes]: () => {
6258
- const { id: a } = r;
6262
+ const { id: a, lang: l } = r;
6259
6263
  return {
6260
6264
  path: "/wof/remainingTimes",
6261
6265
  params: {
6262
- filter: `ProgramId[]=${a}`
6266
+ filter: `ProgramId[]=${a}`,
6267
+ lang: l
6263
6268
  },
6264
6269
  options: n
6265
6270
  };
@@ -6304,7 +6309,7 @@ const f2 = (e) => new Promise((t) => {
6304
6309
  break;
6305
6310
  }
6306
6311
  }, Ht = {
6307
- lotteries: async (e, t) => (await Jt(Ne.lotteries, e, { session: t })).items || [],
6312
+ lotteries: async (e, t, r) => (await Jt(Ne.lotteries, e, { session: t, lang: r })).items || [],
6308
6313
  draw: async (e, t, r, i, n, o, s = Ue.Assign) => {
6309
6314
  const a = await Jt(Ne.draw, e, { id: r, session: t, guid: i, action: s });
6310
6315
  let l = a.item?.result?.wheelOfFortunePartitionIndex;
@@ -6349,7 +6354,7 @@ const f2 = (e) => new Promise((t) => {
6349
6354
  };
6350
6355
  },
6351
6356
  outcome: async (e, t, r) => await Jt(Ne.outcome, e, { session: t, id: r }),
6352
- remainingTimes: async (e, t, r) => await Jt(Ne.remainingTimes, e, { session: t, id: r }),
6357
+ remainingTimes: async (e, t, r, i) => await Jt(Ne.remainingTimes, e, { session: t, id: r, lang: i }),
6353
6358
  history: async (e, t) => await Jt(Ne.history, e, { session: t })
6354
6359
  }, v2 = (e, t, r) => {
6355
6360
  switch (r) {
@@ -10622,7 +10627,7 @@ function jc(e, t, r) {
10622
10627
  }
10623
10628
  return `${ae} [${N(Ce)} ~ ${N(pe)}]`;
10624
10629
  }, H = async () => {
10625
- const x = await Ht.lotteries(l, c);
10630
+ const x = await Ht.lotteries(l, c, a);
10626
10631
  return Z = x.filter((G) => qt(G)), x.filter((G) => G.program.id === C)[0];
10627
10632
  };
10628
10633
  er({
@@ -10637,7 +10642,7 @@ function jc(e, t, r) {
10637
10642
  if (x.id !== C)
10638
10643
  return;
10639
10644
  J && r(0, B = J);
10640
- const { items: G } = await Ht.remainingTimes(l, c, C);
10645
+ const { items: G } = await Ht.remainingTimes(l, c, C, a);
10641
10646
  r(0, B.current.remainingTimes = +G[0]?.remainingTimes || 0, B), Ee({ type: "wof-private-bonus", bonus: B, id: C }), Z && Ee({ type: "wof-private-bonuses", bonuses: Z });
10642
10647
  },
10643
10648
  "wof-private-message-spin-before": async (x) => {
@@ -11412,7 +11417,7 @@ function $c(e, t, r) {
11412
11417
  }
11413
11418
  !Z || !a || !c || !l || await ve();
11414
11419
  }, ve = async () => {
11415
- const m = await Ht.lotteries(l, c);
11420
+ const m = await Ht.lotteries(l, c, a);
11416
11421
  Ee({
11417
11422
  type: "wof-private-bonuses-outcomes",
11418
11423
  bonuses: m