@smartico/public-api 0.0.184 → 0.0.185
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/MiniGames/SAWGameLayout.d.ts +4 -0
- package/dist/MiniGames/SAWPrize.d.ts +1 -0
- package/dist/MiniGames/SAWTemplateUI.d.ts +2 -0
- package/dist/WSAPI/WSAPITypes.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +3 -2
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TMiniGamePrize.md +6 -0
- package/package.json +1 -1
- package/src/MiniGames/SAWGameLayout.ts +4 -0
- package/src/MiniGames/SAWGetTemplatesResponse.ts +1 -0
- package/src/MiniGames/SAWPrize.ts +1 -0
- package/src/MiniGames/SAWTemplateUI.ts +2 -0
- package/src/SmarticoAPI.ts +1 -1
- package/src/WSAPI/WSAPITypes.ts +2 -0
package/dist/index.modern.mjs
CHANGED
|
@@ -408,7 +408,8 @@ const SAWTemplatesTransform = items => {
|
|
|
408
408
|
wins_count: p.wins_count,
|
|
409
409
|
weekdays: p.weekdays,
|
|
410
410
|
active_from_ts: p.active_from_ts,
|
|
411
|
-
active_till_ts: p.active_till_ts
|
|
411
|
+
active_till_ts: p.active_till_ts,
|
|
412
|
+
relative_period_timezone: p.relative_period_timezone
|
|
412
413
|
};
|
|
413
414
|
return y;
|
|
414
415
|
})
|
|
@@ -2597,7 +2598,7 @@ class SmarticoAPI {
|
|
|
2597
2598
|
if ((_response$userPositio = response.userPosition) != null && _response$userPositio.avatar_id) {
|
|
2598
2599
|
response.userPosition.avatar_url = CoreUtils.avatarUrl(response.userPosition.avatar_id, this.avatarDomain);
|
|
2599
2600
|
}
|
|
2600
|
-
if ((_response$tournamentI = response.tournamentInfo.players) != null && _response$tournamentI.length) {
|
|
2601
|
+
if ((_response$tournamentI = response.tournamentInfo) != null && (_response$tournamentI = _response$tournamentI.players) != null && _response$tournamentI.length) {
|
|
2601
2602
|
response.tournamentInfo.players.forEach(p => {
|
|
2602
2603
|
p.avatar_url = CoreUtils.avatarUrl(p.avatar_id, this.avatarDomain);
|
|
2603
2604
|
});
|