@smartico/public-api 0.0.178 → 0.0.179

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.178",
3
+ "version": "0.0.179",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -29,6 +29,7 @@ export const quizNoReplacementText = '{no}';
29
29
  export const quizOddReplacementText = '{odd}';
30
30
  export const quizEvenReplacementText = '{even}';
31
31
  export const quizOrReplacementText = '{or}';
32
+ export const quizNoGoalsReplacementText = '{quiz_no_goals}';
32
33
 
33
34
  export const quizAnswersTrKeys = {
34
35
  [quizDrawReplacementText]: 'quizAnswer_draw',
@@ -37,4 +38,5 @@ export const quizAnswersTrKeys = {
37
38
  [quizOddReplacementText]: 'quizAnswer_odd',
38
39
  [quizEvenReplacementText]: 'quizAnswer_even',
39
40
  [quizOrReplacementText]: 'quizAnswer_or',
41
+ [quizNoGoalsReplacementText]: 'quizAnswer_no_goals',
40
42
  };
@@ -4,6 +4,7 @@ import {
4
4
  quizAnswerHomeTeamReplacementText,
5
5
  quizDrawReplacementText,
6
6
  quizEvenReplacementText,
7
+ quizNoGoalsReplacementText,
7
8
  quizNoReplacementText,
8
9
  quizOddReplacementText,
9
10
  quizOrReplacementText,
@@ -22,6 +23,7 @@ const homeAwayAnswers = [
22
23
  ];
23
24
 
24
25
  const homeAwayDrawAnswers = [...homeAwayAnswers, { text: quizDrawReplacementText, value: QuizAnswersValueType.Draw }];
26
+ const homeAwayNoGoalsAnswers = [...homeAwayAnswers, { text: quizNoGoalsReplacementText, value: QuizAnswersValueType.Draw }];
25
27
 
26
28
  export const marketsInfo = [
27
29
  {
@@ -80,13 +82,13 @@ export const marketsInfo = [
80
82
  type: SAWGPMarketType.FirstGoal,
81
83
  name: 'First Goal',
82
84
  question: { text: 'Who will score the first goal ?', trKey: 'quizQuestion_firstGoal' },
83
- answers: homeAwayDrawAnswers,
85
+ answers: homeAwayNoGoalsAnswers,
84
86
  },
85
87
  {
86
88
  type: SAWGPMarketType.LastGoal,
87
89
  name: 'Last Goal',
88
90
  question: { text: 'Who will score the last goal ?', trKey: 'quizQuestion_lastGoal' },
89
- answers: homeAwayAnswers,
91
+ answers: homeAwayNoGoalsAnswers,
90
92
  },
91
93
  {
92
94
  type: SAWGPMarketType.DoubleChance,