nuxt-users 1.32.0 → 1.33.0

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/CHANGELOG.md CHANGED
@@ -1,6 +1,30 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## v1.33.0
5
+
6
+ [compare changes](https://github.com/rrd108/nuxt-users/compare/v1.32.0...v1.33.0)
7
+
8
+ ### 🚀 Enhancements
9
+
10
+ - Extends NUsersList component with function filters ([be9a730](https://github.com/rrd108/nuxt-users/commit/be9a730))
11
+
12
+ ### 🩹 Fixes
13
+
14
+ - Register date issue with MySQL ([28a5c00](https://github.com/rrd108/nuxt-users/commit/28a5c00))
15
+
16
+ ### 💅 Refactors
17
+
18
+ - Remove unused code ([cbff5a0](https://github.com/rrd108/nuxt-users/commit/cbff5a0))
19
+
20
+ ### 🏡 Chore
21
+
22
+ - **release:** V1.32.0 ([7021fb7](https://github.com/rrd108/nuxt-users/commit/7021fb7))
23
+
24
+ ### ❤️ Contributors
25
+
26
+ - Rrd108 ([@rrd108](https://github.com/rrd108))
27
+
4
28
  ## v1.32.0
5
29
 
6
30
  [compare changes](https://github.com/rrd108/nuxt-users/compare/v1.31.2...v1.32.0)
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-users",
3
3
  "configKey": "nuxtUsers",
4
- "version": "1.32.0",
4
+ "version": "1.33.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.0"
@@ -147,7 +147,8 @@ export const confirmUserEmail = async (token, email, options) => {
147
147
  }
148
148
  const now = /* @__PURE__ */ new Date();
149
149
  const currentTimeString = now.toISOString().slice(0, 19).replace("T", " ");
150
- const [datePart, timePart] = validTokenRecord.created_at.split(/[ T]/);
150
+ const createdAtString = validTokenRecord.created_at instanceof Date ? validTokenRecord.created_at.toISOString().slice(0, 19).replace("T", " ") : String(validTokenRecord.created_at);
151
+ const [datePart, timePart] = createdAtString.split(/[ T]/);
151
152
  const [year, month, day] = datePart.split("-").map(Number);
152
153
  const [hour, minute, second] = timePart.split(":").map(Number);
153
154
  let expirationHour = hour + TOKEN_EXPIRATION_HOURS;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-users",
3
- "version": "1.32.0",
3
+ "version": "1.33.0",
4
4
  "description": "A comprehensive user management module for Nuxt 3 and Nuxt 4 applications with authentication, authorization, database support, and CLI tools",
5
5
  "keywords": [
6
6
  "nuxt",
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash
2
2
 
3
3
  # Configuration
4
- SERVER_HOST="35.198.93.8"
4
+ SERVER_HOST="34.159.83.210"
5
5
  SERVER_USER="sravanam"
6
6
  REMOTE_DOCS_PATH="/var/www/nuxt-users.webmania.cc"
7
7
  LOCAL_BUILD_PATH="docs/.vitepress/dist"