@sanctum-key/react-native-sdk 1.0.0 → 1.0.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 +6 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Sanctumkey KYC SDK
|
|
2
2
|
|
|
3
3
|
A comprehensive React Native SDK for identity verification (KYC - Know Your Customer) with Expo support, featuring advanced camera capabilities powered by react-native-vision-camera.
|
|
4
4
|
|
|
@@ -25,7 +25,7 @@ A comprehensive React Native SDK for identity verification (KYC - Know Your Cust
|
|
|
25
25
|
### Installing Dependencies
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
npm install @
|
|
28
|
+
npm install @sanctum-key/react-native-sdk react-native-vision-camera expo-location expo-image-manipulator react-native-svg
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
### Expo Configuration (app.json / app.config.js)
|
|
@@ -45,7 +45,7 @@ Add the plugin to your Expo configuration file:
|
|
|
45
45
|
}
|
|
46
46
|
],
|
|
47
47
|
[
|
|
48
|
-
"@
|
|
48
|
+
"@sanctum-key/react-native-sdk/plugin",
|
|
49
49
|
{
|
|
50
50
|
"visionCamera": {
|
|
51
51
|
"cameraPermissionText": "This app uses the camera for KYC identity verification.",
|
|
@@ -79,7 +79,7 @@ The recommended approach is to use the JSON template system to configure your KY
|
|
|
79
79
|
|
|
80
80
|
```tsx
|
|
81
81
|
import React from 'react';
|
|
82
|
-
import { LauchTransferGratisKYC } from '@
|
|
82
|
+
import { LauchTransferGratisKYC } from '@sanctum-key/react-native-sdk';
|
|
83
83
|
|
|
84
84
|
export default function App() {
|
|
85
85
|
return (
|
|
@@ -139,7 +139,7 @@ npm run lint
|
|
|
139
139
|
|
|
140
140
|
### Prerequisites
|
|
141
141
|
|
|
142
|
-
- npm account with publish rights for the `@
|
|
142
|
+
- npm account with publish rights for the `@sanctum-key/react-native-sdk` package
|
|
143
143
|
- Node 18+ and npm 9+
|
|
144
144
|
|
|
145
145
|
### Release Steps
|
|
@@ -206,7 +206,7 @@ git push && git push --tags
|
|
|
206
206
|
8. **Verify published version**
|
|
207
207
|
|
|
208
208
|
```bash
|
|
209
|
-
npm info @
|
|
209
|
+
npm info @sanctum-key/react-native-sdk version
|
|
210
210
|
```
|
|
211
211
|
|
|
212
212
|
## 📝 Supported Document Types
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanctum-key/react-native-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Sanctum Key React Native SDK",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -68,4 +68,4 @@
|
|
|
68
68
|
"react-native-svg": "*",
|
|
69
69
|
"react-native-vision-camera": "^4.7.1"
|
|
70
70
|
}
|
|
71
|
-
}
|
|
71
|
+
}
|