@proveanything/smartlinks 1.0.49 → 1.0.50

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/API_SUMMARY.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Smartlinks API Summary
2
2
 
3
- Version: 1.0.49 | Generated: 2025-11-23T11:46:58.029Z
3
+ Version: 1.0.50 | Generated: 2025-11-23T11:52:15.257Z
4
4
 
5
5
  This is a concise summary of all available API functions and types.
6
6
 
@@ -168,6 +168,9 @@ interface AuthLoginResponse {
168
168
  user: AuthKitUser
169
169
  accountData?: Record<string, any>
170
170
  emailVerificationMode?: 'immediate' | 'verify-auto-login' | 'verify-manual-login'
171
+ requiresEmailVerification?: boolean // True if email verification is required but not yet completed
172
+ emailVerificationDeadline?: number // Unix timestamp - for 'immediate' mode grace period deadline
173
+ accountLocked?: boolean // True if account is locked due to expired verification deadline
171
174
  }
172
175
  ```
173
176
 
@@ -236,6 +239,8 @@ interface EmailVerifyTokenResponse {
236
239
  message: string
237
240
  token?: string
238
241
  user?: AuthKitUser
242
+ accountData?: Record<string, any>
243
+ emailVerificationMode?: 'immediate' | 'verify-auto-login' | 'verify-manual-login'
239
244
  }
240
245
  ```
241
246
 
@@ -12,6 +12,9 @@ export interface AuthLoginResponse {
12
12
  user: AuthKitUser;
13
13
  accountData?: Record<string, any>;
14
14
  emailVerificationMode?: 'immediate' | 'verify-auto-login' | 'verify-manual-login';
15
+ requiresEmailVerification?: boolean;
16
+ emailVerificationDeadline?: number;
17
+ accountLocked?: boolean;
15
18
  }
16
19
  export interface MagicLinkSendResponse {
17
20
  success: boolean;
@@ -50,6 +53,8 @@ export interface EmailVerifyTokenResponse {
50
53
  message: string;
51
54
  token?: string;
52
55
  user?: AuthKitUser;
56
+ accountData?: Record<string, any>;
57
+ emailVerificationMode?: 'immediate' | 'verify-auto-login' | 'verify-manual-login';
53
58
  }
54
59
  export interface AuthKitBrandingConfig {
55
60
  logoUrl?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proveanything/smartlinks",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "Official JavaScript/TypeScript SDK for the Smartlinks API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",