@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.
@@ -4418,7 +4418,7 @@ const qi = {
4418
4418
  ErrorNetwork: "Çevrimdışısınız, lütfen ağ ayarlarınızı kontrol edin",
4419
4419
  ErrorJSON: "Beklenmeyen Veri Yanıtı, lütfen müşteri desteğiyle iletişime geçin",
4420
4420
  Congratulation: "Tebrikler! ",
4421
- Success: "Bir {ödül} kazandınız!",
4421
+ Success: "Bir {prize} kazandınız!",
4422
4422
  OK: "TAMAM",
4423
4423
  Rewards: "Ödüller",
4424
4424
  Status: "Durum",
@@ -6284,13 +6284,17 @@ const S2 = (e) => new Promise((t) => {
6284
6284
  accept: "text/plain"
6285
6285
  }, i ? { "x-SessionId": i } : {})
6286
6286
  }, s = {
6287
- [Xe.lotteries]: () => ({
6288
- path: "/wof/lotteries",
6289
- params: {
6290
- filter: "Types[]=wheelOfFortune"
6291
- },
6292
- options: n
6293
- }),
6287
+ [Xe.lotteries]: () => {
6288
+ const { lang: a } = r;
6289
+ return {
6290
+ path: "/wof/lotteries",
6291
+ params: {
6292
+ filter: "Types[]=wheelOfFortune",
6293
+ lang: a
6294
+ },
6295
+ options: n
6296
+ };
6297
+ },
6294
6298
  [Xe.outcome]: () => {
6295
6299
  const { id: a } = r;
6296
6300
  return {
@@ -6300,11 +6304,12 @@ const S2 = (e) => new Promise((t) => {
6300
6304
  };
6301
6305
  },
6302
6306
  [Xe.remainingTimes]: () => {
6303
- const { id: a } = r;
6307
+ const { id: a, lang: l } = r;
6304
6308
  return {
6305
6309
  path: "/wof/remainingTimes",
6306
6310
  params: {
6307
- filter: `ProgramId[]=${a}`
6311
+ filter: `ProgramId[]=${a}`,
6312
+ lang: l
6308
6313
  },
6309
6314
  options: n
6310
6315
  };
@@ -6348,8 +6353,8 @@ const S2 = (e) => new Promise((t) => {
6348
6353
  break;
6349
6354
  }
6350
6355
  }, Xt = {
6351
- lotteries: (e, t) => we(void 0, null, function* () {
6352
- return (yield sr(Xe.lotteries, e, { session: t })).items || [];
6356
+ lotteries: (e, t, r) => we(void 0, null, function* () {
6357
+ return (yield sr(Xe.lotteries, e, { session: t, lang: r })).items || [];
6353
6358
  }),
6354
6359
  draw: (a, l, c, u, f, h, ...g) => we(void 0, [a, l, c, u, f, h, ...g], function* (e, t, r, i, n, o, s = _e.Assign) {
6355
6360
  var R, L, S, Z, E, j;
@@ -6399,8 +6404,8 @@ const S2 = (e) => new Promise((t) => {
6399
6404
  outcome: (e, t, r) => we(void 0, null, function* () {
6400
6405
  return yield sr(Xe.outcome, e, { session: t, id: r });
6401
6406
  }),
6402
- remainingTimes: (e, t, r) => we(void 0, null, function* () {
6403
- return yield sr(Xe.remainingTimes, e, { session: t, id: r });
6407
+ remainingTimes: (e, t, r, i) => we(void 0, null, function* () {
6408
+ return yield sr(Xe.remainingTimes, e, { session: t, id: r, lang: i });
6404
6409
  }),
6405
6410
  history: (e, t) => we(void 0, null, function* () {
6406
6411
  return yield sr(Xe.history, e, { session: t });
@@ -10704,7 +10709,7 @@ function ru(e, t, r) {
10704
10709
  }
10705
10710
  return `${ue} [${Q(Me)} ~ ${Q(ye)}]`;
10706
10711
  }, N = () => we(this, null, function* () {
10707
- const B = yield Xt.lotteries(l, c);
10712
+ const B = yield Xt.lotteries(l, c, a);
10708
10713
  return G = B.filter((z) => dr(z)), B.filter((z) => z.program.id === C)[0];
10709
10714
  });
10710
10715
  mr({
@@ -10720,7 +10725,7 @@ function ru(e, t, r) {
10720
10725
  if (B.id !== C)
10721
10726
  return;
10722
10727
  j && r(0, x = j);
10723
- const { items: z } = yield Xt.remainingTimes(l, c, C);
10728
+ const { items: z } = yield Xt.remainingTimes(l, c, C, a);
10724
10729
  r(0, x.current.remainingTimes = +((V = z[0]) == null ? void 0 : V.remainingTimes) || 0, x), Oe({ type: "wof-private-bonus", bonus: x, id: C }), G && Oe({ type: "wof-private-bonuses", bonuses: G });
10725
10730
  }),
10726
10731
  "wof-private-message-spin-before": (B) => we(this, null, function* () {
@@ -11510,7 +11515,7 @@ function gu(e, t, r) {
11510
11515
  }
11511
11516
  !G || !a || !c || !l || (yield be());
11512
11517
  }), be = () => we(this, null, function* () {
11513
- const m = yield Xt.lotteries(l, c);
11518
+ const m = yield Xt.lotteries(l, c, a);
11514
11519
  Oe({
11515
11520
  type: "wof-private-bonuses-outcomes",
11516
11521
  bonuses: m
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){const n=t=>function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/LotteryProgramWof-BtlXlyt9.cjs")).then(({default:t})=>{!customElements.get("lottery-program-wof")&&customElements.define("lottery-program-wof",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){const n=t=>function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/LotteryProgramWof-CE61aI6q.cjs")).then(({default:t})=>{!customElements.get("lottery-program-wof")&&customElements.define("lottery-program-wof",t.element)})}
@@ -8,7 +8,7 @@ if (typeof window != "undefined") {
8
8
  throw e;
9
9
  }
10
10
  };
11
- customElements.define = n(customElements.define), import("../components/LotteryProgramWof-duiuW3BM.js").then(({ default: t }) => {
11
+ customElements.define = n(customElements.define), import("../components/LotteryProgramWof-RHZl0TSW.js").then(({ default: t }) => {
12
12
  !customElements.get("lottery-program-wof") && customElements.define("lottery-program-wof", t.element);
13
13
  });
14
14
  }
@@ -1,4 +1,4 @@
1
- import { L as n } from "../components/LotteryProgramWof-1vQRuLGK.js";
1
+ import { L as n } from "../components/LotteryProgramWof-BqpAqsuX.js";
2
2
  function s(t) {
3
3
  return function(...r) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/lottery-program-wof",
3
- "version": "1.94.76",
3
+ "version": "1.94.78",
4
4
  "type": "module",
5
5
  "main": "es2015/lottery-program-wof.cjs",
6
6
  "module": "esnext/lottery-program-wof.js",