@witchcraft/nuxt-auth 0.3.2 → 0.4.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/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -649,6 +649,7 @@ export class Auth {
|
|
|
649
649
|
}
|
|
650
650
|
async createAccessToken(userId, payload = {}) {
|
|
651
651
|
return signJwt({ ...payload, userId }, this.rc.authSecret, {
|
|
652
|
+
// ms is different package version so type doesn't match
|
|
652
653
|
expiresIn: this.externalAccessTokenExpiresIn
|
|
653
654
|
});
|
|
654
655
|
}
|
package/dist/runtime/types.js
CHANGED
|
@@ -16,7 +16,7 @@ export const zExternalCallbackPageQuery = z.object({
|
|
|
16
16
|
})
|
|
17
17
|
);
|
|
18
18
|
export const defaultZodUsernameSchema = z.string().min(3).max(32).regex(/^[\w.]+$/, "Username can only contain letters, numbers, underscores, and periods.");
|
|
19
|
-
export const providerStylesInjectionKey = Symbol("providerStyles");
|
|
19
|
+
export const providerStylesInjectionKey = Symbol.for("@witchcraft/nuxt-auth:providerStyles");
|
|
20
20
|
export const AUTH_ERROR = enumFromArray([
|
|
21
21
|
"USER_ALREADY_REGISTERED",
|
|
22
22
|
"UNKNOWN_PROVIDER",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@witchcraft/nuxt-auth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Nuxt module for logging.",
|
|
5
5
|
"repository": "witchcraftjs/nuxt-auth",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"@types/jsonwebtoken": "^9.0.10",
|
|
42
42
|
"@vueuse/core": "^13.9.0",
|
|
43
43
|
"@witchcraft/nuxt-logger": "^0.0.11",
|
|
44
|
-
"@witchcraft/ui": "0.
|
|
44
|
+
"@witchcraft/ui": "^0.5.0",
|
|
45
45
|
"arctic": "^3.7.0",
|
|
46
46
|
"cookie-es": "^3.1.1",
|
|
47
47
|
"defu": "^6.1.4",
|
|
48
48
|
"h3": "1.15.4",
|
|
49
49
|
"jsonwebtoken": "^9.0.2",
|
|
50
|
-
"ms": "^
|
|
50
|
+
"ms": "^3.0.0-canary.202508261828",
|
|
51
51
|
"nuxt-security": "^2.4.0",
|
|
52
52
|
"unplugin-icons": "^23.0.1",
|
|
53
53
|
"unplugin-vue-components": "^32.0.0",
|
|
@@ -71,10 +71,11 @@
|
|
|
71
71
|
"husky": "^9.1.7",
|
|
72
72
|
"nuxt": "^4.2.1",
|
|
73
73
|
"reka-ui": "^2.5.1",
|
|
74
|
+
"semantic-release": "^25.0.3",
|
|
74
75
|
"tailwindcss": "^4.1.14",
|
|
75
76
|
"typescript": "^5.9.3",
|
|
76
77
|
"vitest": "^3.2.4",
|
|
77
|
-
"vue-tsc": "^3.
|
|
78
|
+
"vue-tsc": "^3.3.3"
|
|
78
79
|
},
|
|
79
80
|
"release": {
|
|
80
81
|
"extends": [
|