@vixoniccom/footbal-score 1.4.5 → 1.4.6-dev.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 +2 -0
- package/build/main.js +1 -1
- package/build/main.js.LICENSE.txt +14 -12
- package/build/test/parameters.json +4 -4
- package/build.zip +0 -0
- package/package.json +5 -5
- package/src/helpers/getFixture.ts +8 -1
- package/src/test/parameters.json +4 -4
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
/*!
|
|
2
8
|
localForage -- Offline Storage, Improved
|
|
3
9
|
Version 1.10.0
|
|
@@ -14,9 +20,8 @@
|
|
|
14
20
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
15
21
|
*/
|
|
16
22
|
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* react-dom.production.min.js
|
|
23
|
+
/** @license React v0.20.2
|
|
24
|
+
* scheduler.production.min.js
|
|
20
25
|
*
|
|
21
26
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
27
|
*
|
|
@@ -24,9 +29,8 @@
|
|
|
24
29
|
* LICENSE file in the root directory of this source tree.
|
|
25
30
|
*/
|
|
26
31
|
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* react-jsx-runtime.production.min.js
|
|
32
|
+
/** @license React v17.0.2
|
|
33
|
+
* react-dom.production.min.js
|
|
30
34
|
*
|
|
31
35
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
32
36
|
*
|
|
@@ -34,9 +38,8 @@
|
|
|
34
38
|
* LICENSE file in the root directory of this source tree.
|
|
35
39
|
*/
|
|
36
40
|
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* react.production.min.js
|
|
41
|
+
/** @license React v17.0.2
|
|
42
|
+
* react-jsx-runtime.production.min.js
|
|
40
43
|
*
|
|
41
44
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
42
45
|
*
|
|
@@ -44,9 +47,8 @@
|
|
|
44
47
|
* LICENSE file in the root directory of this source tree.
|
|
45
48
|
*/
|
|
46
49
|
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* scheduler.production.min.js
|
|
50
|
+
/** @license React v17.0.2
|
|
51
|
+
* react.production.min.js
|
|
50
52
|
*
|
|
51
53
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
52
54
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"parameters": {
|
|
3
3
|
"league": 1,
|
|
4
|
-
"timeStart": "
|
|
5
|
-
"timeEnd": "
|
|
6
|
-
"matchesYesterday":
|
|
7
|
-
"matchesTomorrow":
|
|
4
|
+
"timeStart": "10 am",
|
|
5
|
+
"timeEnd": "1 am",
|
|
6
|
+
"matchesYesterday": false,
|
|
7
|
+
"matchesTomorrow": false,
|
|
8
8
|
"itemsPerPage": 2
|
|
9
9
|
}
|
|
10
10
|
}
|
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.4.
|
|
4
|
+
"version": "1.4.6-dev.0",
|
|
5
5
|
"description": "Muestra resultados en vivo de fútbol.",
|
|
6
6
|
"main": "main.js",
|
|
7
7
|
"author": "",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"axios": "^1.6.0",
|
|
21
21
|
"localforage": "^1.10.0",
|
|
22
22
|
"moment": "^2.29.3",
|
|
23
|
-
"react": "^
|
|
24
|
-
"react-dom": "^
|
|
23
|
+
"react": "^17.0.2",
|
|
24
|
+
"react-dom": "^17.0.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@types/react": "^
|
|
28
|
-
"@types/react-dom": "^
|
|
27
|
+
"@types/react": "^17.0.0",
|
|
28
|
+
"@types/react-dom": "^17.0.0",
|
|
29
29
|
"@vixoniccom/module-packager": "^2.13.0",
|
|
30
30
|
"@vixoniccom/modules": "^2.21.0",
|
|
31
31
|
"standard-version": "^9.5.0"
|
|
@@ -18,7 +18,14 @@ export const getFixture = async (league: string, yesterday?: boolean, tomorrow?:
|
|
|
18
18
|
const year = moment().format('YYYY')
|
|
19
19
|
const from = yesterday ? moment(Date.now() - MILLISECONDS_PER_DAY).format('YYYY-MM-DD') : today
|
|
20
20
|
const to = tomorrow ? moment(Date.now() + MILLISECONDS_PER_DAY).format('YYYY-MM-DD') : today
|
|
21
|
-
const timezone =
|
|
21
|
+
const timezone = (() => {
|
|
22
|
+
try {
|
|
23
|
+
const tz = Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
24
|
+
return tz
|
|
25
|
+
} catch (error) {
|
|
26
|
+
return 'UTC'
|
|
27
|
+
}
|
|
28
|
+
})()
|
|
22
29
|
|
|
23
30
|
const options = {
|
|
24
31
|
method: 'GET',
|
package/src/test/parameters.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"parameters": {
|
|
3
3
|
"league": 1,
|
|
4
|
-
"timeStart": "
|
|
5
|
-
"timeEnd": "
|
|
6
|
-
"matchesYesterday":
|
|
7
|
-
"matchesTomorrow":
|
|
4
|
+
"timeStart": "10 am",
|
|
5
|
+
"timeEnd": "1 am",
|
|
6
|
+
"matchesYesterday": false,
|
|
7
|
+
"matchesTomorrow": false,
|
|
8
8
|
"itemsPerPage": 2
|
|
9
9
|
}
|
|
10
10
|
}
|