@opexa/portal-sdk 0.59.109 → 0.59.112

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/README.md CHANGED
@@ -1441,11 +1441,15 @@ function Page() {
1441
1441
  };
1442
1442
  ```
1443
1443
 
1444
- - `__games__next` - Retrieve the Wallet-backed game catalog. The optional
1445
- `search` value is applied to `displayName.contains`.
1444
+ - `_games__next` - Retrieve the Wallet-backed game catalog as normalized `Game`
1445
+ objects under `data._games`. The optional `search` value is applied to
1446
+ `displayName.contains`. `_games_next` and `__games__next` remain aliases.
1447
+ The SDK transformer excludes hidden, inactive, or incomplete games, uses the
1448
+ display name when available, and supplies a fallback thumbnail. The game ID
1449
+ is used as the launch/favorite `reference`; pagination metadata is preserved.
1446
1450
 
1447
1451
  ```ts
1448
- __games__next(input?: PlatformGamesInput): Promise<PlatformGamesReturn>
1452
+ _games__next(input?: PlatformGamesInput): Promise<PlatformGamesReturn>
1449
1453
  ```
1450
1454
 
1451
1455
  ```ts
@@ -1467,29 +1471,11 @@ function Page() {
1467
1471
  };
1468
1472
  }
1469
1473
 
1470
- interface PlatformGame {
1471
- id: string;
1472
- reference?: string | null;
1473
- name?: string | null;
1474
- displayName?: string | null;
1475
- type?: GameType | null;
1476
- provider?: GameProvider | null;
1477
- status: GameStatus;
1478
- hidden: boolean;
1479
- hasFreeBet: boolean;
1480
- hasJackpot: boolean;
1481
- returnToPlayer?: string | null;
1482
- minimumBet?: string | null;
1483
- maximumBet?: string | null;
1484
- image?: string | null;
1485
- groups: Array<{ id: string; name: string }>;
1486
- }
1487
-
1488
1474
  type PlatformGamesReturn =
1489
1475
  | {
1490
1476
  ok: true;
1491
1477
  data: {
1492
- platformGames: (PlatformGame & { cursor: string })[];
1478
+ _games: (Game & { cursor: string })[];
1493
1479
  totalCount: number;
1494
1480
  hasNextPage: boolean;
1495
1481
  endCursor?: string;
@@ -3404,7 +3404,7 @@ var WALLET_GAMES_QUERY = gql`
3404
3404
  }
3405
3405
  `;
3406
3406
  var _GAMES_NEXT_QUERY = gql`
3407
- query PlatformGames($first: Int, $after: Cursor, $filter: _GameFilterInput) {
3407
+ query _games($first: Int, $after: Cursor, $filter: _GameFilterInput) {
3408
3408
  _games(first: $first, after: $after, filter: $filter) {
3409
3409
  totalCount
3410
3410
  pageInfo {
@@ -3437,7 +3437,7 @@ var _GAMES_NEXT_QUERY = gql`
3437
3437
  }
3438
3438
  `;
3439
3439
  var _GAMES_NEXT_QUERY__STAGING = gql`
3440
- query PlatformGames($first: Int, $after: Cursor, $filter: _GameFilterInput) {
3440
+ query _games($first: Int, $after: Cursor, $filter: _GameFilterInput) {
3441
3441
  _games(first: $first, after: $after, filter: $filter) {
3442
3442
  totalCount
3443
3443
  pageInfo {
@@ -6994,5 +6994,5 @@ var ExtensionService = class {
6994
6994
  };
6995
6995
 
6996
6996
  export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint, isIOSPlatform };
6997
- //# sourceMappingURL=chunk-K6UZEYMR.js.map
6998
- //# sourceMappingURL=chunk-K6UZEYMR.js.map
6997
+ //# sourceMappingURL=chunk-DSBYVM5T.js.map
6998
+ //# sourceMappingURL=chunk-DSBYVM5T.js.map