@techlabi/kycrazy-ui-kit 0.48.0-beta.2 → 0.48.0
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/CHANGELOG.md +10 -0
- package/dist/index.es.js +3744 -3721
- package/dist/index.umd.js +38 -38
- package/dist/types/components/steps/AddressStep.d.ts +1 -0
- package/dist/types/components/steps/DoneStep.d.ts +1 -1
- package/dist/types/types.d.ts +5 -8
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ type BusinessAddressFormData = z.infer<typeof businessAddressSchema>;
|
|
|
26
26
|
type AddressData = BusinessAddressFormData;
|
|
27
27
|
interface AddressStepProps {
|
|
28
28
|
data: AddressData;
|
|
29
|
+
isBusinessAddress: boolean;
|
|
29
30
|
onDataChange: (data: Partial<AddressData>) => void;
|
|
30
31
|
onContinue: (formData: AddressData) => void;
|
|
31
32
|
onBack: () => void;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -13,13 +13,6 @@ export interface KYCrazyProps {
|
|
|
13
13
|
onComplete: (token: string, data: KYCRequestData | KYBRequestData) => void;
|
|
14
14
|
onDoneClick?: () => void;
|
|
15
15
|
}
|
|
16
|
-
export type KYCPersonalDetails = {
|
|
17
|
-
full_name: string;
|
|
18
|
-
email: string;
|
|
19
|
-
selfie_photo: File;
|
|
20
|
-
id_photo: File;
|
|
21
|
-
id_photo_back?: File;
|
|
22
|
-
};
|
|
23
16
|
export type KYCPersonalAddress = {
|
|
24
17
|
street: string;
|
|
25
18
|
number: string;
|
|
@@ -29,7 +22,11 @@ export type KYCPersonalAddress = {
|
|
|
29
22
|
state?: string;
|
|
30
23
|
};
|
|
31
24
|
export type KYCRequestData = {
|
|
32
|
-
|
|
25
|
+
full_name: string;
|
|
26
|
+
email: string;
|
|
27
|
+
selfie_photo: File;
|
|
28
|
+
id_photo: File;
|
|
29
|
+
id_photo_back?: File;
|
|
33
30
|
personal_address: KYCPersonalAddress;
|
|
34
31
|
};
|
|
35
32
|
export type KYBPersonalDetails = {
|
package/package.json
CHANGED