nuxt-users 1.49.0 → 1.49.1

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.0.0"
6
6
  },
7
- "version": "1.49.0",
7
+ "version": "1.49.1",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.3",
10
10
  "unbuild": "3.6.1"
@@ -1,8 +1,8 @@
1
1
  import { useState, useRuntimeConfig } from "#imports";
2
- const usersState = useState("users", () => []);
3
- const paginationState = useState("users-pagination", () => null);
4
2
  export const useUsers = () => {
5
3
  const { public: { nuxtUsers } } = useRuntimeConfig();
4
+ const usersState = useState("users", () => []);
5
+ const paginationState = useState("users-pagination", () => null);
6
6
  const loading = useState("users-loading", () => false);
7
7
  const error = useState("users-error", () => null);
8
8
  const fetchUsers = async (page = 1, limit = 100) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-users",
3
- "version": "1.49.0",
3
+ "version": "1.49.1",
4
4
  "description": "A comprehensive user management module for Nuxt applications with authentication, authorization, database support, and CLI tools",
5
5
  "keywords": [
6
6
  "nuxt",
@@ -143,5 +143,8 @@
143
143
  "vitepress": "^1.6.3",
144
144
  "vitest": "^4.0.0",
145
145
  "vue-tsc": "^3.0.1"
146
+ },
147
+ "resolutions": {
148
+ "entities": "^7.0.0"
146
149
  }
147
150
  }