gatsby-matrix-theme 52.0.53 → 52.0.55
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
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [52.0.55](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.54...v52.0.55) (2025-01-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* sportstake and lotto ([5c71dc4](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/5c71dc4f4921deb311aed695d0a268467ab95c79))
|
|
7
|
+
|
|
8
|
+
## [52.0.54](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.53...v52.0.54) (2025-01-06)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* sportstake and lotto ([eee5cf1](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/commit/eee5cf1cba3e823a72768ee5f8052b3daae90164))
|
|
14
|
+
|
|
1
15
|
## [52.0.53](https://gitlab.com/g2m-gentoo/team-floyd/themes/matrix-theme/compare/v52.0.52...v52.0.53) (2025-01-03)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -166,7 +166,7 @@ export async function getAPIData(page, url, header, preview) {
|
|
|
166
166
|
|
|
167
167
|
if(!calendarData) return;
|
|
168
168
|
|
|
169
|
-
const prevMonth = (calendarData.length <= 2) ? await getCalendarData(query.lotteryName, date.getMonth(), date.getFullYear()) : [];
|
|
169
|
+
const prevMonth = (calendarData.length <= 2) ? await getCalendarData(query.lotteryName, date.getMonth() + 1, date.getFullYear()) : [];
|
|
170
170
|
|
|
171
171
|
const orderedPrevMonth = calendarData.length === 0 ?
|
|
172
172
|
[
|
|
@@ -211,7 +211,7 @@ export async function getAPIData(page, url, header, preview) {
|
|
|
211
211
|
|
|
212
212
|
if(!calendarData) return;
|
|
213
213
|
|
|
214
|
-
const prevMonth = (calendarData.length <= 2) ? await getCalendarData(query.lotteryName, date.getMonth(), date.getFullYear()) : [];
|
|
214
|
+
const prevMonth = (calendarData.length <= 2) ? await getCalendarData(query.lotteryName, date.getMonth() + 1, date.getFullYear()) : [];
|
|
215
215
|
|
|
216
216
|
const orderedPrevMonth = calendarData.length === 0 ?
|
|
217
217
|
[
|
|
@@ -300,7 +300,7 @@ export async function getAPIData(page, url, header, preview) {
|
|
|
300
300
|
types.map(async (type) => {
|
|
301
301
|
const data = await getLottoUKdata(true, false, type);
|
|
302
302
|
const calendarData = await getCalendarData(type, date.getMonth() + 1, date.getFullYear());
|
|
303
|
-
const prevMonth = (calendarData.length <= 2) ? await getCalendarData(type, date.getMonth(), date.getFullYear()) : [];
|
|
303
|
+
const prevMonth = (calendarData.length <= 2) ? await getCalendarData(type, date.getMonth() + 1, date.getFullYear()) : [];
|
|
304
304
|
|
|
305
305
|
const reorderedDates = [
|
|
306
306
|
...calendarData,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generatedAt":
|
|
1
|
+
{"generatedAt":1736167897393,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"metaFramework":{"name":"Gatsby","packageName":"gatsby","version":"5.13.6"},"monorepo":"Workspaces","packageManager":{"type":"yarn","version":"1.22.19"},"storybookVersion":"6.5.16","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.16"},"@storybook/builder-webpack5":{"version":"6.5.16"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/react":{"version":"6.5.16"}},"framework":{"name":"react"},"addons":{"@storybook/addon-links":{"version":"6.5.16"},"@storybook/addon-essentials":{"version":"6.5.16"}}}
|