@smartico/public-api 0.0.183 → 0.0.184
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/SAWPrize.d.ts +0 -2
- package/dist/MiniGames/SAWPrizeUI.d.ts +1 -1
- package/dist/WSAPI/WSAPI.d.ts +1 -1
- package/dist/WSAPI/WSAPITypes.d.ts +0 -2
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +2 -4
- package/dist/index.modern.mjs.map +1 -1
- package/docs/classes/WSAPI.md +1 -1
- package/docs/enums/SAWGameTypeName.md +12 -0
- package/docs/interfaces/TMiniGamePrize.md +18 -0
- package/package.json +1 -1
- package/src/MiniGames/SAWGetTemplatesResponse.ts +0 -2
- package/src/MiniGames/SAWPrize.ts +0 -2
- package/src/MiniGames/SAWPrizeUI.ts +1 -1
- package/src/WSAPI/WSAPI.ts +1 -1
- package/src/WSAPI/WSAPITypes.ts +0 -4
package/dist/WSAPI/WSAPI.d.ts
CHANGED
|
@@ -36,8 +36,6 @@ export interface TMiniGamePrize {
|
|
|
36
36
|
weekdays?: number[];
|
|
37
37
|
active_from_ts?: number;
|
|
38
38
|
active_till_ts?: number;
|
|
39
|
-
active_from?: string;
|
|
40
|
-
active_till?: string;
|
|
41
39
|
}
|
|
42
40
|
/**
|
|
43
41
|
* TMiniGamePlayResult describes the response of call to _smartico.api.playMiniGame(template_id) method
|
package/dist/index.js
CHANGED
|
@@ -420,9 +420,7 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
|
|
|
420
420
|
wins_count: p.wins_count,
|
|
421
421
|
weekdays: p.weekdays,
|
|
422
422
|
active_from_ts: p.active_from_ts,
|
|
423
|
-
active_till_ts: p.active_till_ts
|
|
424
|
-
active_from: p.active_from,
|
|
425
|
-
active_till: p.active_till
|
|
423
|
+
active_till_ts: p.active_till_ts
|
|
426
424
|
};
|
|
427
425
|
return y;
|
|
428
426
|
})
|
|
@@ -1308,7 +1306,7 @@ var WSAPI = /*#__PURE__*/function () {
|
|
|
1308
1306
|
*
|
|
1309
1307
|
* **Example**:
|
|
1310
1308
|
* ```
|
|
1311
|
-
* _smartico.api.getUserProfile(
|
|
1309
|
+
* _smartico.api.getUserProfile(result => {
|
|
1312
1310
|
* console.log(result);
|
|
1313
1311
|
* });
|
|
1314
1312
|
* ```
|