@fullcalendar/google-calendar 7.0.0-beta.8 → 7.0.0-rc.1

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.
Files changed (3) hide show
  1. package/global.js +9 -2
  2. package/index.js +8 -1
  3. package/package.json +3 -3
package/global.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- FullCalendar Google Calendar Plugin v7.0.0-beta.8
2
+ FullCalendar Google Calendar Plugin v7.0.0-rc.1
3
3
  Docs & License: https://fullcalendar.io/docs/google-calendar
4
4
  (c) 2025 Adam Shaw
5
5
  */
@@ -115,7 +115,14 @@ Docs & License: https://fullcalendar.io/docs/google-calendar
115
115
  let params;
116
116
  let startStr = dateEnv.formatIso(range.start);
117
117
  let endStr = dateEnv.formatIso(range.end);
118
- params = Object.assign(Object.assign({}, (extraParams || {})), { key: apiKey, timeMin: startStr, timeMax: endStr, singleEvents: true, maxResults: 9999 });
118
+ params = {
119
+ ...(extraParams || {}),
120
+ key: apiKey,
121
+ timeMin: startStr,
122
+ timeMax: endStr,
123
+ singleEvents: true,
124
+ maxResults: 9999,
125
+ };
119
126
  if (dateEnv.timeZone !== 'local') {
120
127
  params.timeZone = dateEnv.timeZone;
121
128
  }
package/index.js CHANGED
@@ -71,7 +71,14 @@ function buildRequestParams(range, apiKey, extraParams, dateEnv) {
71
71
  let params;
72
72
  let startStr = dateEnv.formatIso(range.start);
73
73
  let endStr = dateEnv.formatIso(range.end);
74
- params = Object.assign(Object.assign({}, (extraParams || {})), { key: apiKey, timeMin: startStr, timeMax: endStr, singleEvents: true, maxResults: 9999 });
74
+ params = {
75
+ ...(extraParams || {}),
76
+ key: apiKey,
77
+ timeMin: startStr,
78
+ timeMax: endStr,
79
+ singleEvents: true,
80
+ maxResults: 9999,
81
+ };
75
82
  if (dateEnv.timeZone !== 'local') {
76
83
  params.timeZone = dateEnv.timeZone;
77
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullcalendar/google-calendar",
3
- "version": "7.0.0-beta.8",
3
+ "version": "7.0.0-rc.1",
4
4
  "title": "FullCalendar Google Calendar Plugin",
5
5
  "description": "Display events from a public Google Calendar feed",
6
6
  "homepage": "https://fullcalendar.io/docs/google-calendar",
@@ -12,8 +12,8 @@
12
12
  "google-calendar"
13
13
  ],
14
14
  "dependencies": {
15
- "@full-ui/headless-calendar": "7.0.0-beta.8",
16
- "@fullcalendar/core": "7.0.0-beta.8"
15
+ "@full-ui/headless-calendar": "7.0.0-rc.1",
16
+ "@fullcalendar/core": "7.0.0-rc.1"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "temporal-polyfill": "^0.3.2"