@opexa/portal-sdk 0.59.64 → 0.59.65
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.
- package/dist/{chunk-LSIBWJ34.js → chunk-CY6AO3EN.js} +47 -5
- package/dist/chunk-CY6AO3EN.js.map +1 -0
- package/dist/index.cjs +67 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +45 -3
- package/dist/services/index.cjs.map +1 -1
- package/dist/services/index.d.cts +4 -3
- package/dist/services/index.d.ts +4 -3
- package/dist/services/index.js +1 -1
- package/dist/{types-DLixKQ1b.d.ts → types-Blgu5UwG.d.ts} +38 -1
- package/dist/{types-o6aJjH1M.d.cts → types-CU6K5qYs.d.cts} +38 -1
- package/package.json +1 -1
- package/dist/chunk-LSIBWJ34.js.map +0 -1
|
@@ -3058,6 +3058,26 @@ var TOP_WINS_NEXT_QUERY = gql`
|
|
|
3058
3058
|
}
|
|
3059
3059
|
}
|
|
3060
3060
|
`;
|
|
3061
|
+
var TOP_WINS_QUERY__NEXT = gql`
|
|
3062
|
+
query TopWins {
|
|
3063
|
+
topWins: _topWins {
|
|
3064
|
+
id
|
|
3065
|
+
game {
|
|
3066
|
+
id
|
|
3067
|
+
name
|
|
3068
|
+
type
|
|
3069
|
+
provider
|
|
3070
|
+
reference
|
|
3071
|
+
}
|
|
3072
|
+
member {
|
|
3073
|
+
id
|
|
3074
|
+
name
|
|
3075
|
+
}
|
|
3076
|
+
multiplier
|
|
3077
|
+
payout
|
|
3078
|
+
}
|
|
3079
|
+
}
|
|
3080
|
+
`;
|
|
3061
3081
|
var JACKPOTS_QUERY = gql`
|
|
3062
3082
|
query Jackpots(
|
|
3063
3083
|
$first: Int
|
|
@@ -5047,6 +5067,20 @@ var PortalService = class {
|
|
|
5047
5067
|
data: res.data._topWins
|
|
5048
5068
|
};
|
|
5049
5069
|
}
|
|
5070
|
+
async topWins__next() {
|
|
5071
|
+
const res = await this.client.request(
|
|
5072
|
+
TOP_WINS_QUERY__NEXT,
|
|
5073
|
+
void 0,
|
|
5074
|
+
{
|
|
5075
|
+
method: "GET"
|
|
5076
|
+
}
|
|
5077
|
+
);
|
|
5078
|
+
if (!res.ok) return res;
|
|
5079
|
+
return {
|
|
5080
|
+
ok: true,
|
|
5081
|
+
data: res.data.topWins
|
|
5082
|
+
};
|
|
5083
|
+
}
|
|
5050
5084
|
};
|
|
5051
5085
|
|
|
5052
5086
|
// src/services/report.service.ts
|
|
@@ -5379,16 +5413,24 @@ var WalletService = class {
|
|
|
5379
5413
|
this.client = client;
|
|
5380
5414
|
}
|
|
5381
5415
|
async promos() {
|
|
5382
|
-
const res = await this.client.request(PROMOS_QUERY
|
|
5416
|
+
const res = await this.client.request(PROMOS_QUERY, void 0, {
|
|
5417
|
+
method: "GET"
|
|
5418
|
+
});
|
|
5383
5419
|
return res.ok ? { ok: res.ok, data: res.data.promos } : res;
|
|
5384
5420
|
}
|
|
5385
5421
|
async cashbacks() {
|
|
5386
|
-
const res = await this.client.request(CASHBACKS_QUERY
|
|
5422
|
+
const res = await this.client.request(CASHBACKS_QUERY, void 0, {
|
|
5423
|
+
method: "GET"
|
|
5424
|
+
});
|
|
5387
5425
|
return res.ok ? { ok: res.ok, data: res.data.cashbacks } : res;
|
|
5388
5426
|
}
|
|
5389
5427
|
async promosAndCashbacks() {
|
|
5390
5428
|
const res = await this.client.request(
|
|
5391
|
-
PROMOS_AND_CASHBACKS_QUERY
|
|
5429
|
+
PROMOS_AND_CASHBACKS_QUERY,
|
|
5430
|
+
void 0,
|
|
5431
|
+
{
|
|
5432
|
+
method: "GET"
|
|
5433
|
+
}
|
|
5392
5434
|
);
|
|
5393
5435
|
return res.ok ? {
|
|
5394
5436
|
ok: res.ok,
|
|
@@ -6339,5 +6381,5 @@ var ExtensionService = class {
|
|
|
6339
6381
|
};
|
|
6340
6382
|
|
|
6341
6383
|
export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint };
|
|
6342
|
-
//# sourceMappingURL=chunk-
|
|
6343
|
-
//# sourceMappingURL=chunk-
|
|
6384
|
+
//# sourceMappingURL=chunk-CY6AO3EN.js.map
|
|
6385
|
+
//# sourceMappingURL=chunk-CY6AO3EN.js.map
|