@azuro-org/toolkit 5.0.0 → 5.0.1

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.
@@ -10,6 +10,7 @@ export type GameBetsQuery = {
10
10
  rawAmount: string;
11
11
  rawPotentialPayout: string;
12
12
  result?: Types.BetResult | null;
13
+ status: Types.BetStatus;
13
14
  isCashedOut: boolean;
14
15
  selections: Array<{
15
16
  __typename?: 'Selection';
@@ -37,6 +38,7 @@ export type GameBetsQuery = {
37
38
  rawAmount: string;
38
39
  rawPotentialPayout: string;
39
40
  result?: Types.BetResult | null;
41
+ status: Types.BetStatus;
40
42
  isCashedOut: boolean;
41
43
  selections: Array<{
42
44
  __typename?: 'LiveSelection';
@@ -55,6 +57,7 @@ export type GameBetsQuery = {
55
57
  rawAmount: string;
56
58
  rawPotentialPayout: string;
57
59
  result?: Types.BetResult | null;
60
+ status: Types.BetStatus;
58
61
  isCashedOut: boolean;
59
62
  selections: Array<{
60
63
  __typename?: 'V3_Selection';
package/dist/index.js CHANGED
@@ -5372,6 +5372,7 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5372
5372
  rawAmount
5373
5373
  rawPotentialPayout
5374
5374
  result
5375
+ status
5375
5376
  isCashedOut
5376
5377
  selections {
5377
5378
  rawOdds
@@ -5393,6 +5394,7 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5393
5394
  rawAmount
5394
5395
  rawPotentialPayout
5395
5396
  result
5397
+ status
5396
5398
  isCashedOut
5397
5399
  selections {
5398
5400
  outcome {
@@ -5403,10 +5405,11 @@ ${LegacyLiveBetFragmentDoc}`;const GameBetsDocument = gql `
5403
5405
  }
5404
5406
  }
5405
5407
  }
5406
- v3Bets(where: {_gamesIds: [$gameId], actor: $actor}) {
5408
+ v3Bets(where: {_gamesIds_contains: [$gameId], actor: $actor}) {
5407
5409
  rawAmount
5408
5410
  rawPotentialPayout
5409
5411
  result
5412
+ status
5410
5413
  isCashedOut
5411
5414
  selections {
5412
5415
  rawOdds
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azuro-org/toolkit",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Set of helpers to work with Azuro protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",