@finos_sdk/sdk-ekyc 1.3.4 → 1.3.5
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/android/build.gradle
CHANGED
|
@@ -65,7 +65,7 @@ dependencies {
|
|
|
65
65
|
implementation 'com.facebook.react:react-android'
|
|
66
66
|
|
|
67
67
|
// Finos eKYC SDK dependencies from GitHub Packages Maven repository
|
|
68
|
-
def sdkVersion = "1.3.
|
|
68
|
+
def sdkVersion = "1.3.5.1"
|
|
69
69
|
implementation("finos.sdk.ekyc:ekyc:$sdkVersion")
|
|
70
70
|
implementation("finos.sdk.ekyc:ekycui:$sdkVersion")
|
|
71
71
|
implementation("finos.sdk.ekyc:nfc:$sdkVersion")
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos_sdk/sdk-ekyc",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
4
4
|
"description": "React Native SDK for eKYC - Vietnamese CCCD NFC reading, OCR, Liveness detection, Face matching, and C06, eSign, SmsOTP residence verification",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -42,30 +42,11 @@
|
|
|
42
42
|
"typescript"
|
|
43
43
|
],
|
|
44
44
|
"scripts": {
|
|
45
|
-
"
|
|
46
|
-
"bundle:android": "mkdir -p android/app/src/main/assets && curl -s \"http://localhost:8081/index.bundle?platform=android&dev=false&minify=false\" -o android/app/src/main/assets/index.android.bundle || echo \"⚠️ Metro không chạy, bỏ qua bundle\"",
|
|
47
|
-
"android:log": "npm run build && npm run bundle:android && npx react-native run-android && sleep 8 && npm run log:all",
|
|
48
|
-
"reload": "npm run log:reload",
|
|
49
|
-
"ios": "react-native run-ios",
|
|
50
|
-
"start": "react-native start",
|
|
51
|
-
"reset": "react-native start --reset-cache",
|
|
52
|
-
"clean": "cd android && ./gradlew clean && cd ..",
|
|
53
|
-
"npm-install": "npm install",
|
|
45
|
+
"clear": "rm -rf node_modules && npm cache clean --force && cd android && ./gradlew clean",
|
|
54
46
|
"build": "npx --package=typescript tsc",
|
|
55
|
-
"
|
|
56
|
-
"publish-sdk
|
|
57
|
-
"publish-sdk": "npm run build && npm publish --access public"
|
|
58
|
-
"publish-sdk-version": "npm run build && npm version patch --force && npm publish --access public",
|
|
59
|
-
"prepublishOnly": "npm run build",
|
|
60
|
-
"unpublish:1.2.2": "node -e \"if(process.env.CONFIRM_UNPUBLISH==='YES'){process.exit(0)}else{console.error('Set CONFIRM_UNPUBLISH=YES to confirm');process.exit(1)}\" && npm unpublish @finos_sdk/sdk-ekyc@1.2.2",
|
|
61
|
-
"log:android": "npx react-native log-android",
|
|
62
|
-
"log:ios": "npx react-native log-ios",
|
|
63
|
-
"log:sdk": "./watch-sdk-logs.sh",
|
|
64
|
-
"log:buffer": "./watch-logs-with-buffer.sh",
|
|
65
|
-
"log:native": "./watch-native-logs.sh",
|
|
66
|
-
"log:all": "./watch-all-logs.sh",
|
|
67
|
-
"log:reload": "./reload-and-watch.sh",
|
|
68
|
-
"log:clear": "adb logcat -c && echo '✅ Logs cleared'"
|
|
47
|
+
"publish-sdk-local": "npm install && npm run build &&npm pack",
|
|
48
|
+
"publish-sdk": "npm install && npm run build && npm publish --access public",
|
|
49
|
+
"publish-sdk-version": "npm run build && npm version patch --force && npm publish --access public"
|
|
69
50
|
},
|
|
70
51
|
"dependencies": {
|
|
71
52
|
"react": "18.3.1",
|
|
@@ -36,6 +36,14 @@ export interface ESignSignRequest {
|
|
|
36
36
|
documentName?: string;
|
|
37
37
|
status?: string;
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* eSign Sign Request Info
|
|
41
|
+
*/
|
|
42
|
+
export interface ESignSignRequestConfirm {
|
|
43
|
+
requestId: string;
|
|
44
|
+
authId?: string;
|
|
45
|
+
authData?: string;
|
|
46
|
+
}
|
|
39
47
|
/**
|
|
40
48
|
* eSign Error Result
|
|
41
49
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos_sdk/sdk-ekyc",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
4
4
|
"description": "React Native SDK for eKYC - Vietnamese CCCD NFC reading, OCR, Liveness detection, Face matching, and C06, eSign, SmsOTP residence verification",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -42,30 +42,11 @@
|
|
|
42
42
|
"typescript"
|
|
43
43
|
],
|
|
44
44
|
"scripts": {
|
|
45
|
-
"
|
|
46
|
-
"bundle:android": "mkdir -p android/app/src/main/assets && curl -s \"http://localhost:8081/index.bundle?platform=android&dev=false&minify=false\" -o android/app/src/main/assets/index.android.bundle || echo \"⚠️ Metro không chạy, bỏ qua bundle\"",
|
|
47
|
-
"android:log": "npm run build && npm run bundle:android && npx react-native run-android && sleep 8 && npm run log:all",
|
|
48
|
-
"reload": "npm run log:reload",
|
|
49
|
-
"ios": "react-native run-ios",
|
|
50
|
-
"start": "react-native start",
|
|
51
|
-
"reset": "react-native start --reset-cache",
|
|
52
|
-
"clean": "cd android && ./gradlew clean && cd ..",
|
|
53
|
-
"npm-install": "npm install",
|
|
45
|
+
"clear": "rm -rf node_modules && npm cache clean --force && cd android && ./gradlew clean",
|
|
54
46
|
"build": "npx --package=typescript tsc",
|
|
55
|
-
"
|
|
56
|
-
"publish-sdk
|
|
57
|
-
"publish-sdk": "npm run build && npm publish --access public"
|
|
58
|
-
"publish-sdk-version": "npm run build && npm version patch --force && npm publish --access public",
|
|
59
|
-
"prepublishOnly": "npm run build",
|
|
60
|
-
"unpublish:1.2.2": "node -e \"if(process.env.CONFIRM_UNPUBLISH==='YES'){process.exit(0)}else{console.error('Set CONFIRM_UNPUBLISH=YES to confirm');process.exit(1)}\" && npm unpublish @finos_sdk/sdk-ekyc@1.2.2",
|
|
61
|
-
"log:android": "npx react-native log-android",
|
|
62
|
-
"log:ios": "npx react-native log-ios",
|
|
63
|
-
"log:sdk": "./watch-sdk-logs.sh",
|
|
64
|
-
"log:buffer": "./watch-logs-with-buffer.sh",
|
|
65
|
-
"log:native": "./watch-native-logs.sh",
|
|
66
|
-
"log:all": "./watch-all-logs.sh",
|
|
67
|
-
"log:reload": "./reload-and-watch.sh",
|
|
68
|
-
"log:clear": "adb logcat -c && echo '✅ Logs cleared'"
|
|
47
|
+
"publish-sdk-local": "npm install && npm run build &&npm pack",
|
|
48
|
+
"publish-sdk": "npm install && npm run build && npm publish --access public",
|
|
49
|
+
"publish-sdk-version": "npm run build && npm version patch --force && npm publish --access public"
|
|
69
50
|
},
|
|
70
51
|
"dependencies": {
|
|
71
52
|
"react": "18.3.1",
|
|
@@ -43,6 +43,15 @@ export interface ESignSignRequest {
|
|
|
43
43
|
status?: string;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
/**
|
|
47
|
+
* eSign Sign Request Info
|
|
48
|
+
*/
|
|
49
|
+
export interface ESignSignRequestConfirm {
|
|
50
|
+
requestId: string;
|
|
51
|
+
authId?: string;
|
|
52
|
+
authData?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
46
55
|
/**
|
|
47
56
|
* eSign Error Result
|
|
48
57
|
*/
|