@smartico/public-api 0.0.63 → 0.0.65

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.63",
3
+ "version": "0.0.65",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,4 +9,5 @@ export interface SAWDoSpinResponse extends ProtocolResponse {
9
9
  saw_prize_id: number;
10
10
  first_spin_in_period: number;
11
11
  visitor_win_uuid?: string;
12
+ next_available_spin_ts: number;
12
13
  };
@@ -38,7 +38,7 @@ export const SAWTemplatesTransform = (items: SAWTemplate[]): TMiniGameTemplate[]
38
38
  jackpot_current: r.jackpot_current,
39
39
  spin_count: r.spin_count,
40
40
 
41
- next_availabe_spin_ts: r.next_availabe_spin_ts,
41
+ next_available_spin_ts: r.next_available_spin_ts,
42
42
 
43
43
  prizes: r.prizes.map( p => {
44
44
  const y: TMiniGamePrize = {
@@ -26,7 +26,7 @@ export interface SAWTemplate {
26
26
  maxSpinsCount: number;
27
27
  maxSpinsPediodMs: number;
28
28
 
29
- next_availabe_spin_ts: number;
29
+ next_available_spin_ts: number;
30
30
 
31
31
  saw_skin_key: string;
32
32
  saw_skin_ui_definition: {
@@ -60,7 +60,7 @@ export interface TMiniGameTemplate {
60
60
  spin_count?: number;
61
61
 
62
62
  // if the game is limit to the number of spins that user can do during period of time, this property shows the epoch time in UTC when the next attempt will be available
63
- next_availabe_spin_ts: number;
63
+ next_available_spin_ts: number;
64
64
 
65
65
 
66
66
  /** The message that should be shown to the user when he cannot play the game, server rejected attempt with error code SAWSpinErrorCode.SAW_FAILED_MAX_SPINS_REACHED */