@smartico/public-api 0.0.264 → 0.0.266

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.
@@ -18,7 +18,7 @@ ___
18
18
 
19
19
  • **jp\_type\_id**: [`JackpotType`](../enums/JackpotType.md)
20
20
 
21
- type of jackpot logic
21
+ Type of jackpot logic
22
22
 
23
23
  ___
24
24
 
@@ -34,7 +34,7 @@ ___
34
34
 
35
35
  • **jp\_currency**: `string`
36
36
 
37
- base currency of the jackpot
37
+ Base currency of the jackpot
38
38
 
39
39
  ___
40
40
 
@@ -42,15 +42,7 @@ ___
42
42
 
43
43
  • **user\_currency**: `string`
44
44
 
45
- wallet currency of currently logged in user
46
-
47
- ___
48
-
49
- ### related\_games
50
-
51
- • `Optional` **related\_games**: [`AchRelatedGame`](AchRelatedGame.md)[]
52
-
53
- list of related games that are eligible for the jackpot
45
+ Wallet currency of currently logged in user
54
46
 
55
47
  ___
56
48
 
@@ -58,7 +50,7 @@ ___
58
50
 
59
51
  • **contribution\_type**: [`JackpotContributionType`](../enums/JackpotContributionType.md)
60
52
 
61
- type of the user contribution to the jackpot
53
+ Type of the user contribution to the jackpot
62
54
 
63
55
  ___
64
56
 
@@ -66,7 +58,7 @@ ___
66
58
 
67
59
  • **contribution\_value**: `number`
68
60
 
69
- value of the user contribution. Fixed amount or percentage of bet depending on the contribution type
61
+ Value of the user contribution. Fixed amount or percentage of bet depending on the contribution type
70
62
 
71
63
  ___
72
64
 
@@ -74,7 +66,7 @@ ___
74
66
 
75
67
  • **pot**: [`JackpotPot`](JackpotPot.md)
76
68
 
77
- information of current value of the jackpot
69
+ Information of current value of the jackpot
78
70
 
79
71
  ___
80
72
 
@@ -82,7 +74,7 @@ ___
82
74
 
83
75
  • **is\_opted\_in**: `boolean`
84
76
 
85
- indication if the current user is opted in to the jackpot
77
+ Indication if the current user is opted in to the jackpot
86
78
 
87
79
  ___
88
80
 
@@ -90,7 +82,7 @@ ___
90
82
 
91
83
  • **ach\_related\_game\_allow\_all**: `boolean`
92
84
 
93
- indicates whether all games are eligible for the jackpot
85
+ Indicates whether all games are eligible for the jackpot
94
86
 
95
87
  ___
96
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.264",
3
+ "version": "0.0.266",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,25 +12,23 @@ import { JackpotType } from './JackpotType';
12
12
  interface JackpotDetails {
13
13
  /** ID of the jackpot template */
14
14
  jp_template_id: number;
15
- /** type of jackpot logic */
15
+ /** Type of jackpot logic */
16
16
  jp_type_id: JackpotType;
17
17
  /** UI information of jackpot, like name, description, etc. */
18
18
  jp_public_meta: JackpotPublicMeta;
19
- /** base currency of the jackpot */
19
+ /** Base currency of the jackpot */
20
20
  jp_currency: string;
21
- /** wallet currency of currently logged in user */
21
+ /** Wallet currency of currently logged in user */
22
22
  user_currency: string;
23
- /** list of related games that are eligible for the jackpot */
24
- related_games?: AchRelatedGame[];
25
- /** type of the user contribution to the jackpot */
23
+ /** Type of the user contribution to the jackpot */
26
24
  contribution_type: JackpotContributionType;
27
- /** value of the user contribution. Fixed amount or percentage of bet depending on the contribution type */
25
+ /** Value of the user contribution. Fixed amount or percentage of bet depending on the contribution type */
28
26
  contribution_value: number;
29
- /** information of current value of the jackpot */
27
+ /** Information of current value of the jackpot */
30
28
  pot: JackpotPot;
31
- /** indication if the current user is opted in to the jackpot */
29
+ /** Indication if the current user is opted in to the jackpot */
32
30
  is_opted_in: boolean;
33
- /** indicates whether all games are eligible for the jackpot */
31
+ /** Indicates whether all games are eligible for the jackpot */
34
32
  ach_related_game_allow_all: boolean;
35
33
  /** The number of users who have opted in to participate in the jackpot */
36
34
  registration_count: number;
@@ -484,8 +484,8 @@ declare enum TournamentRegistrationType {
484
484
  BUY_IN_POINTS = 3,
485
485
  MANUAL_APPROVAL = 4,
486
486
  REQUIRES_QUALIFICATION = 5,
487
- BUY_IN_GEMS = 15,
488
- BUY_IN_DIAMONDS = 16,
487
+ BUY_IN_GEMS = 6,
488
+ BUY_IN_DIAMONDS = 7,
489
489
  }
490
490
  /*
491
491
  AUTO – The user is automatically registered upon their first qualifying action; no manual action is required.
@@ -1091,7 +1091,7 @@ export class WSAPI {
1091
1091
  jp_template_id?: number;
1092
1092
  }): Promise<JackpotWinnerHistory[]> {
1093
1093
  return OCache.use(
1094
- onUpdateContextKey.JackpotWinners,
1094
+ onUpdateContextKey.JackpotWinners + jp_template_id,
1095
1095
  ECacheContext.WSAPI,
1096
1096
  () => this.api.getJackpotWinnersT(null, limit, offset, jp_template_id),
1097
1097
  JACKPOT_WINNERS_CACHE_SEC,