@smartico/public-api 0.0.61 → 0.0.63
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/dist/Core/PublicLabelSettings.d.ts +1 -0
- package/dist/MiniGames/SAWTemplate.d.ts +1 -0
- package/dist/Store/StoreItemPublicMeta.d.ts +1 -0
- package/dist/WSAPI/WSAPITypes.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +2 -0
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Core/PublicLabelSettings.ts +1 -0
- package/src/MiniGames/SAWGetTemplatesResponse.ts +2 -0
- package/src/MiniGames/SAWTemplate.ts +2 -0
- package/src/Store/StoreItemPublicMeta.ts +2 -1
- package/src/WSAPI/WSAPITypes.ts +3 -0
package/package.json
CHANGED
|
@@ -23,6 +23,7 @@ export enum PublicLabelSettings {
|
|
|
23
23
|
GAMIFICATION_UI_LEVEL_IMAGE_DESK = "GAMIFICATION_UI_LEVEL_IMAGE_DESK",
|
|
24
24
|
|
|
25
25
|
GAMIFICATION_LEVELS_LOGIC2 = "GAMIFICATION_LEVELS_LOGIC2",
|
|
26
|
+
GAMIFICATION_LEVELS_LOGIC3 = "GAMIFICATION_LEVELS_LOGIC2",
|
|
26
27
|
|
|
27
28
|
AVATAR_CUSTOM_IMAGE_MAX_ID = "AVATAR_CUSTOM_IMAGE_MAX_ID",
|
|
28
29
|
AVATAR_CUSTOM_IMAGE_FOLDER = "AVATAR_CUSTOM_IMAGE_FOLDER",
|
|
@@ -38,6 +38,8 @@ 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,
|
|
42
|
+
|
|
41
43
|
prizes: r.prizes.map( p => {
|
|
42
44
|
const y: TMiniGamePrize = {
|
|
43
45
|
id: p.saw_prize_id,
|
package/src/WSAPI/WSAPITypes.ts
CHANGED
|
@@ -59,6 +59,9 @@ export interface TMiniGameTemplate {
|
|
|
59
59
|
// in case of charging type 'Spin attempts', shows the current number of spin attempts that user has
|
|
60
60
|
spin_count?: number;
|
|
61
61
|
|
|
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;
|
|
64
|
+
|
|
62
65
|
|
|
63
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 */
|
|
64
67
|
over_limit_message: string;
|