@retinalabsllc/zairusjs 15.0.85 → 15.0.95
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 +30 -37
- package/dist/index.d.ts +30 -37
- package/dist/index.js +458 -589
- package/dist/index.mjs +572 -702
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -63,7 +63,8 @@ interface PipleAuthProps {
|
|
|
63
63
|
recaptchaSiteKey?: string;
|
|
64
64
|
defaultRedirectPath?: string;
|
|
65
65
|
onAuthRequest: (payload: {
|
|
66
|
-
|
|
66
|
+
phoneNumber: string;
|
|
67
|
+
country: string;
|
|
67
68
|
firstName?: string;
|
|
68
69
|
lastName?: string;
|
|
69
70
|
organizationName?: string;
|
|
@@ -73,12 +74,12 @@ interface PipleAuthProps {
|
|
|
73
74
|
}) => Promise<{
|
|
74
75
|
success: boolean;
|
|
75
76
|
error?: string;
|
|
76
|
-
has2FA?: boolean;
|
|
77
77
|
hasPasskey?: boolean;
|
|
78
|
+
needsPukSetup?: boolean;
|
|
78
79
|
passkeyOptions?: any;
|
|
79
80
|
}>;
|
|
80
81
|
onVerifyOtp: (payload: {
|
|
81
|
-
|
|
82
|
+
phoneNumber: string;
|
|
82
83
|
code?: string;
|
|
83
84
|
isPasskey?: boolean;
|
|
84
85
|
passkeyCredential?: any;
|
|
@@ -160,17 +161,17 @@ declare const UniversalOrganizationPage: React.FC<UniversalOrganizationPageProps
|
|
|
160
161
|
interface UniversalProfileSettingsProps {
|
|
161
162
|
initialFirstName: string;
|
|
162
163
|
initialLastName: string;
|
|
163
|
-
|
|
164
|
+
phoneNumber: string;
|
|
164
165
|
accountStatus?: string;
|
|
165
166
|
memberSince?: string | Date | null;
|
|
166
167
|
isReadOnly?: boolean;
|
|
167
168
|
bannerProps?: BannerProps;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
action: '
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
hasPasscode?: boolean;
|
|
170
|
+
isPasscodeLoading?: boolean;
|
|
171
|
+
onSavePasscode?: (payload: {
|
|
172
|
+
action: 'create_passcode' | 'change_passcode';
|
|
173
|
+
oldPasscode?: string;
|
|
174
|
+
newPasscode: string;
|
|
174
175
|
}) => Promise<{
|
|
175
176
|
success: boolean;
|
|
176
177
|
error?: string;
|
|
@@ -258,10 +259,9 @@ interface UniversalHomeViewProps {
|
|
|
258
259
|
balanceLabel?: string;
|
|
259
260
|
balanceAmount: string;
|
|
260
261
|
balanceCurrency?: string;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
secondaryAction?: HomeActionBtn;
|
|
262
|
+
calculatorAction?: HomeActionBtn;
|
|
263
|
+
buyCryptoAction?: HomeActionBtn;
|
|
264
|
+
referralAction?: HomeActionBtn;
|
|
265
265
|
notifications?: NotificationItem[];
|
|
266
266
|
notificationPage?: number;
|
|
267
267
|
notificationTotalPages?: number;
|
|
@@ -312,26 +312,20 @@ interface CardData {
|
|
|
312
312
|
type: string;
|
|
313
313
|
scheme: string;
|
|
314
314
|
status: string;
|
|
315
|
-
|
|
315
|
+
balance: string;
|
|
316
316
|
currency: string;
|
|
317
317
|
cardHolderName: string;
|
|
318
318
|
cardBgSrc: string;
|
|
319
319
|
networkLogoSrc: string;
|
|
320
|
-
|
|
321
|
-
contentDark?: boolean;
|
|
322
|
-
bannerProps?: BannerProps;
|
|
323
|
-
prepaid?: boolean;
|
|
324
|
-
balance?: string;
|
|
320
|
+
contentDark: boolean;
|
|
325
321
|
}
|
|
326
322
|
interface UniversalCardPageProps {
|
|
327
323
|
cards: CardData[];
|
|
328
324
|
actionPath?: string;
|
|
329
|
-
onReveal?: (cardId: string) => void
|
|
330
|
-
onFreeze?: (cardId: string) =>
|
|
331
|
-
|
|
332
|
-
onDelete?: (cardId: string) => void | Promise<void>;
|
|
325
|
+
onReveal?: (cardId: string) => void;
|
|
326
|
+
onFreeze?: (cardId: string) => Promise<void>;
|
|
327
|
+
onDelete?: (cardId: string) => void;
|
|
333
328
|
onFundCard?: (cardId: string) => void;
|
|
334
|
-
onCreateCard?: () => void;
|
|
335
329
|
}
|
|
336
330
|
declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
|
|
337
331
|
|
|
@@ -422,21 +416,19 @@ interface AppBento2Props {
|
|
|
422
416
|
declare const AppBento2: React.FC<AppBento2Props>;
|
|
423
417
|
|
|
424
418
|
interface UniversalSecurityPageProps {
|
|
425
|
-
|
|
419
|
+
hasPasscode: boolean;
|
|
426
420
|
hasPasskey: boolean;
|
|
427
|
-
|
|
428
|
-
is2FALoading?: boolean;
|
|
421
|
+
isPasscodeLoading?: boolean;
|
|
429
422
|
isPasskeyLoading?: boolean;
|
|
430
423
|
onBack: () => void;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
success: boolean;
|
|
437
|
-
}>;
|
|
438
|
-
onVerifyAndDisable2FA?: (otp: string) => Promise<{
|
|
424
|
+
onSavePasscode?: (payload: {
|
|
425
|
+
action: 'create_passcode' | 'change_passcode';
|
|
426
|
+
oldPasscode?: string;
|
|
427
|
+
newPasscode: string;
|
|
428
|
+
}) => Promise<{
|
|
439
429
|
success: boolean;
|
|
430
|
+
error?: string;
|
|
431
|
+
message?: string;
|
|
440
432
|
}>;
|
|
441
433
|
onRequestPasskeySetup?: () => Promise<any>;
|
|
442
434
|
onVerifyAndEnablePasskey?: (credential: any) => Promise<{
|
|
@@ -643,7 +635,7 @@ interface TextInputProps {
|
|
|
643
635
|
maxLength?: number;
|
|
644
636
|
disabled?: boolean;
|
|
645
637
|
readOnly?: boolean;
|
|
646
|
-
type?: 'text' | 'password' | 'email' | 'url';
|
|
638
|
+
type?: 'text' | 'password' | 'email' | 'url' | 'tel';
|
|
647
639
|
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
648
640
|
}
|
|
649
641
|
interface NumberInputProps {
|
|
@@ -865,6 +857,7 @@ interface UniversalReferralItem {
|
|
|
865
857
|
interface UniversalReferralPageProps {
|
|
866
858
|
referralCode: string | null;
|
|
867
859
|
totalCount: number;
|
|
860
|
+
referralCoins?: number;
|
|
868
861
|
referrals: UniversalReferralItem[];
|
|
869
862
|
isLoading: boolean;
|
|
870
863
|
currentPage: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -63,7 +63,8 @@ interface PipleAuthProps {
|
|
|
63
63
|
recaptchaSiteKey?: string;
|
|
64
64
|
defaultRedirectPath?: string;
|
|
65
65
|
onAuthRequest: (payload: {
|
|
66
|
-
|
|
66
|
+
phoneNumber: string;
|
|
67
|
+
country: string;
|
|
67
68
|
firstName?: string;
|
|
68
69
|
lastName?: string;
|
|
69
70
|
organizationName?: string;
|
|
@@ -73,12 +74,12 @@ interface PipleAuthProps {
|
|
|
73
74
|
}) => Promise<{
|
|
74
75
|
success: boolean;
|
|
75
76
|
error?: string;
|
|
76
|
-
has2FA?: boolean;
|
|
77
77
|
hasPasskey?: boolean;
|
|
78
|
+
needsPukSetup?: boolean;
|
|
78
79
|
passkeyOptions?: any;
|
|
79
80
|
}>;
|
|
80
81
|
onVerifyOtp: (payload: {
|
|
81
|
-
|
|
82
|
+
phoneNumber: string;
|
|
82
83
|
code?: string;
|
|
83
84
|
isPasskey?: boolean;
|
|
84
85
|
passkeyCredential?: any;
|
|
@@ -160,17 +161,17 @@ declare const UniversalOrganizationPage: React.FC<UniversalOrganizationPageProps
|
|
|
160
161
|
interface UniversalProfileSettingsProps {
|
|
161
162
|
initialFirstName: string;
|
|
162
163
|
initialLastName: string;
|
|
163
|
-
|
|
164
|
+
phoneNumber: string;
|
|
164
165
|
accountStatus?: string;
|
|
165
166
|
memberSince?: string | Date | null;
|
|
166
167
|
isReadOnly?: boolean;
|
|
167
168
|
bannerProps?: BannerProps;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
action: '
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
hasPasscode?: boolean;
|
|
170
|
+
isPasscodeLoading?: boolean;
|
|
171
|
+
onSavePasscode?: (payload: {
|
|
172
|
+
action: 'create_passcode' | 'change_passcode';
|
|
173
|
+
oldPasscode?: string;
|
|
174
|
+
newPasscode: string;
|
|
174
175
|
}) => Promise<{
|
|
175
176
|
success: boolean;
|
|
176
177
|
error?: string;
|
|
@@ -258,10 +259,9 @@ interface UniversalHomeViewProps {
|
|
|
258
259
|
balanceLabel?: string;
|
|
259
260
|
balanceAmount: string;
|
|
260
261
|
balanceCurrency?: string;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
secondaryAction?: HomeActionBtn;
|
|
262
|
+
calculatorAction?: HomeActionBtn;
|
|
263
|
+
buyCryptoAction?: HomeActionBtn;
|
|
264
|
+
referralAction?: HomeActionBtn;
|
|
265
265
|
notifications?: NotificationItem[];
|
|
266
266
|
notificationPage?: number;
|
|
267
267
|
notificationTotalPages?: number;
|
|
@@ -312,26 +312,20 @@ interface CardData {
|
|
|
312
312
|
type: string;
|
|
313
313
|
scheme: string;
|
|
314
314
|
status: string;
|
|
315
|
-
|
|
315
|
+
balance: string;
|
|
316
316
|
currency: string;
|
|
317
317
|
cardHolderName: string;
|
|
318
318
|
cardBgSrc: string;
|
|
319
319
|
networkLogoSrc: string;
|
|
320
|
-
|
|
321
|
-
contentDark?: boolean;
|
|
322
|
-
bannerProps?: BannerProps;
|
|
323
|
-
prepaid?: boolean;
|
|
324
|
-
balance?: string;
|
|
320
|
+
contentDark: boolean;
|
|
325
321
|
}
|
|
326
322
|
interface UniversalCardPageProps {
|
|
327
323
|
cards: CardData[];
|
|
328
324
|
actionPath?: string;
|
|
329
|
-
onReveal?: (cardId: string) => void
|
|
330
|
-
onFreeze?: (cardId: string) =>
|
|
331
|
-
|
|
332
|
-
onDelete?: (cardId: string) => void | Promise<void>;
|
|
325
|
+
onReveal?: (cardId: string) => void;
|
|
326
|
+
onFreeze?: (cardId: string) => Promise<void>;
|
|
327
|
+
onDelete?: (cardId: string) => void;
|
|
333
328
|
onFundCard?: (cardId: string) => void;
|
|
334
|
-
onCreateCard?: () => void;
|
|
335
329
|
}
|
|
336
330
|
declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
|
|
337
331
|
|
|
@@ -422,21 +416,19 @@ interface AppBento2Props {
|
|
|
422
416
|
declare const AppBento2: React.FC<AppBento2Props>;
|
|
423
417
|
|
|
424
418
|
interface UniversalSecurityPageProps {
|
|
425
|
-
|
|
419
|
+
hasPasscode: boolean;
|
|
426
420
|
hasPasskey: boolean;
|
|
427
|
-
|
|
428
|
-
is2FALoading?: boolean;
|
|
421
|
+
isPasscodeLoading?: boolean;
|
|
429
422
|
isPasskeyLoading?: boolean;
|
|
430
423
|
onBack: () => void;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
success: boolean;
|
|
437
|
-
}>;
|
|
438
|
-
onVerifyAndDisable2FA?: (otp: string) => Promise<{
|
|
424
|
+
onSavePasscode?: (payload: {
|
|
425
|
+
action: 'create_passcode' | 'change_passcode';
|
|
426
|
+
oldPasscode?: string;
|
|
427
|
+
newPasscode: string;
|
|
428
|
+
}) => Promise<{
|
|
439
429
|
success: boolean;
|
|
430
|
+
error?: string;
|
|
431
|
+
message?: string;
|
|
440
432
|
}>;
|
|
441
433
|
onRequestPasskeySetup?: () => Promise<any>;
|
|
442
434
|
onVerifyAndEnablePasskey?: (credential: any) => Promise<{
|
|
@@ -643,7 +635,7 @@ interface TextInputProps {
|
|
|
643
635
|
maxLength?: number;
|
|
644
636
|
disabled?: boolean;
|
|
645
637
|
readOnly?: boolean;
|
|
646
|
-
type?: 'text' | 'password' | 'email' | 'url';
|
|
638
|
+
type?: 'text' | 'password' | 'email' | 'url' | 'tel';
|
|
647
639
|
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
648
640
|
}
|
|
649
641
|
interface NumberInputProps {
|
|
@@ -865,6 +857,7 @@ interface UniversalReferralItem {
|
|
|
865
857
|
interface UniversalReferralPageProps {
|
|
866
858
|
referralCode: string | null;
|
|
867
859
|
totalCount: number;
|
|
860
|
+
referralCoins?: number;
|
|
868
861
|
referrals: UniversalReferralItem[];
|
|
869
862
|
isLoading: boolean;
|
|
870
863
|
currentPage: number;
|