@vixoniccom/footbal-score 1.0.1-beta.5 → 1.0.1-beta.7

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.1-beta.7](https://gitlab.com/mandomedio/vixonic/football-score/compare/v1.0.1-beta.6...v1.0.1-beta.7) (2022-11-21)
6
+
7
+ ### [1.0.1-beta.6](https://gitlab.com/mandomedio/vixonic/football-score/compare/v1.0.1-beta.5...v1.0.1-beta.6) (2022-11-21)
8
+
5
9
  ### [1.0.1-beta.5](https://gitlab.com/mandomedio/vixonic/football-score/compare/v1.0.1-beta.4...v1.0.1-beta.5) (2022-11-21)
6
10
 
7
11
  ### [1.0.1-beta.4](https://gitlab.com/mandomedio/vixonic/football-score/compare/v1.0.1-beta.3...v1.0.1-beta.4) (2022-11-16)
package/build.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixoniccom/footbal-score",
3
3
  "alias": "Resultados Deportivos",
4
- "version": "1.0.1-beta.5",
4
+ "version": "1.0.1-beta.7",
5
5
  "description": "Muestra resultados en vivo de fútbol.",
6
6
  "main": "main.js",
7
7
  "author": "",
package/src/App.tsx CHANGED
@@ -29,6 +29,7 @@ export const App = ({ data, start }: Props) => {
29
29
 
30
30
  const getData = async () => {
31
31
  const data = await getFixture();
32
+ console.log("🚀 ~ file: App.tsx ~ line 32 ~ getData ~ data", data)
32
33
  setDataFixture(data);
33
34
  }
34
35
 
@@ -9,14 +9,26 @@ export const Status = ({
9
9
  let translateStatus: string = ''
10
10
  const { configureState } = useContext(ConfigureContext)
11
11
  const { parameters } = configureState
12
-
12
+
13
13
  switch (status) {
14
14
  case 'NS':
15
15
  translateStatus = 'Por iniciar'
16
16
  break
17
+ case '1H':
18
+ translateStatus = 'Primer tiempo'
19
+ break
20
+ case 'HT':
21
+ translateStatus = 'Medio tiempo '
22
+ break
23
+ case '2H':
24
+ translateStatus = 'Segundo tiempo'
25
+ break
17
26
  case 'FT':
18
27
  translateStatus = 'Finalizado'
19
28
  break
29
+ case 'P':
30
+ translateStatus = 'Penales'
31
+ break
20
32
  case 'LIVE':
21
33
  translateStatus = 'En vivo'
22
34
  break