@witchcraft/nuxt-auth 0.4.1 → 0.5.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.d.mts +9 -4
- package/dist/module.json +2 -2
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/ExternalCallback.d.vue.ts +2 -6
- package/dist/runtime/components/ExternalCallback.vue +2 -37
- package/dist/runtime/components/ExternalCallback.vue.d.ts +2 -6
- package/dist/runtime/components/ExternalCode.vue +3 -20
- package/dist/runtime/components/LoginProviderButtons.client.d.vue.ts +17 -14
- package/dist/runtime/components/LoginProviderButtons.client.vue +26 -56
- package/dist/runtime/components/LoginProviderButtons.client.vue.d.ts +17 -14
- package/dist/runtime/components/Mocker.vue +2 -18
- package/dist/runtime/components/UserRegistration.d.vue.ts +15 -39
- package/dist/runtime/components/UserRegistration.vue +40 -144
- package/dist/runtime/components/UserRegistration.vue.d.ts +15 -39
- package/dist/runtime/composables/useAuthExternalCallback.d.ts +17 -0
- package/dist/runtime/composables/useAuthExternalCallback.js +47 -0
- package/dist/runtime/composables/useAuthExternalCode.d.ts +5 -0
- package/dist/runtime/composables/useAuthExternalCode.js +29 -0
- package/dist/runtime/composables/useAuthMocker.d.ts +7 -0
- package/dist/runtime/composables/useAuthMocker.js +33 -0
- package/dist/runtime/composables/useAuthUserRegistration.d.ts +43 -0
- package/dist/runtime/composables/useAuthUserRegistration.js +84 -0
- package/dist/runtime/core/providers/github.d.ts +1 -6
- package/dist/runtime/core/providers/github.js +1 -6
- package/dist/runtime/core/providers/google.d.ts +1 -6
- package/dist/runtime/core/providers/google.js +1 -6
- package/dist/runtime/server/helpers/signJwt.d.ts +1 -3
- package/dist/runtime/server/utils/Auth.d.ts +5 -4
- package/dist/runtime/server/utils/Auth.js +21 -6
- package/dist/runtime/server/utils/SessionManager.d.ts +3 -3
- package/dist/runtime/server/utils/SessionManager.js +6 -5
- package/dist/runtime/server/utils/createAuthHandler.d.ts +2 -2
- package/dist/runtime/server/utils/createAuthMiddleware.js +2 -2
- package/dist/runtime/types.d.ts +1 -7
- package/dist/runtime/utils/getAuthApiRoute.d.ts +6 -3
- package/dist/types.d.mts +3 -2
- package/package.json +7 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@witchcraft/nuxt-auth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Nuxt module for logging.",
|
|
5
5
|
"repository": "witchcraftjs/nuxt-auth",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,15 +33,17 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@alanscodelog/tsconfigs": "^6.3.0",
|
|
36
|
-
"@alanscodelog/utils": "^6.
|
|
36
|
+
"@alanscodelog/utils": "^6.3.1",
|
|
37
37
|
"@iconify/json": "^2.2.393",
|
|
38
38
|
"@nuxt/kit": "^4.1.3",
|
|
39
39
|
"@oslojs/crypto": "^1.0.1",
|
|
40
40
|
"@oslojs/encoding": "^1.1.0",
|
|
41
|
+
"@standard-schema/spec": "^1.1.0",
|
|
41
42
|
"@types/jsonwebtoken": "^9.0.10",
|
|
42
43
|
"@vueuse/core": "^13.9.0",
|
|
43
44
|
"@witchcraft/nuxt-logger": "^0.0.11",
|
|
44
|
-
"@witchcraft/
|
|
45
|
+
"@witchcraft/nuxt-utils": "^0.3.13",
|
|
46
|
+
"@witchcraft/ui": "^0.5.3",
|
|
45
47
|
"arctic": "^3.7.0",
|
|
46
48
|
"cookie-es": "^3.1.1",
|
|
47
49
|
"defu": "^6.1.4",
|
|
@@ -58,7 +60,7 @@
|
|
|
58
60
|
"@alanscodelog/semantic-release-config": "^6.0.2",
|
|
59
61
|
"@commitlint/cli": "^20.1.0",
|
|
60
62
|
"@nuxt/eslint-config": "^1.9.0",
|
|
61
|
-
"@nuxt/module-builder": "^1.0.
|
|
63
|
+
"@nuxt/module-builder": "^1.0.3",
|
|
62
64
|
"@nuxt/schema": "^4.1.3",
|
|
63
65
|
"@nuxt/test-utils": "^3.19.2",
|
|
64
66
|
"@tailwindcss/cli": "^4.1.14",
|
|
@@ -75,6 +77,7 @@
|
|
|
75
77
|
"tailwindcss": "^4.1.14",
|
|
76
78
|
"typescript": "^5.9.3",
|
|
77
79
|
"vitest": "^3.2.4",
|
|
80
|
+
"vue": "^3.5.0",
|
|
78
81
|
"vue-tsc": "^3.3.3"
|
|
79
82
|
},
|
|
80
83
|
"release": {
|