@smartico/public-api 0.0.213 → 0.0.214
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/SAWTemplate.d.ts +1 -0
- package/dist/MiniGames/SAWWinningHistoryResponse.d.ts +1 -0
- package/dist/WSAPI/WSAPITypes.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -0
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/MiniGames/SAWGetTemplatesResponse.ts +1 -0
- package/src/MiniGames/SAWTemplate.ts +1 -0
- package/src/MiniGames/SAWWinningHistoryResponse.ts +1 -0
- package/src/WSAPI/WSAPITypes.ts +2 -0
|
@@ -3,6 +3,7 @@ import { TSawHistory } from "../WSAPI/WSAPITypes";
|
|
|
3
3
|
import { SAWTemplate } from "./SAWTemplate";
|
|
4
4
|
export interface SAWWinningHistoryResponse extends ProtocolResponse {
|
|
5
5
|
prizes: SAWPrizesHistory[];
|
|
6
|
+
hasMore: boolean;
|
|
6
7
|
}
|
|
7
8
|
export interface SAWPrizesHistory {
|
|
8
9
|
template: SAWTemplate;
|
|
@@ -151,6 +151,7 @@ export interface TMiniGameTemplate {
|
|
|
151
151
|
custom_section_id?: number;
|
|
152
152
|
/** The UI definition of the mini-game */
|
|
153
153
|
saw_template_ui_definition: SAWTemplateUI;
|
|
154
|
+
show_prize_history?: boolean;
|
|
154
155
|
}
|
|
155
156
|
/**
|
|
156
157
|
* TUser describes the information of the user
|
package/dist/index.js
CHANGED
|
@@ -411,6 +411,7 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
|
|
|
411
411
|
steps_to_finish_game: r.saw_template_ui_definition.steps_to_finish_game,
|
|
412
412
|
custom_section_id: r.saw_template_ui_definition.custom_section_id,
|
|
413
413
|
saw_template_ui_definition: r.saw_template_ui_definition,
|
|
414
|
+
show_prize_history: r.show_prize_history,
|
|
414
415
|
prizes: r.prizes.map(function (p) {
|
|
415
416
|
var y = {
|
|
416
417
|
id: p.saw_prize_id,
|