@baasix/types 1.0.13 → 1.0.14

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.d.mts CHANGED
@@ -218,6 +218,7 @@ interface MagicLinkOptions {
218
218
  interface PasswordResetOptions {
219
219
  email: string;
220
220
  redirectUrl?: string;
221
+ mode?: "link" | "code";
221
222
  }
222
223
  /**
223
224
  * Authentication mode for the SDK/app
package/dist/index.d.ts CHANGED
@@ -218,6 +218,7 @@ interface MagicLinkOptions {
218
218
  interface PasswordResetOptions {
219
219
  email: string;
220
220
  redirectUrl?: string;
221
+ mode?: "link" | "code";
221
222
  }
222
223
  /**
223
224
  * Authentication mode for the SDK/app
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baasix/types",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Shared TypeScript types for Baasix packages",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
package/src/auth.ts CHANGED
@@ -256,6 +256,7 @@ export interface MagicLinkOptions {
256
256
  export interface PasswordResetOptions {
257
257
  email: string;
258
258
  redirectUrl?: string;
259
+ mode?: "link" | "code";
259
260
  }
260
261
 
261
262
  // ============================================================================