@d-mok/quasar-app-extension-quasar-axe 2.1.113 → 2.1.114

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-mok/quasar-app-extension-quasar-axe",
3
- "version": "2.1.113",
3
+ "version": "2.1.114",
4
4
  "description": "A Quasar App Extension",
5
5
  "author": "d-mok <49301824+d-mok@users.noreply.github.com>",
6
6
  "license": "MIT",
@@ -9,12 +9,12 @@ export async function fetchJSON(
9
9
  body = undefined,
10
10
  withHeaderApplicationJson = true,
11
11
  }: {
12
- method: 'GET' | 'POST'
12
+ method?: 'GET' | 'POST'
13
13
  headers?: Record<string, string>
14
14
  query?: Record<string, string | string[]>
15
15
  body?: Record<string, any>
16
16
  withHeaderApplicationJson?: boolean
17
- }
17
+ } = {}
18
18
  ): Promise<any> {
19
19
  const urlObject = new URL(url)
20
20
  for (const key in query) {