@thetechfossil/auth2 1.2.15 → 1.2.16

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
@@ -468,8 +468,14 @@ interface AvatarManagerProps {
468
468
  className?: string;
469
469
  gridClassName?: string;
470
470
  maxFileSize?: number;
471
+ maxFiles?: number;
471
472
  mode?: 'full' | 'browse' | 'upload';
472
473
  showDelete?: boolean;
474
+ autoRecordToDb?: boolean;
475
+ fetchThumbnails?: boolean;
476
+ projectId?: string;
477
+ deleteUrl?: string;
478
+ onDelete?: (key: string) => Promise<void>;
473
479
  upfilesConfig: {
474
480
  baseUrl: string;
475
481
  apiKey?: string;
@@ -477,6 +483,8 @@ interface AvatarManagerProps {
477
483
  presignUrl?: string;
478
484
  presignPath?: string;
479
485
  folderPath?: string;
486
+ headers?: Record<string, string>;
487
+ withCredentials?: boolean;
480
488
  };
481
489
  }
482
490
  declare const AvatarManager: React.FC<AvatarManagerProps>;
package/dist/index.d.ts CHANGED
@@ -468,8 +468,14 @@ interface AvatarManagerProps {
468
468
  className?: string;
469
469
  gridClassName?: string;
470
470
  maxFileSize?: number;
471
+ maxFiles?: number;
471
472
  mode?: 'full' | 'browse' | 'upload';
472
473
  showDelete?: boolean;
474
+ autoRecordToDb?: boolean;
475
+ fetchThumbnails?: boolean;
476
+ projectId?: string;
477
+ deleteUrl?: string;
478
+ onDelete?: (key: string) => Promise<void>;
473
479
  upfilesConfig: {
474
480
  baseUrl: string;
475
481
  apiKey?: string;
@@ -477,6 +483,8 @@ interface AvatarManagerProps {
477
483
  presignUrl?: string;
478
484
  presignPath?: string;
479
485
  folderPath?: string;
486
+ headers?: Record<string, string>;
487
+ withCredentials?: boolean;
480
488
  };
481
489
  }
482
490
  declare const AvatarManager: React.FC<AvatarManagerProps>;