@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.
Files changed (37) hide show
  1. package/dist/module.d.mts +9 -4
  2. package/dist/module.json +2 -2
  3. package/dist/module.mjs +1 -1
  4. package/dist/runtime/components/ExternalCallback.d.vue.ts +2 -6
  5. package/dist/runtime/components/ExternalCallback.vue +2 -37
  6. package/dist/runtime/components/ExternalCallback.vue.d.ts +2 -6
  7. package/dist/runtime/components/ExternalCode.vue +3 -20
  8. package/dist/runtime/components/LoginProviderButtons.client.d.vue.ts +17 -14
  9. package/dist/runtime/components/LoginProviderButtons.client.vue +26 -56
  10. package/dist/runtime/components/LoginProviderButtons.client.vue.d.ts +17 -14
  11. package/dist/runtime/components/Mocker.vue +2 -18
  12. package/dist/runtime/components/UserRegistration.d.vue.ts +15 -39
  13. package/dist/runtime/components/UserRegistration.vue +40 -144
  14. package/dist/runtime/components/UserRegistration.vue.d.ts +15 -39
  15. package/dist/runtime/composables/useAuthExternalCallback.d.ts +17 -0
  16. package/dist/runtime/composables/useAuthExternalCallback.js +47 -0
  17. package/dist/runtime/composables/useAuthExternalCode.d.ts +5 -0
  18. package/dist/runtime/composables/useAuthExternalCode.js +29 -0
  19. package/dist/runtime/composables/useAuthMocker.d.ts +7 -0
  20. package/dist/runtime/composables/useAuthMocker.js +33 -0
  21. package/dist/runtime/composables/useAuthUserRegistration.d.ts +43 -0
  22. package/dist/runtime/composables/useAuthUserRegistration.js +84 -0
  23. package/dist/runtime/core/providers/github.d.ts +1 -6
  24. package/dist/runtime/core/providers/github.js +1 -6
  25. package/dist/runtime/core/providers/google.d.ts +1 -6
  26. package/dist/runtime/core/providers/google.js +1 -6
  27. package/dist/runtime/server/helpers/signJwt.d.ts +1 -3
  28. package/dist/runtime/server/utils/Auth.d.ts +5 -4
  29. package/dist/runtime/server/utils/Auth.js +21 -6
  30. package/dist/runtime/server/utils/SessionManager.d.ts +3 -3
  31. package/dist/runtime/server/utils/SessionManager.js +6 -5
  32. package/dist/runtime/server/utils/createAuthHandler.d.ts +2 -2
  33. package/dist/runtime/server/utils/createAuthMiddleware.js +2 -2
  34. package/dist/runtime/types.d.ts +1 -7
  35. package/dist/runtime/utils/getAuthApiRoute.d.ts +6 -3
  36. package/dist/types.d.mts +3 -2
  37. package/package.json +7 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@witchcraft/nuxt-auth",
3
- "version": "0.4.1",
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.2.0",
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/ui": "^0.5.0",
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.2",
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": {