@opexa/portal-sdk 0.59.65 → 0.59.66

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.
@@ -5054,13 +5054,7 @@ var PortalService = class {
5054
5054
  };
5055
5055
  }
5056
5056
  async topWinsNext() {
5057
- const res = await this.client.request(
5058
- TOP_WINS_NEXT_QUERY,
5059
- void 0,
5060
- {
5061
- method: "GET"
5062
- }
5063
- );
5057
+ const res = await this.client.request(TOP_WINS_NEXT_QUERY);
5064
5058
  if (!res.ok) return res;
5065
5059
  return {
5066
5060
  ok: true,
@@ -5068,13 +5062,7 @@ var PortalService = class {
5068
5062
  };
5069
5063
  }
5070
5064
  async topWins__next() {
5071
- const res = await this.client.request(
5072
- TOP_WINS_QUERY__NEXT,
5073
- void 0,
5074
- {
5075
- method: "GET"
5076
- }
5077
- );
5065
+ const res = await this.client.request(TOP_WINS_QUERY__NEXT);
5078
5066
  if (!res.ok) return res;
5079
5067
  return {
5080
5068
  ok: true,
@@ -5152,9 +5140,7 @@ var ReportService = class {
5152
5140
  return res.ok ? { ok: res.ok, data: res.data.promoByCode } : res;
5153
5141
  }
5154
5142
  async jackpots(variables) {
5155
- const res = await this.client.request(JACKPOTS_QUERY, variables, {
5156
- method: "GET"
5157
- });
5143
+ const res = await this.client.request(JACKPOTS_QUERY, variables);
5158
5144
  if (!res.ok) return res;
5159
5145
  return {
5160
5146
  ok: true,
@@ -5162,9 +5148,7 @@ var ReportService = class {
5162
5148
  };
5163
5149
  }
5164
5150
  async _jackpots(variables) {
5165
- const res = await this.client.request(_JACKPOTS_QUERY, variables, {
5166
- method: "GET"
5167
- });
5151
+ const res = await this.client.request(_JACKPOTS_QUERY, variables);
5168
5152
  if (!res.ok) return res;
5169
5153
  return {
5170
5154
  ok: true,
@@ -5172,9 +5156,7 @@ var ReportService = class {
5172
5156
  };
5173
5157
  }
5174
5158
  async jackpotsIds(variables) {
5175
- const res = await this.client.request(JACKPOTS_IDS_QUERY, variables, {
5176
- method: "GET"
5177
- });
5159
+ const res = await this.client.request(JACKPOTS_IDS_QUERY, variables);
5178
5160
  if (!res.ok) return res;
5179
5161
  return {
5180
5162
  ok: true,
@@ -5190,9 +5172,7 @@ var ReportService = class {
5190
5172
  };
5191
5173
  }
5192
5174
  async tournaments(variables) {
5193
- const res = await this.client.request(TOURNAMENTS_QUERY, variables, {
5194
- method: "GET"
5195
- });
5175
+ const res = await this.client.request(TOURNAMENTS_QUERY, variables);
5196
5176
  if (!res.ok) return res;
5197
5177
  return {
5198
5178
  ok: true,
@@ -5200,9 +5180,7 @@ var ReportService = class {
5200
5180
  };
5201
5181
  }
5202
5182
  async tournamentsIds(variables) {
5203
- const res = await this.client.request(TOURNAMENTS_IDS_QUERY, variables, {
5204
- method: "GET"
5205
- });
5183
+ const res = await this.client.request(TOURNAMENTS_IDS_QUERY, variables);
5206
5184
  if (!res.ok) return res;
5207
5185
  return {
5208
5186
  ok: true,
@@ -5413,24 +5391,19 @@ var WalletService = class {
5413
5391
  this.client = client;
5414
5392
  }
5415
5393
  async promos() {
5416
- const res = await this.client.request(PROMOS_QUERY, void 0, {
5417
- method: "GET"
5418
- });
5394
+ const res = await this.client.request(PROMOS_QUERY, void 0);
5419
5395
  return res.ok ? { ok: res.ok, data: res.data.promos } : res;
5420
5396
  }
5421
5397
  async cashbacks() {
5422
- const res = await this.client.request(CASHBACKS_QUERY, void 0, {
5423
- method: "GET"
5424
- });
5398
+ const res = await this.client.request(
5399
+ CASHBACKS_QUERY,
5400
+ void 0
5401
+ );
5425
5402
  return res.ok ? { ok: res.ok, data: res.data.cashbacks } : res;
5426
5403
  }
5427
5404
  async promosAndCashbacks() {
5428
5405
  const res = await this.client.request(
5429
- PROMOS_AND_CASHBACKS_QUERY,
5430
- void 0,
5431
- {
5432
- method: "GET"
5433
- }
5406
+ PROMOS_AND_CASHBACKS_QUERY
5434
5407
  );
5435
5408
  return res.ok ? {
5436
5409
  ok: res.ok,
@@ -6381,5 +6354,5 @@ var ExtensionService = class {
6381
6354
  };
6382
6355
 
6383
6356
  export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint };
6384
- //# sourceMappingURL=chunk-CY6AO3EN.js.map
6385
- //# sourceMappingURL=chunk-CY6AO3EN.js.map
6357
+ //# sourceMappingURL=chunk-22E7HNRO.js.map
6358
+ //# sourceMappingURL=chunk-22E7HNRO.js.map