@azuro-org/toolkit 5.0.0-beta.5 → 5.0.0-beta.6

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.
@@ -3,6 +3,7 @@ export type GameInfoFragment = {
3
3
  __typename?: 'Game';
4
4
  id: string;
5
5
  gameId: string;
6
+ slug: string;
6
7
  title: string;
7
8
  startsAt: string;
8
9
  state: Types.GameState;
@@ -8,6 +8,7 @@ export type GameQuery = {
8
8
  __typename?: 'Game';
9
9
  id: string;
10
10
  gameId: string;
11
+ slug: string;
11
12
  title: string;
12
13
  startsAt: string;
13
14
  state: Types.GameState;
@@ -12,6 +12,7 @@ export type GamesQuery = {
12
12
  __typename?: 'Game';
13
13
  id: string;
14
14
  gameId: string;
15
+ slug: string;
15
16
  title: string;
16
17
  startsAt: string;
17
18
  state: Types.GameState;
@@ -16,6 +16,10 @@ export type NavigationQuery = {
16
16
  activeGamesCount: number;
17
17
  activeLiveGamesCount: number;
18
18
  activePrematchGamesCount: number;
19
+ sporthub: {
20
+ __typename?: 'SportHub';
21
+ id: string;
22
+ };
19
23
  countries: Array<{
20
24
  __typename?: 'Country';
21
25
  id: string;
@@ -31,6 +31,7 @@ export type SportsQuery = {
31
31
  __typename?: 'Game';
32
32
  id: string;
33
33
  gameId: string;
34
+ slug: string;
34
35
  title: string;
35
36
  startsAt: string;
36
37
  state: Types.GameState;
@@ -14,6 +14,10 @@ export type SportsNavigationQuery = {
14
14
  activeGamesCount: number;
15
15
  activeLiveGamesCount: number;
16
16
  activePrematchGamesCount: number;
17
+ sporthub: {
18
+ __typename?: 'SportHub';
19
+ id: string;
20
+ };
17
21
  }>;
18
22
  };
19
23
  export declare const SportsNavigationDocument: import("graphql/language/ast").DocumentNode;
package/dist/index.js CHANGED
@@ -5130,6 +5130,7 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5130
5130
  fragment GameInfo on Game {
5131
5131
  id
5132
5132
  gameId
5133
+ slug
5133
5134
  title
5134
5135
  startsAt
5135
5136
  state
@@ -5209,6 +5210,9 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5209
5210
  slug
5210
5211
  name
5211
5212
  sportId
5213
+ sporthub {
5214
+ id
5215
+ }
5212
5216
  activeGamesCount
5213
5217
  activeLiveGamesCount
5214
5218
  activePrematchGamesCount
@@ -5234,7 +5238,12 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5234
5238
  }
5235
5239
  `;const SportsDocument = gql `
5236
5240
  query Sports($first: Int, $sportFilter: Sport_filter, $countryFilter: Country_filter, $leagueFilter: League_filter, $gameFilter: Game_filter, $gameOrderBy: Game_orderBy, $gameOrderDirection: OrderDirection) {
5237
- sports(where: $sportFilter, subgraphError: allow) {
5241
+ sports(
5242
+ where: $sportFilter
5243
+ orderBy: turnover
5244
+ orderDirection: desc
5245
+ subgraphError: allow
5246
+ ) {
5238
5247
  id
5239
5248
  slug
5240
5249
  name
@@ -5267,6 +5276,9 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5267
5276
  slug
5268
5277
  name
5269
5278
  sportId
5279
+ sporthub {
5280
+ id
5281
+ }
5270
5282
  activeGamesCount
5271
5283
  activeLiveGamesCount
5272
5284
  activePrematchGamesCount
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azuro-org/toolkit",
3
- "version": "5.0.0-beta.5",
3
+ "version": "5.0.0-beta.6",
4
4
  "description": "Set of helpers to work with Azuro protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",