@smartico/public-api 0.0.168 → 0.0.169
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/UserProfile/UserProfile.d.ts +3 -0
- package/dist/UserProfile/index.d.ts +1 -0
- package/dist/WSAPI/WSAPI.d.ts +14 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +14 -1
- package/dist/index.modern.mjs.map +1 -1
- package/docs/classes/WSAPI.md +14 -1
- package/package.json +1 -1
- package/src/UserProfile/UserProfile.ts +5 -0
- package/src/UserProfile/index.ts +1 -0
- package/src/WSAPI/WSAPI.ts +15 -2
- package/src/index.ts +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './UserProfile';
|
package/dist/WSAPI/WSAPI.d.ts
CHANGED
|
@@ -253,12 +253,25 @@ export declare class WSAPI {
|
|
|
253
253
|
/**
|
|
254
254
|
* Plays the specified by template_id mini-game on behalf of user and returns prize_id or err_code
|
|
255
255
|
*
|
|
256
|
+
* **Example**:
|
|
257
|
+
* ```
|
|
258
|
+
* _smartico.api.playMiniGame(55).then((result) => {
|
|
259
|
+
* console.log(result);
|
|
260
|
+
* });
|
|
261
|
+
* ```
|
|
262
|
+
*
|
|
256
263
|
* **Visitor mode: not supported**
|
|
257
264
|
*/
|
|
258
265
|
playMiniGame(template_id: number): Promise<TMiniGamePlayResult>;
|
|
259
266
|
/**
|
|
260
|
-
* Plays the specified by template_id mini-game on behalf of user
|
|
267
|
+
* Plays the specified by template_id mini-game on behalf of user spin_count times and returns array of the prizes
|
|
261
268
|
*
|
|
269
|
+
* **Example**:
|
|
270
|
+
* ```
|
|
271
|
+
* _smartico.api.playMiniGameBatch(55, 10).then((result) => {
|
|
272
|
+
* console.log(result);
|
|
273
|
+
* });
|
|
274
|
+
* ```
|
|
262
275
|
* **Visitor mode: not supported**
|
|
263
276
|
*/
|
|
264
277
|
playMiniGameBatch(template_id: number, spin_count: number): Promise<TMiniGamePlayBatchResult[]>;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1679,6 +1679,13 @@ var WSAPI = /*#__PURE__*/function () {
|
|
|
1679
1679
|
/**
|
|
1680
1680
|
* Plays the specified by template_id mini-game on behalf of user and returns prize_id or err_code
|
|
1681
1681
|
*
|
|
1682
|
+
* **Example**:
|
|
1683
|
+
* ```
|
|
1684
|
+
* _smartico.api.playMiniGame(55).then((result) => {
|
|
1685
|
+
* console.log(result);
|
|
1686
|
+
* });
|
|
1687
|
+
* ```
|
|
1688
|
+
*
|
|
1682
1689
|
* **Visitor mode: not supported**
|
|
1683
1690
|
*/
|
|
1684
1691
|
;
|
|
@@ -1699,8 +1706,14 @@ var WSAPI = /*#__PURE__*/function () {
|
|
|
1699
1706
|
}
|
|
1700
1707
|
}
|
|
1701
1708
|
/**
|
|
1702
|
-
* Plays the specified by template_id mini-game on behalf of user
|
|
1709
|
+
* Plays the specified by template_id mini-game on behalf of user spin_count times and returns array of the prizes
|
|
1703
1710
|
*
|
|
1711
|
+
* **Example**:
|
|
1712
|
+
* ```
|
|
1713
|
+
* _smartico.api.playMiniGameBatch(55, 10).then((result) => {
|
|
1714
|
+
* console.log(result);
|
|
1715
|
+
* });
|
|
1716
|
+
* ```
|
|
1704
1717
|
* **Visitor mode: not supported**
|
|
1705
1718
|
*/
|
|
1706
1719
|
;
|