@vixoniccom/footbal-score 1.2.1 → 1.3.0-beta.0

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,18 @@
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.3.0-beta.0](https://github.com/Vixonic/store-football-score/compare/v1.2.1...v1.3.0-beta.0) (2025-06-05)
6
+
7
+
8
+ ### Features
9
+
10
+ * world club league and gold concacaf league were added to the app ([8691a3b](https://github.com/Vixonic/store-football-score/commit/8691a3bf06f3f54cf8450cbe7d8f208d946d38d9))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * football api was updated ([98a864a](https://github.com/Vixonic/store-football-score/commit/98a864a9dde698477b2c89118128a3f8f3ba4640))
16
+
5
17
  ### [1.2.1](https://bitbucket.org/vixonic_dev/football-score/compare/v1.2.1-beta.1...v1.2.1) (2024-06-26)
6
18
 
7
19
  ### [1.2.1-beta.1](https://bitbucket.org/vixonic_dev/football-score/compare/v1.2.1-beta.0...v1.2.1-beta.1) (2024-06-25)
package/build.zip CHANGED
Binary file
@@ -28,6 +28,14 @@
28
28
  {
29
29
  "label": "Euro Copa",
30
30
  "value": "4"
31
+ },
32
+ {
33
+ "label": "Copa Oro (Concacaf)",
34
+ "value": "22"
35
+ },
36
+ {
37
+ "label": "Mundial de Clubes",
38
+ "value": "15"
31
39
  }
32
40
  ]
33
41
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixoniccom/footbal-score",
3
3
  "alias": "Resultados Deportivos",
4
- "version": "1.2.1",
4
+ "version": "1.3.0-beta.0",
5
5
  "description": "Muestra resultados en vivo de fútbol.",
6
6
  "main": "main.js",
7
7
  "author": "",
@@ -10,10 +10,10 @@ export const getFixture = async (league: string, yesterday?: boolean, tomorrow?:
10
10
  const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone
11
11
  const options = {
12
12
  method: 'GET',
13
- url: 'https://api-football-v1.p.rapidapi.com/v3/fixtures',
14
- params: { from, to, league: league, season: `${year}`, timezone: `${timezone}` },
13
+ url: 'https://v3.football.api-sports.io/fixtures',
14
+ params: { from, to, league, season: `${year}`, timezone: `${timezone}` },
15
15
  headers: {
16
- 'X-RapidAPI-Key': 'a7e693d4c5msh72a2ff2020fd601p12dd08jsn0f168421d7bb',
16
+ 'X-RapidAPI-Key': '235e7dfd2220cd2347e61c8a53643fcc',
17
17
  'X-RapidAPI-Host': 'api-football-v1.p.rapidapi.com'
18
18
  }
19
19
  }
@@ -84,6 +84,12 @@ export const translateTeams = (team: string) => {
84
84
  return 'Corea del Sur'
85
85
  case 'Saudi Arabia':
86
86
  return 'Arabia Saudita'
87
+ case 'Domenican Republic':
88
+ return 'República Dominicana'
89
+ case 'Guadeloupe':
90
+ return 'Guadalupe'
91
+ case 'Suriname':
92
+ return 'Surinam'
87
93
  default:
88
94
  return team
89
95
  }