@cairs-npm/express-auth-2fa 0.1.4 → 0.1.5

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/index.cjs CHANGED
@@ -197,16 +197,16 @@ var configSchema = import_zod.z.object({
197
197
  ]).default(true),
198
198
  /** 2-Step Verification state for users who have not chosen one yet. */
199
199
  twoStepDefault: import_zod.z.boolean().default(false),
200
- limits: limitSchema.default({}),
200
+ limits: limitSchema.prefault({}),
201
201
  /**
202
202
  * Set false to turn off every RATE_LIMITED check: the per-IP limits on login / code
203
203
  * verify / send / step-up and the code-send cooldown and caps. Account lockouts after
204
204
  * failed passwords or codes (LOCKED) still apply.
205
205
  */
206
206
  rateLimits: import_zod.z.boolean().default(true),
207
- argon2: argon2Schema.default({}),
208
- cookies: cookieSchema.default({}),
209
- ttl: ttlSchema.default({}),
207
+ argon2: argon2Schema.prefault({}),
208
+ cookies: cookieSchema.prefault({}),
209
+ ttl: ttlSchema.prefault({}),
210
210
  /** Serve GET /auth/openapi.json (A.7 docs). */
211
211
  exposeDocs: import_zod.z.boolean().default(false)
212
212
  });