@dargmuesli/nuxt-vio 1.10.1 → 1.10.3

Sign up to get free protection for your applications and to get access to all the features.
package/nuxt.config.ts CHANGED
@@ -12,6 +12,9 @@ const BASE_URL =
12
12
 
13
13
  // https://v3.nuxtjs.org/api/configuration/nuxt.config
14
14
  export default defineNuxtConfig({
15
+ alias: {
16
+ sweetalert2: 'sweetalert2', // TODO: remove (https://github.com/nuxt/nuxt/issues/19426)
17
+ },
15
18
  app: {
16
19
  head: {
17
20
  htmlAttrs: {
@@ -44,9 +47,6 @@ export default defineNuxtConfig({
44
47
  shim: false,
45
48
  strict: true,
46
49
  tsConfig: {
47
- compilerOptions: {
48
- esModuleInterop: true,
49
- },
50
50
  vueCompilerOptions: {
51
51
  htmlAttributes: [], // https://github.com/johnsoncodehk/volar/issues/1970#issuecomment-1276994634
52
52
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "1.10.1",
3
+ "version": "1.10.3",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/utils/modal.ts CHANGED
@@ -7,7 +7,7 @@ export const showToast = ({ title }: { title: string }) =>
7
7
  toast.addEventListener('mouseleave', Swal.resumeTimer)
8
8
  },
9
9
  icon: 'success',
10
- position: 'bottom',
10
+ position: 'bottom-right',
11
11
  showConfirmButton: false,
12
12
  timer: 3000,
13
13
  timerProgressBar: true,