@anweb/nuxt-ancore 1.4.2 → 1.4.4

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "AnCore",
3
3
  "configKey": "ancore",
4
- "version": "1.4.2",
4
+ "version": "1.4.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
package/dist/module.mjs CHANGED
@@ -28,7 +28,7 @@ const module = defineNuxtModule({
28
28
  const fileUrl = pathToFileURL(path).href;
29
29
  _options.i18n.resources[lng].translation = structuredClone((await import(fileUrl, { with: { type: 'json' } })).default);
30
30
  }
31
- addPlugin(resolve("./runtime/plugins/i18n.ts"));
31
+ addPlugin(resolve("./runtime/plugins/i18n"));
32
32
  }
33
33
  }
34
34
  });
@@ -1,4 +1 @@
1
- type TValue = string | number | boolean | undefined | null;
2
- export type TQueryObject = Record<string, TValue | TValue[]>;
3
- export declare const toQuery: (params: TQueryObject) => string;
4
- export {};
1
+ export declare const toQuery: <T extends object>(params: T) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anweb/nuxt-ancore",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "description": "AnCore Nuxt module",
5
5
  "repository": "https://github.com/ANLTD/ancore",
6
6
  "license": "MIT",