@retinalabsllc/zairusjs 16.0.45 → 16.0.60
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 +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +185 -353
- package/dist/index.mjs +181 -349
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -63,27 +63,23 @@ interface PipleAuthProps {
|
|
|
63
63
|
recaptchaSiteKey?: string;
|
|
64
64
|
defaultRedirectPath?: string;
|
|
65
65
|
onAuthRequest: (payload: {
|
|
66
|
-
|
|
67
|
-
country: string;
|
|
66
|
+
email: string;
|
|
68
67
|
firstName?: string;
|
|
69
68
|
lastName?: string;
|
|
70
69
|
organizationName?: string;
|
|
71
70
|
r_c?: string;
|
|
72
71
|
mode: AuthMode;
|
|
73
72
|
recaptchaToken?: string;
|
|
74
|
-
forceOtp?: boolean;
|
|
75
73
|
}) => Promise<{
|
|
76
74
|
success: boolean;
|
|
77
75
|
error?: string;
|
|
76
|
+
has2FA?: boolean;
|
|
78
77
|
hasPasskey?: boolean;
|
|
79
|
-
needsPukSetup?: boolean;
|
|
80
|
-
hasPuk?: boolean;
|
|
81
78
|
passkeyOptions?: any;
|
|
82
79
|
}>;
|
|
83
80
|
onVerifyOtp: (payload: {
|
|
84
|
-
|
|
81
|
+
email: string;
|
|
85
82
|
code?: string;
|
|
86
|
-
passcode?: string;
|
|
87
83
|
isPasskey?: boolean;
|
|
88
84
|
passkeyCredential?: any;
|
|
89
85
|
}) => Promise<{
|
|
@@ -932,6 +928,8 @@ interface NetworkOption {
|
|
|
932
928
|
symbol: string;
|
|
933
929
|
logoUrl?: string;
|
|
934
930
|
addressRegex?: string;
|
|
931
|
+
decimals?: number;
|
|
932
|
+
minimumWithdrawal?: number;
|
|
935
933
|
}
|
|
936
934
|
interface FiatCurrencyOption {
|
|
937
935
|
code: string;
|
|
@@ -959,6 +957,7 @@ interface UniversalBuyCryptoPageProps {
|
|
|
959
957
|
fiatAmount: string;
|
|
960
958
|
cryptoAmount: string;
|
|
961
959
|
ratePerToken?: string;
|
|
960
|
+
rateKey?: string;
|
|
962
961
|
}>;
|
|
963
962
|
onSubmitCheckout?: (payload: {
|
|
964
963
|
fiatAmount: string;
|
|
@@ -967,6 +966,7 @@ interface UniversalBuyCryptoPageProps {
|
|
|
967
966
|
selectedNetwork: NetworkOption;
|
|
968
967
|
recipientAddress: string;
|
|
969
968
|
fiatCurrency: FiatCurrencyOption;
|
|
969
|
+
rateKey?: string;
|
|
970
970
|
}) => Promise<void>;
|
|
971
971
|
onBack?: () => void;
|
|
972
972
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -63,27 +63,23 @@ interface PipleAuthProps {
|
|
|
63
63
|
recaptchaSiteKey?: string;
|
|
64
64
|
defaultRedirectPath?: string;
|
|
65
65
|
onAuthRequest: (payload: {
|
|
66
|
-
|
|
67
|
-
country: string;
|
|
66
|
+
email: string;
|
|
68
67
|
firstName?: string;
|
|
69
68
|
lastName?: string;
|
|
70
69
|
organizationName?: string;
|
|
71
70
|
r_c?: string;
|
|
72
71
|
mode: AuthMode;
|
|
73
72
|
recaptchaToken?: string;
|
|
74
|
-
forceOtp?: boolean;
|
|
75
73
|
}) => Promise<{
|
|
76
74
|
success: boolean;
|
|
77
75
|
error?: string;
|
|
76
|
+
has2FA?: boolean;
|
|
78
77
|
hasPasskey?: boolean;
|
|
79
|
-
needsPukSetup?: boolean;
|
|
80
|
-
hasPuk?: boolean;
|
|
81
78
|
passkeyOptions?: any;
|
|
82
79
|
}>;
|
|
83
80
|
onVerifyOtp: (payload: {
|
|
84
|
-
|
|
81
|
+
email: string;
|
|
85
82
|
code?: string;
|
|
86
|
-
passcode?: string;
|
|
87
83
|
isPasskey?: boolean;
|
|
88
84
|
passkeyCredential?: any;
|
|
89
85
|
}) => Promise<{
|
|
@@ -932,6 +928,8 @@ interface NetworkOption {
|
|
|
932
928
|
symbol: string;
|
|
933
929
|
logoUrl?: string;
|
|
934
930
|
addressRegex?: string;
|
|
931
|
+
decimals?: number;
|
|
932
|
+
minimumWithdrawal?: number;
|
|
935
933
|
}
|
|
936
934
|
interface FiatCurrencyOption {
|
|
937
935
|
code: string;
|
|
@@ -959,6 +957,7 @@ interface UniversalBuyCryptoPageProps {
|
|
|
959
957
|
fiatAmount: string;
|
|
960
958
|
cryptoAmount: string;
|
|
961
959
|
ratePerToken?: string;
|
|
960
|
+
rateKey?: string;
|
|
962
961
|
}>;
|
|
963
962
|
onSubmitCheckout?: (payload: {
|
|
964
963
|
fiatAmount: string;
|
|
@@ -967,6 +966,7 @@ interface UniversalBuyCryptoPageProps {
|
|
|
967
966
|
selectedNetwork: NetworkOption;
|
|
968
967
|
recipientAddress: string;
|
|
969
968
|
fiatCurrency: FiatCurrencyOption;
|
|
969
|
+
rateKey?: string;
|
|
970
970
|
}) => Promise<void>;
|
|
971
971
|
onBack?: () => void;
|
|
972
972
|
}
|