@dargmuesli/nuxt-vio 13.2.3 → 13.2.4

Sign up to get free protection for your applications and to get access to all the features.
package/app.config.ts CHANGED
@@ -59,5 +59,5 @@ export type AppConfig = {
59
59
  }
60
60
 
61
61
  declare module 'nuxt/schema' {
62
- interface AppConfigInput extends AppConfig {}
62
+ interface AppConfigInput extends AppConfig {} // eslint-disable-line @typescript-eslint/no-empty-object-type
63
63
  }
@@ -26,6 +26,7 @@
26
26
 
27
27
  <script setup lang="ts">
28
28
  import type { NuxtLinkProps } from '#app'
29
+ import { append } from '../../../utils/utils' // TODO: wait for autoimport to be fixed and remove this import
29
30
 
30
31
  interface Props {
31
32
  ariaLabel?: string
@@ -28,6 +28,7 @@ const copy = async (string: string) => {
28
28
  await copyText(string)
29
29
  showToast({ title: t('donationUrlCopySuccess') })
30
30
  } catch (error: unknown) {
31
+ console.error(error)
31
32
  alert(t('donationUrlCopyError'))
32
33
  }
33
34
  }
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "dependencies": {
3
- "@dargmuesli/nuxt-cookie-control": "8.4.6",
3
+ "@dargmuesli/nuxt-cookie-control": "8.4.7",
4
4
  "@eslint/compat": "1.1.1",
5
5
  "@heroicons/vue": "2.1.5",
6
6
  "@http-util/status-i18n": "0.8.1",
7
7
  "@intlify/eslint-plugin-vue-i18n": "3.0.0",
8
8
  "@nuxt/devtools": "1.3.9",
9
- "@nuxt/eslint": "0.4.0",
9
+ "@nuxt/eslint": "0.5.0",
10
10
  "@nuxt/image": "1.7.0",
11
11
  "@nuxtjs/color-mode": "3.4.2",
12
12
  "@nuxtjs/html-validator": "1.8.2",
13
13
  "@nuxtjs/i18n": "8.3.0",
14
- "@nuxtjs/seo": "2.0.0-rc.16",
14
+ "@nuxtjs/seo": "2.0.0-rc.18",
15
15
  "@nuxtjs/tailwindcss": "6.12.1",
16
- "@pinia/nuxt": "0.5.2",
16
+ "@pinia/nuxt": "0.5.3",
17
17
  "@tailwindcss/forms": "0.5.7",
18
- "@tailwindcss/typography": "0.5.13",
18
+ "@tailwindcss/typography": "0.5.14",
19
19
  "@types/lodash-es": "4.17.12",
20
20
  "@urql/core": "5.0.5",
21
21
  "@vuelidate/core": "2.0.3",
@@ -46,7 +46,7 @@
46
46
  "jiti": "1.21.6",
47
47
  "lodash-es": "4.17.21",
48
48
  "nuxt": "3.12.4",
49
- "pinia": "2.2.0",
49
+ "pinia": "2.2.1",
50
50
  "prettier": "3.3.3",
51
51
  "prettier-plugin-tailwindcss": "0.6.5",
52
52
  "serve": "14.2.3",
@@ -55,10 +55,10 @@
55
55
  "stylelint-config-recommended-vue": "1.5.0",
56
56
  "stylelint-config-standard": "36.0.1",
57
57
  "stylelint-no-unsupported-browser-features": "8.0.1",
58
- "tailwindcss": "3.4.7",
58
+ "tailwindcss": "3.4.8",
59
59
  "unhead": "1.9.16",
60
- "vue": "3.4.35",
61
- "vue-router": "4.4.2"
60
+ "vue": "3.4.36",
61
+ "vue-router": "4.4.3"
62
62
  },
63
63
  "engines": {
64
64
  "node": "20"
@@ -87,8 +87,8 @@
87
87
  "name": "@dargmuesli/nuxt-vio",
88
88
  "peerDependencies": {
89
89
  "nuxt": "3.12.4",
90
- "vue": "3.4.35",
91
- "vue-router": "4.4.2"
90
+ "vue": "3.4.36",
91
+ "vue-router": "4.4.3"
92
92
  },
93
93
  "publishConfig": {
94
94
  "access": "public"
@@ -116,5 +116,5 @@
116
116
  "start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
117
117
  },
118
118
  "type": "module",
119
- "version": "13.2.3"
119
+ "version": "13.2.4"
120
120
  }
package/utils/auth.ts CHANGED
@@ -65,6 +65,7 @@ export const jwtStore = async ({
65
65
  ...(jwt ? { headers: { Authorization: `Bearer ${jwt}` } } : {}),
66
66
  })
67
67
  } catch (error: unknown) {
68
+ console.error(error)
68
69
  return Promise.reject(Error('Authentication api call failed.'))
69
70
  }
70
71
  }
@@ -1,7 +1,6 @@
1
1
  import type { CombinedError } from '@urql/core'
2
- import { type H3Event } from 'h3'
3
-
4
- import { type Ref } from 'vue'
2
+ import type { H3Event } from 'h3'
3
+ import type { Ref } from 'vue'
5
4
 
6
5
  import type { ApiData, BackendError } from '../types/api'
7
6
 
package/utils/utils.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type RouteLocationRaw } from '#vue-router'
1
+ import type { RouteLocationRaw } from '#vue-router'
2
2
 
3
3
  export const append = (path: string, pathToAppend?: RouteLocationRaw) =>
4
4
  path + (path.endsWith('/') ? '' : '/') + (pathToAppend ?? '')