@smartico/public-api 0.0.160 → 0.0.162

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.
@@ -1,4 +1,4 @@
1
- import { ProtocolMessage } from 'src/Base/ProtocolMessage';
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
2
  export interface SAWEventSawPush extends ProtocolMessage {
3
3
  pending_message_id: number;
4
4
  saw_template_id: number;
@@ -9,5 +9,6 @@ export interface SAWPrize {
9
9
  place_to?: number;
10
10
  sawUniqueWinId?: string;
11
11
  pool?: number;
12
+ pool_initial?: number;
12
13
  wins_count?: number;
13
14
  }
@@ -28,6 +28,7 @@ export interface TMiniGamePrize {
28
28
  acknowledge_dp: string;
29
29
  acknowledge_action_title: string;
30
30
  pool?: number;
31
+ pool_initial?: number;
31
32
  wins_count?: number;
32
33
  }
33
34
  /**
package/dist/index.js CHANGED
@@ -390,6 +390,7 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
390
390
  acknowledge_dp: p.saw_prize_ui_definition.acknowledge_dp,
391
391
  acknowledge_action_title: p.saw_prize_ui_definition.acknowledge_action_title,
392
392
  pool: p.pool,
393
+ pool_initial: p.pool_initial,
393
394
  wins_count: p.wins_count
394
395
  };
395
396
  return y;
@@ -2495,7 +2496,7 @@ var SmarticoAPI = /*#__PURE__*/function () {
2495
2496
  }
2496
2497
  });
2497
2498
  }, function (e) {
2498
- _this.logger.error("Failed to make request to smartico channel, L2. " + e.message, {
2499
+ _this.logger.warn("Failed to make request to smartico channel, L2. " + e.message, {
2499
2500
  url: _this.publicUrl,
2500
2501
  request: message,
2501
2502
  error: e.message