@smartico/public-api 0.0.317 → 0.0.318

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.
@@ -8,4 +8,5 @@ export interface SAWDoSpinResponse extends ProtocolResponse {
8
8
  jackpot_amount?: number;
9
9
  first_spin_in_period: number;
10
10
  visitor_win_uuid?: string;
11
+ spin_id?: number;
11
12
  }
@@ -0,0 +1,4 @@
1
+ export declare enum SAWExposeUserSpinId {
2
+ UserId = 1,
3
+ SpinId = 2
4
+ }
@@ -1,4 +1,5 @@
1
1
  import { SAWAskForUsername } from './SAWAskForUsername';
2
+ import { SAWExposeUserSpinId } from './SAWExposeUserSpinId';
2
3
  import { SAWGameDifficultyType } from './SAWGameDifficulty';
3
4
  import { SAWGameLayout } from './SAWGameLayout';
4
5
  import { SAWWheelLayout } from './SAWWheelLayout';
@@ -42,6 +43,7 @@ export interface SAWTemplateUI {
42
43
  disable_background_music?: boolean;
43
44
  custom_section_id?: number;
44
45
  only_in_custom_section?: boolean;
46
+ expose_user_spin_id?: SAWExposeUserSpinId;
45
47
  custom_data: any;
46
48
  placeholder1?: string;
47
49
  placeholder2?: string;
@@ -28,3 +28,4 @@ export * from './SAWGameLayout';
28
28
  export * from './PrizeModifiers';
29
29
  export * from './SAWWheelLayout';
30
30
  export * from './SAWGameDifficulty';
31
+ export * from './SAWExposeUserSpinId';
package/dist/index.js CHANGED
@@ -595,6 +595,12 @@ var SawGameDifficultyTypeNamed = function SawGameDifficultyTypeNamed(type) {
595
595
  return (_SAWGameDifficultyTyp = {}, _SAWGameDifficultyTyp[exports.SAWGameDifficultyType.EASY] = exports.SAWGameDifficultyTypeName.EASY, _SAWGameDifficultyTyp[exports.SAWGameDifficultyType.MEDIUM] = exports.SAWGameDifficultyTypeName.MEDIUM, _SAWGameDifficultyTyp[exports.SAWGameDifficultyType.HARD] = exports.SAWGameDifficultyTypeName.HARD, _SAWGameDifficultyTyp)[type];
596
596
  };
597
597
 
598
+ exports.SAWExposeUserSpinId = void 0;
599
+ (function (SAWExposeUserSpinId) {
600
+ SAWExposeUserSpinId[SAWExposeUserSpinId["UserId"] = 1] = "UserId";
601
+ SAWExposeUserSpinId[SAWExposeUserSpinId["SpinId"] = 2] = "SpinId";
602
+ })(exports.SAWExposeUserSpinId || (exports.SAWExposeUserSpinId = {}));
603
+
598
604
  var NodeCache = /*#__PURE__*/function () {
599
605
  function NodeCache() {
600
606
  var _this = this;