@vixoniccom/footbal-score 1.0.3-beta.0 → 1.0.3-beta.2

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.3-beta.2](https://bitbucket.org/vixonic_dev/football-score/compare/v1.0.3-beta.1...v1.0.3-beta.2) (2024-04-30)
6
+
7
+ ### [1.0.3-beta.1](https://bitbucket.org/vixonic_dev/football-score/compare/v1.0.3-beta.0...v1.0.3-beta.1) (2024-04-30)
8
+
5
9
  ### [1.0.3-beta.0](https://bitbucket.org/vixonic_dev/football-score/compare/v1.0.2...v1.0.3-beta.0) (2024-04-30)
6
10
 
7
11
  ### [1.0.2](https://gitlab.com/mandomedio/vixonic/football-score/compare/v1.0.2-beta.4...v1.0.2) (2022-12-07)
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.3-beta.0",
4
+ "version": "1.0.3-beta.2",
5
5
  "description": "Muestra resultados en vivo de fútbol.",
6
6
  "main": "main.js",
7
7
  "author": "",
package/src/App.tsx CHANGED
@@ -17,6 +17,7 @@ export const App = ({ data, start }: Props) => {
17
17
 
18
18
  const [dataFixture, setDataFixture] = useState([]);
19
19
  const [league, setLeague] = useState('');
20
+
20
21
 
21
22
  const { configureState, addConfiguration } = useContext(ConfigureContext)
22
23
 
@@ -3,6 +3,7 @@ const axios = require("axios");
3
3
 
4
4
  export const getFixture = async (league: string) => {
5
5
  const today = moment().format('YYYY-MM-DD')
6
+ console.log("🚀 ~ getFixture ~ today:", today)
6
7
  const year = moment().format('YYYY')
7
8
  const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone
8
9
  const options = {
@@ -16,7 +17,6 @@ export const getFixture = async (league: string) => {
16
17
  };
17
18
  try {
18
19
  const response = await axios.request(options)
19
- console.log("🚀 ~ getFixture ~ response:", response.data )
20
20
  return response.data.response
21
21
  } catch (error) {
22
22
  console.error(error);