@opexa/portal-sdk 0.59.118 → 0.59.124
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-GAWJOZTO.js → chunk-TLSIHIY2.js} +39 -2
- package/dist/chunk-TLSIHIY2.js.map +1 -0
- package/dist/index.cjs +57 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -3
- package/dist/index.d.ts +10 -3
- package/dist/index.js +21 -2
- package/dist/index.js.map +1 -1
- package/dist/services/index.cjs +37 -0
- 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-ixoGQiRn.d.ts → types-CBin14X0.d.ts} +7 -1
- package/dist/{types-DjRZ0eUU.d.cts → types-DVgdaYUD.d.cts} +7 -1
- package/package.json +1 -1
- package/dist/chunk-GAWJOZTO.js.map +0 -1
|
@@ -3494,6 +3494,29 @@ var WALLET_GAMES_BY_NAME_QUERY = gql`
|
|
|
3494
3494
|
}
|
|
3495
3495
|
}
|
|
3496
3496
|
`;
|
|
3497
|
+
var WALLET_GAME_CARDS_BY_NAME_QUERY = gql`
|
|
3498
|
+
query WalletGameCardsByName(
|
|
3499
|
+
$search: String!
|
|
3500
|
+
$first: Int
|
|
3501
|
+
$filter: _GameFilterInput
|
|
3502
|
+
) {
|
|
3503
|
+
_gamesByName(search: $search, first: $first, filter: $filter) {
|
|
3504
|
+
id
|
|
3505
|
+
reference
|
|
3506
|
+
name
|
|
3507
|
+
displayName
|
|
3508
|
+
type
|
|
3509
|
+
provider
|
|
3510
|
+
status
|
|
3511
|
+
hidden
|
|
3512
|
+
hasFreeBet
|
|
3513
|
+
hasJackpot
|
|
3514
|
+
image {
|
|
3515
|
+
url
|
|
3516
|
+
}
|
|
3517
|
+
}
|
|
3518
|
+
}
|
|
3519
|
+
`;
|
|
3497
3520
|
var GAME_GROUPS_QUERY = gql`
|
|
3498
3521
|
query GameGroups(
|
|
3499
3522
|
$first: Int
|
|
@@ -6944,6 +6967,20 @@ var WalletService = class {
|
|
|
6944
6967
|
data: res.data._gamesByName
|
|
6945
6968
|
};
|
|
6946
6969
|
}
|
|
6970
|
+
async _gameCardsByName(variables) {
|
|
6971
|
+
const res = await this.client.request(WALLET_GAME_CARDS_BY_NAME_QUERY, variables);
|
|
6972
|
+
if (!res.ok) return res;
|
|
6973
|
+
if (!res.data._gamesByName) {
|
|
6974
|
+
return {
|
|
6975
|
+
ok: false,
|
|
6976
|
+
error: {
|
|
6977
|
+
name: "UnknownError",
|
|
6978
|
+
message: "Something went wrong."
|
|
6979
|
+
}
|
|
6980
|
+
};
|
|
6981
|
+
}
|
|
6982
|
+
return { ok: true, data: res.data._gamesByName };
|
|
6983
|
+
}
|
|
6947
6984
|
async cabinetWithdrawal(variables) {
|
|
6948
6985
|
const res = await this.client.request(CABINET_WITHDRAWAL_QUERY, variables);
|
|
6949
6986
|
return res.ok ? { ok: res.ok, data: res.data.node } : res;
|
|
@@ -7034,5 +7071,5 @@ var ExtensionService = class {
|
|
|
7034
7071
|
};
|
|
7035
7072
|
|
|
7036
7073
|
export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint, isIOSPlatform };
|
|
7037
|
-
//# sourceMappingURL=chunk-
|
|
7038
|
-
//# sourceMappingURL=chunk-
|
|
7074
|
+
//# sourceMappingURL=chunk-TLSIHIY2.js.map
|
|
7075
|
+
//# sourceMappingURL=chunk-TLSIHIY2.js.map
|