@merkaly/nuxt 0.13.2 → 0.13.3

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/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.14.0"
6
6
  },
7
- "version": "0.13.2",
7
+ "version": "0.13.3",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
@@ -101,10 +101,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
101
101
  }>, {
102
102
  title: string;
103
103
  disabled: boolean;
104
- multiple: boolean;
105
104
  accept: string[];
106
105
  hint: string;
107
106
  maxSize: number;
107
+ multiple: boolean;
108
108
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
109
109
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
110
110
  declare const _default: typeof __VLS_export;
@@ -101,10 +101,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
101
101
  }>, {
102
102
  title: string;
103
103
  disabled: boolean;
104
- multiple: boolean;
105
104
  accept: string[];
106
105
  hint: string;
107
106
  maxSize: number;
107
+ multiple: boolean;
108
108
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
109
109
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
110
110
  declare const _default: typeof __VLS_export;
@@ -7,8 +7,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
7
7
  type: import("vue").PropType<string>;
8
8
  };
9
9
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- change: () => any;
11
10
  "update:modelValue": (value: string) => any;
11
+ change: () => any;
12
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  debounce: {
14
14
  type: NumberConstructor;
@@ -18,8 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
18
18
  type: import("vue").PropType<string>;
19
19
  };
20
20
  }>> & Readonly<{
21
- onChange?: (() => any) | undefined;
22
21
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
+ onChange?: (() => any) | undefined;
23
23
  }>, {
24
24
  debounce: number;
25
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -7,8 +7,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
7
7
  type: import("vue").PropType<string>;
8
8
  };
9
9
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- change: () => any;
11
10
  "update:modelValue": (value: string) => any;
11
+ change: () => any;
12
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  debounce: {
14
14
  type: NumberConstructor;
@@ -18,8 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
18
18
  type: import("vue").PropType<string>;
19
19
  };
20
20
  }>> & Readonly<{
21
- onChange?: (() => any) | undefined;
22
21
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
+ onChange?: (() => any) | undefined;
23
23
  }>, {
24
24
  debounce: number;
25
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -22,7 +22,7 @@ const resolveLoader = async (nuxtApp, loader) => {
22
22
  const result = await nuxtApp.runWithContext(loader);
23
23
  if (!isAdapter(result)) return result;
24
24
  if (result.loading.value) await until(result.loading).toBe(false);
25
- else await result.execute();
25
+ else await nuxtApp.runWithContext(() => result.execute());
26
26
  if (result.error.value) throw result.error.value;
27
27
  if (result.data.value == null) throw new Error("Empty response");
28
28
  return result.data.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merkaly/nuxt",
3
- "version": "0.13.2",
3
+ "version": "0.13.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/merkaly-io/nuxt.git"