@retinalabsllc/zairusjs 9.0.30 → 9.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/dist/index.d.mts +21 -5
- package/dist/index.d.ts +21 -5
- package/dist/index.js +724 -484
- package/dist/index.mjs +680 -434
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -113,6 +113,12 @@ interface MobileNavItem {
|
|
|
113
113
|
}
|
|
114
114
|
interface MobileNavProps {
|
|
115
115
|
items: MobileNavItem[];
|
|
116
|
+
web3Address?: string;
|
|
117
|
+
web3Avatar?: string;
|
|
118
|
+
userInitials?: string;
|
|
119
|
+
unreadCount?: number;
|
|
120
|
+
onOpenNotifications?: () => void;
|
|
121
|
+
onLogout?: () => Promise<void>;
|
|
116
122
|
}
|
|
117
123
|
declare const MobileNav: React.FC<MobileNavProps>;
|
|
118
124
|
|
|
@@ -273,7 +279,13 @@ interface UniversalWalletPageProps {
|
|
|
273
279
|
}
|
|
274
280
|
declare const UniversalWalletPage: React.FC<UniversalWalletPageProps>;
|
|
275
281
|
|
|
276
|
-
interface
|
|
282
|
+
interface CardData {
|
|
283
|
+
id: string;
|
|
284
|
+
type: string;
|
|
285
|
+
scheme: string;
|
|
286
|
+
status: string;
|
|
287
|
+
tier: string;
|
|
288
|
+
currency: string;
|
|
277
289
|
cardHolderName: string;
|
|
278
290
|
cardNumber: string;
|
|
279
291
|
expiry: string;
|
|
@@ -282,10 +294,14 @@ interface UniversalCardPageProps {
|
|
|
282
294
|
backgroundOverlay?: string;
|
|
283
295
|
companyLogoSrc: string;
|
|
284
296
|
networkLogoSrc: string;
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
297
|
+
}
|
|
298
|
+
interface UniversalCardPageProps {
|
|
299
|
+
cards: CardData[];
|
|
300
|
+
onReveal?: (cardId: string) => void | Promise<void>;
|
|
301
|
+
onFreeze?: (cardId: string) => void | Promise<void>;
|
|
302
|
+
onSetLimits?: (cardId: string) => void;
|
|
303
|
+
onDelete?: (cardId: string) => void | Promise<void>;
|
|
304
|
+
onCardAction?: (cardId: string, action: 'ACTIVATE' | 'CREATE') => void;
|
|
289
305
|
}
|
|
290
306
|
declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
|
|
291
307
|
|
package/dist/index.d.ts
CHANGED
|
@@ -113,6 +113,12 @@ interface MobileNavItem {
|
|
|
113
113
|
}
|
|
114
114
|
interface MobileNavProps {
|
|
115
115
|
items: MobileNavItem[];
|
|
116
|
+
web3Address?: string;
|
|
117
|
+
web3Avatar?: string;
|
|
118
|
+
userInitials?: string;
|
|
119
|
+
unreadCount?: number;
|
|
120
|
+
onOpenNotifications?: () => void;
|
|
121
|
+
onLogout?: () => Promise<void>;
|
|
116
122
|
}
|
|
117
123
|
declare const MobileNav: React.FC<MobileNavProps>;
|
|
118
124
|
|
|
@@ -273,7 +279,13 @@ interface UniversalWalletPageProps {
|
|
|
273
279
|
}
|
|
274
280
|
declare const UniversalWalletPage: React.FC<UniversalWalletPageProps>;
|
|
275
281
|
|
|
276
|
-
interface
|
|
282
|
+
interface CardData {
|
|
283
|
+
id: string;
|
|
284
|
+
type: string;
|
|
285
|
+
scheme: string;
|
|
286
|
+
status: string;
|
|
287
|
+
tier: string;
|
|
288
|
+
currency: string;
|
|
277
289
|
cardHolderName: string;
|
|
278
290
|
cardNumber: string;
|
|
279
291
|
expiry: string;
|
|
@@ -282,10 +294,14 @@ interface UniversalCardPageProps {
|
|
|
282
294
|
backgroundOverlay?: string;
|
|
283
295
|
companyLogoSrc: string;
|
|
284
296
|
networkLogoSrc: string;
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
297
|
+
}
|
|
298
|
+
interface UniversalCardPageProps {
|
|
299
|
+
cards: CardData[];
|
|
300
|
+
onReveal?: (cardId: string) => void | Promise<void>;
|
|
301
|
+
onFreeze?: (cardId: string) => void | Promise<void>;
|
|
302
|
+
onSetLimits?: (cardId: string) => void;
|
|
303
|
+
onDelete?: (cardId: string) => void | Promise<void>;
|
|
304
|
+
onCardAction?: (cardId: string, action: 'ACTIVATE' | 'CREATE') => void;
|
|
289
305
|
}
|
|
290
306
|
declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
|
|
291
307
|
|