@techlabi/kycrazy-ui-kit 0.56.0-beta.2 → 0.57.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/CHANGELOG.md +23 -0
- package/README.md +13 -5
- package/dist/index.es.js +11671 -11308
- package/dist/index.umd.js +72 -72
- package/dist/style.css +1 -1
- package/dist/types/components/CameraShotStep.d.ts +1 -1
- package/dist/types/components/operations/updateSection.d.ts +2 -1
- package/dist/types/components/steps/ProcessingStep.d.ts +1 -0
- package/dist/types/components/steps/kyb/CompanyActivityStep.d.ts +6 -3
- package/dist/types/types.d.ts +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.56.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- Added Taxpayer Identification Number to KYC
|
|
8
|
+
- Added standardised country select for KYC and KYB
|
|
9
|
+
- Allowed to delete request with any status without reviewing it first
|
|
10
|
+
- Added registry checks for completed requests
|
|
11
|
+
- Added ability to leave review notes in the dashboard
|
|
12
|
+
|
|
13
|
+
## 0.55.0
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
- Added Average Transaction Size to Company Activity (KYB)
|
|
18
|
+
- Replaced Annual Sales Volume with Monthly Sales Volume (KYB)
|
|
19
|
+
|
|
20
|
+
## 0.54.0
|
|
21
|
+
|
|
22
|
+
### Fixes
|
|
23
|
+
|
|
24
|
+
- Export unified CSS bundle for cross-project compatibility
|
|
25
|
+
|
|
3
26
|
## 0.53.0
|
|
4
27
|
|
|
5
28
|
### Features
|
package/README.md
CHANGED
|
@@ -34,6 +34,8 @@ Mobile-first design, multi-language support, and instant pass/fail results keep
|
|
|
34
34
|
|
|
35
35
|
## 📖 Usage
|
|
36
36
|
|
|
37
|
+
Important: this package ships a precompiled stylesheet. Import the compiled CSS from the package in your consumer app, then import the component JS. This ensures Tailwind utilities and any third‑party CSS used by the components are applied correctly.
|
|
38
|
+
|
|
37
39
|
```tsx
|
|
38
40
|
import '@techlabi/kycrazy-ui-kit/style.css';
|
|
39
41
|
import KYCrazy from '@techlabi/kycrazy-ui-kit';
|
|
@@ -45,12 +47,18 @@ function App() {
|
|
|
45
47
|
apiKey="ak_test_0987654321zyxwvutsrqponmlkjihgfedcba"
|
|
46
48
|
apiEndpoint="http://localhost:8080"
|
|
47
49
|
isKYB={true}
|
|
48
|
-
userEmail={user.email}
|
|
49
|
-
userId={user.id}
|
|
50
|
+
userEmail={user.email}
|
|
51
|
+
userId={user.id}
|
|
50
52
|
fullName={user.fullName} // optional
|
|
51
|
-
hideCompanyActivity={true}
|
|
52
|
-
hideQuestionary={true}
|
|
53
|
-
companyDocumentsTypes={[
|
|
53
|
+
hideCompanyActivity={true} // optional
|
|
54
|
+
hideQuestionary={true} // optional
|
|
55
|
+
companyDocumentsTypes={[
|
|
56
|
+
'bank_statement',
|
|
57
|
+
'company_structure',
|
|
58
|
+
'certificate_of_registration',
|
|
59
|
+
'business_license',
|
|
60
|
+
'void_cheque',
|
|
61
|
+
]} // optional
|
|
54
62
|
onComplete={(token: string, data: KYCRequestData | KYBRequestData) => {}}
|
|
55
63
|
onDoneClick={() => {}}
|
|
56
64
|
/>
|