@witchcraft/nuxt-auth 0.1.0 → 0.1.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/README.md CHANGED
@@ -318,7 +318,7 @@ Then create a class that implements `ProviderHandler<type, PROVIDER_NAME>` which
318
318
  See the included providers for examples. They're quite simple to write with the help of the `arctic` library.
319
319
 
320
320
  ```ts
321
- export default createAuthHandler(useRuntimeConfig(), db, users, authAccounts, sessionManager, {
321
+ export default createAuthHandler(useRuntimeConfig(), db, users, authAccounts, sessionManager, useServerLogger(), {
322
322
  customProviders: {
323
323
  name: class CustomProvider implements ProviderHandler<"oauth2", "customProvider"> {
324
324
  //...
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "auth",
3
3
  "configKey": "auth",
4
- "version": "0.0.2",
4
+ "version": "0.1.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -102,9 +102,7 @@ export class Auth {
102
102
  handlers,
103
103
  providerOptions,
104
104
  enabledProviders
105
- } = {
106
- ...opts
107
- };
105
+ } = opts;
108
106
  if (appUrl === void 0) {
109
107
  throw createError({
110
108
  status: 500,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@witchcraft/nuxt-auth",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Nuxt module for logging.",
5
5
  "repository": "witchcraftjs/nuxt-auth",
6
6
  "license": "MIT",