@smartico/public-api 0.0.215 → 0.0.216
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/SAWPrizeUI.d.ts +1 -0
- package/dist/SmarticoLib/index.d.ts +1 -0
- package/dist/WSAPI/WSAPI.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/docs/classes/WSAPI.md +2 -2
- package/package.json +1 -1
- package/src/MiniGames/SAWPrizeUI.ts +1 -0
- package/src/SmarticoLib/index.ts +1 -0
- package/src/WSAPI/WSAPI.ts +1 -1
package/docs/classes/WSAPI.md
CHANGED
|
@@ -486,8 +486,8 @@ ___
|
|
|
486
486
|
Sends the acknowledge request with specific client_request_id from minigame history in order to claim prize
|
|
487
487
|
**Example**:
|
|
488
488
|
```
|
|
489
|
-
_smartico.api.miniGameWinAcknowledgeRequest('
|
|
490
|
-
|
|
489
|
+
_smartico.api.miniGameWinAcknowledgeRequest('2a189322-31bb-4119-b943-bx7868ff8dc3').then((result) => {
|
|
490
|
+
console.log(result);
|
|
491
491
|
});
|
|
492
492
|
```
|
|
493
493
|
|
package/package.json
CHANGED
|
@@ -6,6 +6,7 @@ export interface SAWPrizeUI {
|
|
|
6
6
|
position?: number; // for scratch card defines position of prize in the list
|
|
7
7
|
name: string;
|
|
8
8
|
name_original?: string; // keeps original name, how it came from the servers. This is needed for the Jackpot value replacemenet
|
|
9
|
+
hide_prize_popup: boolean; // if true, prize popup on Prize Drop will not be shown
|
|
9
10
|
aknowledge_message?: string;
|
|
10
11
|
sectors?: number[];
|
|
11
12
|
acknowledge_type?: SAWAcknowledgeType;
|
package/src/SmarticoLib/index.ts
CHANGED
package/src/WSAPI/WSAPI.ts
CHANGED
|
@@ -559,7 +559,7 @@ export class WSAPI {
|
|
|
559
559
|
* Sends the acknowledge request with specific client_request_id from minigame history in order to claim prize
|
|
560
560
|
* **Example**:
|
|
561
561
|
* ```
|
|
562
|
-
* _smartico.api.miniGameWinAcknowledgeRequest('
|
|
562
|
+
* _smartico.api.miniGameWinAcknowledgeRequest('2a189322-31bb-4119-b943-bx7868ff8dc3').then((result) => {
|
|
563
563
|
* console.log(result);
|
|
564
564
|
* });
|
|
565
565
|
* ```
|