@fonderie/auth 1.1.0 → 1.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.
@@ -1,5 +1,5 @@
1
1
  import * as _fonderie_core from '@fonderie/core';
2
- import { w as withSession } from '../session-CLD1WPJs.cjs';
2
+ import { w as withSession } from '../session-BGjjwz5_.cjs';
3
3
  import '@fonderie/store';
4
4
 
5
5
  declare const middlewares: {
@@ -1,5 +1,5 @@
1
1
  import * as _fonderie_core from '@fonderie/core';
2
- import { w as withSession } from '../session-CLD1WPJs.js';
2
+ import { w as withSession } from '../session-BGjjwz5_.js';
3
3
  import '@fonderie/store';
4
4
 
5
5
  declare const middlewares: {
@@ -29,6 +29,7 @@ declare const MESSAGE_KEYS: {
29
29
  };
30
30
  type AuthMessageKey = (typeof MESSAGE_KEYS)[keyof typeof MESSAGE_KEYS];
31
31
  interface IAuthConfig extends IAuthSecrets, IAuthRuntimeConfig {
32
+ secureCookies?: boolean;
32
33
  providers: ('email' | 'phone' | 'google' | 'github')[];
33
34
  appName?: string;
34
35
  resolve?: (ctx: {
@@ -29,6 +29,7 @@ declare const MESSAGE_KEYS: {
29
29
  };
30
30
  type AuthMessageKey = (typeof MESSAGE_KEYS)[keyof typeof MESSAGE_KEYS];
31
31
  interface IAuthConfig extends IAuthSecrets, IAuthRuntimeConfig {
32
+ secureCookies?: boolean;
32
33
  providers: ('email' | 'phone' | 'google' | 'github')[];
33
34
  appName?: string;
34
35
  resolve?: (ctx: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonderie/auth",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Drop-in auth for SaaS — email/password, phone OTP, Google OAuth, stateless JWT sessions, TOTP-based MFA with backup codes, and self-service password recovery.",
5
5
  "keywords": [
6
6
  "fonderie-js",