@retinalabsllc/zairusjs 9.0.30 → 9.0.40

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
@@ -273,7 +273,13 @@ interface UniversalWalletPageProps {
273
273
  }
274
274
  declare const UniversalWalletPage: React.FC<UniversalWalletPageProps>;
275
275
 
276
- interface UniversalCardPageProps {
276
+ interface CardData {
277
+ id: string;
278
+ type: string;
279
+ scheme: string;
280
+ status: string;
281
+ tier: string;
282
+ currency: string;
277
283
  cardHolderName: string;
278
284
  cardNumber: string;
279
285
  expiry: string;
@@ -282,10 +288,14 @@ interface UniversalCardPageProps {
282
288
  backgroundOverlay?: string;
283
289
  companyLogoSrc: string;
284
290
  networkLogoSrc: string;
285
- onReveal?: () => void | Promise<void>;
286
- onFreeze?: () => void | Promise<void>;
287
- onSetLimits?: () => void;
288
- onDelete?: () => void | Promise<void>;
291
+ }
292
+ interface UniversalCardPageProps {
293
+ cards: CardData[];
294
+ onReveal?: (cardId: string) => void | Promise<void>;
295
+ onFreeze?: (cardId: string) => void | Promise<void>;
296
+ onSetLimits?: (cardId: string) => void;
297
+ onDelete?: (cardId: string) => void | Promise<void>;
298
+ onCardAction?: (cardId: string, action: 'ACTIVATE' | 'CREATE') => void;
289
299
  }
290
300
  declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
291
301
 
package/dist/index.d.ts CHANGED
@@ -273,7 +273,13 @@ interface UniversalWalletPageProps {
273
273
  }
274
274
  declare const UniversalWalletPage: React.FC<UniversalWalletPageProps>;
275
275
 
276
- interface UniversalCardPageProps {
276
+ interface CardData {
277
+ id: string;
278
+ type: string;
279
+ scheme: string;
280
+ status: string;
281
+ tier: string;
282
+ currency: string;
277
283
  cardHolderName: string;
278
284
  cardNumber: string;
279
285
  expiry: string;
@@ -282,10 +288,14 @@ interface UniversalCardPageProps {
282
288
  backgroundOverlay?: string;
283
289
  companyLogoSrc: string;
284
290
  networkLogoSrc: string;
285
- onReveal?: () => void | Promise<void>;
286
- onFreeze?: () => void | Promise<void>;
287
- onSetLimits?: () => void;
288
- onDelete?: () => void | Promise<void>;
291
+ }
292
+ interface UniversalCardPageProps {
293
+ cards: CardData[];
294
+ onReveal?: (cardId: string) => void | Promise<void>;
295
+ onFreeze?: (cardId: string) => void | Promise<void>;
296
+ onSetLimits?: (cardId: string) => void;
297
+ onDelete?: (cardId: string) => void | Promise<void>;
298
+ onCardAction?: (cardId: string, action: 'ACTIVATE' | 'CREATE') => void;
289
299
  }
290
300
  declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
291
301