@techlabi/kycrazy-ui-kit 0.47.0 → 0.48.0-beta.1
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/README.md +14 -14
- package/dist/index.es.js +34 -16
- package/dist/index.umd.js +3 -3
- package/dist/types/components/steps/kyb/CompanyDocumentsStep.d.ts +1 -1
- package/dist/types/types.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { KYBCompanyDocuments } from '../../../types';
|
|
3
|
-
type DocumentFieldKey = 'bank_statement' | 'company_structure' | 'certificate_of_registration' | 'business_license';
|
|
3
|
+
type DocumentFieldKey = 'bank_statement' | 'company_structure' | 'certificate_of_registration' | 'business_license' | 'void_cheque';
|
|
4
4
|
interface CompanyDocumentsStepProps {
|
|
5
5
|
data: KYBCompanyDocuments;
|
|
6
6
|
onDataChange: (data: Partial<Record<DocumentFieldKey, File[]>>) => void;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface KYCrazyProps {
|
|
|
9
9
|
fullName?: string;
|
|
10
10
|
hideCompanyActivity?: boolean;
|
|
11
11
|
hideQuestionary?: boolean;
|
|
12
|
-
companyDocumentsTypes?: Array<'bank_statement' | 'company_structure' | 'certificate_of_registration' | 'business_license'>;
|
|
12
|
+
companyDocumentsTypes?: Array<'bank_statement' | 'company_structure' | 'certificate_of_registration' | 'business_license' | 'void_cheque'>;
|
|
13
13
|
onComplete: (token: string, data: KYCRequestData | KYBRequestData) => void;
|
|
14
14
|
onDoneClick?: () => void;
|
|
15
15
|
}
|
|
@@ -73,6 +73,7 @@ export type KYBCompanyDocuments = {
|
|
|
73
73
|
company_structure?: File[];
|
|
74
74
|
certificate_of_registration?: File[];
|
|
75
75
|
business_license?: File[];
|
|
76
|
+
void_cheque?: File[];
|
|
76
77
|
};
|
|
77
78
|
export type KYBRequestData = {
|
|
78
79
|
personal_details: KYBPersonalDetails;
|
package/package.json
CHANGED