@retinalabsllc/zairusjs 9.0.8 → 9.0.10

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
@@ -281,10 +281,10 @@ interface UniversalCardPageProps {
281
281
  cardBgSrc: string;
282
282
  companyLogoSrc: string;
283
283
  networkLogoSrc: string;
284
- onReveal?: () => void;
285
- onFreeze?: () => void;
284
+ onReveal?: () => void | Promise<void>;
285
+ onFreeze?: () => void | Promise<void>;
286
286
  onSetLimits?: () => void;
287
- onDelete?: () => void;
287
+ onDelete?: () => void | Promise<void>;
288
288
  }
289
289
  declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
290
290
 
@@ -298,7 +298,7 @@ interface UniversalProfilePageProps {
298
298
  onHelpTap?: () => void;
299
299
  onVerificationsTap?: () => void;
300
300
  onExportTap?: () => void;
301
- onLogoutTap?: () => void;
301
+ onLogoutTap?: () => void | Promise<void>;
302
302
  onDeleteTap?: () => void;
303
303
  }
304
304
  declare const UniversalProfilePage: React.FC<UniversalProfilePageProps>;
package/dist/index.d.ts CHANGED
@@ -281,10 +281,10 @@ interface UniversalCardPageProps {
281
281
  cardBgSrc: string;
282
282
  companyLogoSrc: string;
283
283
  networkLogoSrc: string;
284
- onReveal?: () => void;
285
- onFreeze?: () => void;
284
+ onReveal?: () => void | Promise<void>;
285
+ onFreeze?: () => void | Promise<void>;
286
286
  onSetLimits?: () => void;
287
- onDelete?: () => void;
287
+ onDelete?: () => void | Promise<void>;
288
288
  }
289
289
  declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
290
290
 
@@ -298,7 +298,7 @@ interface UniversalProfilePageProps {
298
298
  onHelpTap?: () => void;
299
299
  onVerificationsTap?: () => void;
300
300
  onExportTap?: () => void;
301
- onLogoutTap?: () => void;
301
+ onLogoutTap?: () => void | Promise<void>;
302
302
  onDeleteTap?: () => void;
303
303
  }
304
304
  declare const UniversalProfilePage: React.FC<UniversalProfilePageProps>;