assentify-sdk-react-native 0.0.25 → 0.0.26
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 +3 -0
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/assentifysdk/AssentifySdkModule.kt +0 -4
- package/assentify-sdk.podspec +1 -1
- package/ios/NativeAssentifySdk.mm +0 -1
- package/ios/NativeAssentifySdk.swift +0 -3
- package/lib/commonjs/AssentifyWrapper.js +2 -2
- package/lib/commonjs/AssentifyWrapper.js.map +1 -1
- package/lib/module/AssentifyWrapper.js +2 -2
- package/lib/module/AssentifyWrapper.js.map +1 -1
- package/lib/typescript/example/src/Home.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts +1 -1
- package/lib/typescript/lib/commonjs/AssentifyWrapper.d.ts.map +1 -1
- package/lib/typescript/lib/module/AssentifyWrapper.d.ts +1 -1
- package/lib/typescript/lib/module/AssentifyWrapper.d.ts.map +1 -1
- package/lib/typescript/lib/module/index.d.ts +1 -1
- package/lib/typescript/src/AssentifyWrapper.d.ts +1 -1
- package/lib/typescript/src/AssentifyWrapper.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/AssentifyWrapper.ts +0 -2
package/README.md
CHANGED
package/android/build.gradle
CHANGED
|
@@ -99,7 +99,7 @@ dependencies {
|
|
|
99
99
|
implementation "com.facebook.react:react-native:+"
|
|
100
100
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
101
101
|
|
|
102
|
-
implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:0.0.
|
|
102
|
+
implementation 'com.github.AssentifyLTD:Assentify.SDK.Android:0.0.76'
|
|
103
103
|
|
|
104
104
|
/* Assentify Sdk Dependencies */
|
|
105
105
|
implementation 'com.google.code.gson:gson:2.8.9'
|
|
@@ -62,7 +62,6 @@ class AssentifySdkModule(context: ReactApplicationContext) :
|
|
|
62
62
|
instanceHash: String,
|
|
63
63
|
processMrz: Boolean? = null,
|
|
64
64
|
storeCapturedDocument: Boolean? = null,
|
|
65
|
-
performLivenessDocument: Boolean? = null,
|
|
66
65
|
performLivenessFace: Boolean? = null,
|
|
67
66
|
storeImageStream: Boolean? = null,
|
|
68
67
|
saveCapturedVideoID: Boolean? = null,
|
|
@@ -99,7 +98,6 @@ class AssentifySdkModule(context: ReactApplicationContext) :
|
|
|
99
98
|
println("$tag instanceHash: $instanceHash")
|
|
100
99
|
println("$tag processMrz: $processMrz")
|
|
101
100
|
println("$tag storeCapturedDocument: $storeCapturedDocument")
|
|
102
|
-
println("$tag performLivenessDocument: $performLivenessDocument")
|
|
103
101
|
println("$tag performLivenessFace: $performLivenessFace")
|
|
104
102
|
println("$tag storeImageStream: $storeImageStream")
|
|
105
103
|
println("$tag saveCapturedVideoID: $saveCapturedVideoID")
|
|
@@ -158,9 +156,7 @@ class AssentifySdkModule(context: ReactApplicationContext) :
|
|
|
158
156
|
this,
|
|
159
157
|
processMrz,
|
|
160
158
|
storeCapturedDocument,
|
|
161
|
-
performLivenessDocument,
|
|
162
159
|
performLivenessFace,
|
|
163
|
-
performPassiveLivenessFace = null,
|
|
164
160
|
storeImageStream,
|
|
165
161
|
saveCapturedVideoID,
|
|
166
162
|
saveCapturedVideoFace
|
package/assentify-sdk.podspec
CHANGED
|
@@ -8,7 +8,6 @@ RCT_EXTERN_METHOD(initialize: (NSString *)apiKey
|
|
|
8
8
|
instanceHash:(NSString *)interaction
|
|
9
9
|
processMrz:(BOOL *)processMrz
|
|
10
10
|
storeCapturedDocument:(BOOL *)storeCapturedDocument
|
|
11
|
-
performLivenessDocument:(BOOL *)performLivenessDocument
|
|
12
11
|
performLivenessFace:(BOOL *)performLivenessFace
|
|
13
12
|
storeImageStream:(BOOL *)storeImageStream
|
|
14
13
|
saveCapturedVideoID:(BOOL *)saveCapturedVideoID
|
|
@@ -28,7 +28,6 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
|
|
|
28
28
|
instanceHash: String,
|
|
29
29
|
processMrz: Bool = true,
|
|
30
30
|
storeCapturedDocument: Bool = true,
|
|
31
|
-
performLivenessDocument: Bool = false,
|
|
32
31
|
performLivenessFace: Bool = false,
|
|
33
32
|
storeImageStream: Bool = true,
|
|
34
33
|
saveCapturedVideoID: Bool = true,
|
|
@@ -64,7 +63,6 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
|
|
|
64
63
|
print("\(tag) instanceHash: \(instanceHash)")
|
|
65
64
|
print("\(tag) processMrz: \(processMrz)")
|
|
66
65
|
print("\(tag) storeCapturedDocument: \(storeCapturedDocument)")
|
|
67
|
-
print("\(tag) performLivenessDocument: \(performLivenessDocument)")
|
|
68
66
|
print("\(tag) performLivenessFace: \(performLivenessFace)")
|
|
69
67
|
print("\(tag) storeImageStream: \(storeImageStream)")
|
|
70
68
|
print("\(tag) saveCapturedVideoID: \(saveCapturedVideoID)")
|
|
@@ -135,7 +133,6 @@ class NativeAssentifySdk: RCTEventEmitter ,AssentifySdkDelegate , SubmitDataDel
|
|
|
135
133
|
assentifySdkDelegate: self,
|
|
136
134
|
processMrz: processMrz,
|
|
137
135
|
storeCapturedDocument: storeCapturedDocument,
|
|
138
|
-
performLivenessDocument: performLivenessDocument,
|
|
139
136
|
performActiveLivenessFace: performLivenessFace,
|
|
140
137
|
storeImageStream: storeImageStream,
|
|
141
138
|
saveCapturedVideoID: saveCapturedVideoID,
|
|
@@ -19,8 +19,8 @@ const AssentifySdk = _reactNative.NativeModules.NativeAssentifySdk ? _reactNativ
|
|
|
19
19
|
});
|
|
20
20
|
const AssentifyWrapper = {
|
|
21
21
|
/// Initialize
|
|
22
|
-
initialize: function (apiKey, tenantIdentifier, instanceHash, processMrz, storeCapturedDocument,
|
|
23
|
-
AssentifySdk.initialize(apiKey, tenantIdentifier, instanceHash, processMrz ?? true, storeCapturedDocument ?? true,
|
|
22
|
+
initialize: function (apiKey, tenantIdentifier, instanceHash, processMrz, storeCapturedDocument, performLivenessFace, storeImageStream, saveCapturedVideoID, saveCapturedVideoFace, ENV_CustomColor, enableDetect, enableGuide, androidMotionCardLimit, androidMotionPassportLimit, iOSMotionCardsLimit, iOSMotionFaceLimit, androidBrightnessHighThreshold, androidBrightnessLowThreshold, iOSBrightnessHighThreshold, iOSBrightnessLowThreshold, activeLiveType) {
|
|
23
|
+
AssentifySdk.initialize(apiKey, tenantIdentifier, instanceHash, processMrz ?? true, storeCapturedDocument ?? true, performLivenessFace ?? false, storeImageStream ?? true, saveCapturedVideoID ?? true, saveCapturedVideoFace ?? true, ENV_CustomColor ?? '#f5a103', enableDetect ?? true, enableGuide ?? true, androidMotionCardLimit ?? 10, androidMotionPassportLimit ?? 15, iOSMotionCardsLimit ?? 30, iOSMotionFaceLimit ?? 5, androidBrightnessHighThreshold ?? 180, androidBrightnessLowThreshold ?? 50, iOSBrightnessHighThreshold ?? 255, iOSBrightnessLowThreshold ?? 50, activeLiveType ?? "NON");
|
|
24
24
|
},
|
|
25
25
|
/// Passport
|
|
26
26
|
startScanPassport: function (language, stepID) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","NativeAssentifySdk","NativeModules","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","tenantIdentifier","instanceHash","processMrz","storeCapturedDocument","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","NativeAssentifySdk","NativeModules","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","tenantIdentifier","instanceHash","processMrz","storeCapturedDocument","performLivenessFace","storeImageStream","saveCapturedVideoID","saveCapturedVideoFace","ENV_CustomColor","enableDetect","enableGuide","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","kycDocumentDetailsList","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startContextAwareSigning","createUserDocumentInstance","dataMap","signature","submitData","_default","exports"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAIA,MAAMC,aAAa,GACjB,kGAAkG,GAClGC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGC,0BAAa;AAE5C,MAAMC,YAAY,GAAGD,0BAAa,CAACD,kBAAkB,GACjDC,0BAAa,CAACD,kBAAkB,GAChC,IAAIG,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACV,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAEL,MAAMW,gBAAgB,GAAG;EACxB;EACCC,UAAU,EAAE,SAAAA,CACVC,MAAc,EACdC,gBAAwB,EACxBC,YAAoB,EACpBC,UAAoB,EACpBC,qBAA+B,EAC/BC,mBAA6B,EAC7BC,gBAA0B,EAC1BC,mBAA6B,EAC7BC,qBAA+B,EAC/BC,eAAwB,EACxBC,YAAsB,EACtBC,WAAqB,EACrBC,sBAA+B,EAC/BC,0BAAmC,EACnCC,mBAA4B,EAC5BC,kBAA2B,EAC3BC,8BAAuC,EACvCC,6BAAsC,EACtCC,0BAAmC,EACnCC,yBAAkC,EAClCC,cAAuB,EACvB;IACE1B,YAAY,CAACK,UAAU,CACbC,MAAM,EACNC,gBAAgB,EAChBC,YAAY,EACZC,UAAU,IAAI,IAAI,EAClBC,qBAAqB,IAAI,IAAI,EAC7BC,mBAAmB,IAAI,KAAK,EAC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AAC;IAC/D3C,YAAY,CAAC0C,0BAA0B,CAACC,OAAO,CAAC;EACtD,CAAC;EAEDC,SAAS,EAAE,SAAAA,CAAUA,SAAgB,EAAC;IAChC5C,YAAY,CAAC4C,SAAS,CAACA,SAAS,CAAC;EACtC,CAAC;EAGH;EACAC,UAAU,EAAE,SAAAA,CAAUF,OAA8B,EAAE;IACjD3C,YAAY,CAAC6C,UAAU,CAACF,OAAO,CAAC;EACpC;AAMN,CAAC;AAAC,IAAAG,QAAA,GAAAC,OAAA,CAAAlD,OAAA,GAEaO,gBAAgB","ignoreList":[]}
|
|
@@ -13,8 +13,8 @@ const AssentifySdk = NativeModules.NativeAssentifySdk ? NativeModules.NativeAsse
|
|
|
13
13
|
});
|
|
14
14
|
const AssentifyWrapper = {
|
|
15
15
|
/// Initialize
|
|
16
|
-
initialize: function (apiKey, tenantIdentifier, instanceHash, processMrz, storeCapturedDocument,
|
|
17
|
-
AssentifySdk.initialize(apiKey, tenantIdentifier, instanceHash, processMrz ?? true, storeCapturedDocument ?? true,
|
|
16
|
+
initialize: function (apiKey, tenantIdentifier, instanceHash, processMrz, storeCapturedDocument, performLivenessFace, storeImageStream, saveCapturedVideoID, saveCapturedVideoFace, ENV_CustomColor, enableDetect, enableGuide, androidMotionCardLimit, androidMotionPassportLimit, iOSMotionCardsLimit, iOSMotionFaceLimit, androidBrightnessHighThreshold, androidBrightnessLowThreshold, iOSBrightnessHighThreshold, iOSBrightnessLowThreshold, activeLiveType) {
|
|
17
|
+
AssentifySdk.initialize(apiKey, tenantIdentifier, instanceHash, processMrz ?? true, storeCapturedDocument ?? true, performLivenessFace ?? false, storeImageStream ?? true, saveCapturedVideoID ?? true, saveCapturedVideoFace ?? true, ENV_CustomColor ?? '#f5a103', enableDetect ?? true, enableGuide ?? true, androidMotionCardLimit ?? 10, androidMotionPassportLimit ?? 15, iOSMotionCardsLimit ?? 30, iOSMotionFaceLimit ?? 5, androidBrightnessHighThreshold ?? 180, androidBrightnessLowThreshold ?? 50, iOSBrightnessHighThreshold ?? 255, iOSBrightnessLowThreshold ?? 50, activeLiveType ?? "NON");
|
|
18
18
|
},
|
|
19
19
|
/// Passport
|
|
20
20
|
startScanPassport: function (language, stepID) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","NativeAssentifySdk","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","tenantIdentifier","instanceHash","processMrz","storeCapturedDocument","
|
|
1
|
+
{"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","NativeAssentifySdk","AssentifySdk","Proxy","get","Error","AssentifyWrapper","initialize","apiKey","tenantIdentifier","instanceHash","processMrz","storeCapturedDocument","performLivenessFace","storeImageStream","saveCapturedVideoID","saveCapturedVideoFace","ENV_CustomColor","enableDetect","enableGuide","androidMotionCardLimit","androidMotionPassportLimit","iOSMotionCardsLimit","iOSMotionFaceLimit","androidBrightnessHighThreshold","androidBrightnessLowThreshold","iOSBrightnessHighThreshold","iOSBrightnessLowThreshold","activeLiveType","startScanPassport","language","stepID","startScanOther","startScanOtherIDPage","startScanIDCard","kycDocumentDetailsList","flippingCard","startScanIDPage","JSON","stringify","startFaceMatch","imageUrl","showCountDown","startContextAwareSigning","createUserDocumentInstance","dataMap","signature","submitData"],"sourceRoot":"..\\..\\src","sources":["AssentifyWrapper.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAwB,cAAc;AAItE,MAAMC,aAAa,GACjB,kGAAkG,GAClGD,QAAQ,CAACE,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAM;EAAEC;AAAmB,CAAC,GAAGN,aAAa;AAE5C,MAAMO,YAAY,GAAGP,aAAa,CAACM,kBAAkB,GACjDN,aAAa,CAACM,kBAAkB,GAChC,IAAIE,KAAK,CACP,CAAC,CAAC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,CAAUF,QAAsB,EAACC,MAAc,EAAC;IAC7D7B,YAAY,CAAC+B,oBAAoB,CAACH,QAAQ,EAACC,MAAM,CAAC;EACpD,CAAC;EAEF;EACAG,eAAe,EAAE,SAAAA,CAAUC,sBAA4C,EAACL,QAAsB,EAACM,YAAqB,EAACL,MAAc,EAAC;IACjI7B,YAAY,CAACmC,eAAe,CAACC,IAAI,CAACC,SAAS,CAACJ,sBAAsB,CAAC,EAACL,QAAQ,EAACM,YAAY,EAACL,MAAM,CAAC;EACpG,CAAC;EAED;EACCS,cAAc,EAAE,SAAAA,CAAUC,QAAgB,EAACC,aAAsB,EAACX,MAAc,EAAC;IAC3E7B,YAAY,CAACsC,cAAc,CAACC,QAAQ,EAACC,aAAa,EAACX,MAAM,CAAC;EAChE,CAAC;EAGF;EACCY,wBAAwB,EAAE,SAAAA,CAAA,EAAW;IAC9BzC,YAAY,CAACyC,wBAAwB,CAAC,CAAC;EAC7C,CAAC;EAEDC,0BAA0B,EAAE,SAAAA,CAAUC,OAA8B,EAAC;IAC/D3C,YAAY,CAAC0C,0BAA0B,CAACC,OAAO,CAAC;EACtD,CAAC;EAEDC,SAAS,EAAE,SAAAA,CAAUA,SAAgB,EAAC;IAChC5C,YAAY,CAAC4C,SAAS,CAACA,SAAS,CAAC;EACtC,CAAC;EAGH;EACAC,UAAU,EAAE,SAAAA,CAAUF,OAA8B,EAAE;IACjD3C,YAAY,CAAC6C,UAAU,CAACF,OAAO,CAAC;EACpC;AAMN,CAAC;AAED,eAAevC,gBAAgB","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../example/src/Home.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAqBnD,QAAA,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../example/src/Home.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAqBnD,QAAA,MAAM,IAAI,yBAkQT,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const __esModule: boolean;
|
|
2
2
|
export default AssentifyWrapper;
|
|
3
3
|
declare namespace AssentifyWrapper {
|
|
4
|
-
function initialize(apiKey: any, tenantIdentifier: any, instanceHash: any, processMrz: any, storeCapturedDocument: any,
|
|
4
|
+
function initialize(apiKey: any, tenantIdentifier: any, instanceHash: any, processMrz: any, storeCapturedDocument: any, performLivenessFace: any, storeImageStream: any, saveCapturedVideoID: any, saveCapturedVideoFace: any, ENV_CustomColor: any, enableDetect: any, enableGuide: any, androidMotionCardLimit: any, androidMotionPassportLimit: any, iOSMotionCardsLimit: any, iOSMotionFaceLimit: any, androidBrightnessHighThreshold: any, androidBrightnessLowThreshold: any, iOSBrightnessHighThreshold: any, iOSBrightnessLowThreshold: any, activeLiveType: any): void;
|
|
5
5
|
function startScanPassport(language: any, stepID: any): void;
|
|
6
6
|
function startScanOther(language: any, stepID: any): void;
|
|
7
7
|
function startScanIDCard(kycDocumentDetailsList: any, language: any, flippingCard: any, stepID: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../commonjs/AssentifyWrapper.js"],"names":[],"mappings":";;;IAqBc,
|
|
1
|
+
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../commonjs/AssentifyWrapper.js"],"names":[],"mappings":";;;IAqBc,gjBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,2GAEhB;IAEe,8EAEf;IAEyB,0CAEzB;IAC2B,wDAE3B;IACU,yCAEV;IAEW,wCAEX"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default AssentifyWrapper;
|
|
2
2
|
declare namespace AssentifyWrapper {
|
|
3
|
-
function initialize(apiKey: any, tenantIdentifier: any, instanceHash: any, processMrz: any, storeCapturedDocument: any,
|
|
3
|
+
function initialize(apiKey: any, tenantIdentifier: any, instanceHash: any, processMrz: any, storeCapturedDocument: any, performLivenessFace: any, storeImageStream: any, saveCapturedVideoID: any, saveCapturedVideoFace: any, ENV_CustomColor: any, enableDetect: any, enableGuide: any, androidMotionCardLimit: any, androidMotionPassportLimit: any, iOSMotionCardsLimit: any, iOSMotionFaceLimit: any, androidBrightnessHighThreshold: any, androidBrightnessLowThreshold: any, iOSBrightnessHighThreshold: any, iOSBrightnessLowThreshold: any, activeLiveType: any): void;
|
|
4
4
|
function startScanPassport(language: any, stepID: any): void;
|
|
5
5
|
function startScanOther(language: any, stepID: any): void;
|
|
6
6
|
function startScanIDCard(kycDocumentDetailsList: any, language: any, flippingCard: any, stepID: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../module/AssentifyWrapper.js"],"names":[],"mappings":";;IAec,
|
|
1
|
+
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../module/AssentifyWrapper.js"],"names":[],"mappings":";;IAec,gjBAEX;IAEkB,6DAElB;IAEe,0DAEf;IAEgB,2GAEhB;IAEe,8EAEf;IAEyB,0CAEzB;IAC2B,wDAE3B;IACU,yCAEV;IAEW,wCAEX"}
|
|
@@ -3,7 +3,7 @@ export * from "./Language";
|
|
|
3
3
|
export * from "./ActiveLiveType";
|
|
4
4
|
export * from "./AssentifyProvider";
|
|
5
5
|
export const Assentify: {
|
|
6
|
-
initialize: (apiKey: any, tenantIdentifier: any, instanceHash: any, processMrz: any, storeCapturedDocument: any,
|
|
6
|
+
initialize: (apiKey: any, tenantIdentifier: any, instanceHash: any, processMrz: any, storeCapturedDocument: any, performLivenessFace: any, storeImageStream: any, saveCapturedVideoID: any, saveCapturedVideoFace: any, ENV_CustomColor: any, enableDetect: any, enableGuide: any, androidMotionCardLimit: any, androidMotionPassportLimit: any, iOSMotionCardsLimit: any, iOSMotionFaceLimit: any, androidBrightnessHighThreshold: any, androidBrightnessLowThreshold: any, iOSBrightnessHighThreshold: any, iOSBrightnessLowThreshold: any, activeLiveType: any) => void;
|
|
7
7
|
startScanPassport: (language: any, stepID: any) => void;
|
|
8
8
|
startScanOther: (language: any, stepID: any) => void;
|
|
9
9
|
startScanIDCard: (kycDocumentDetailsList: any, language: any, flippingCard: any, stepID: any) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type LanguageCode } from './Language';
|
|
2
2
|
import { type KycDocumentDetails } from './types';
|
|
3
3
|
declare const AssentifyWrapper: {
|
|
4
|
-
initialize: (apiKey: string, tenantIdentifier: string, instanceHash: string, processMrz?: boolean, storeCapturedDocument?: boolean,
|
|
4
|
+
initialize: (apiKey: string, tenantIdentifier: string, instanceHash: string, processMrz?: boolean, storeCapturedDocument?: boolean, performLivenessFace?: boolean, storeImageStream?: boolean, saveCapturedVideoID?: boolean, saveCapturedVideoFace?: boolean, ENV_CustomColor?: string, enableDetect?: boolean, enableGuide?: boolean, androidMotionCardLimit?: number, androidMotionPassportLimit?: number, iOSMotionCardsLimit?: number, iOSMotionFaceLimit?: number, androidBrightnessHighThreshold?: number, androidBrightnessLowThreshold?: number, iOSBrightnessHighThreshold?: number, iOSBrightnessLowThreshold?: number, activeLiveType?: String) => void;
|
|
5
5
|
startScanPassport: (language: LanguageCode, stepID: number) => void;
|
|
6
6
|
startScanOther: (language: LanguageCode, stepID: number) => void;
|
|
7
7
|
startScanIDCard: (kycDocumentDetailsList: KycDocumentDetails[], language: LanguageCode, flippingCard: boolean, stepID: number) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../src/AssentifyWrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAqBlD,QAAA,MAAM,gBAAgB;yBAGV,MAAM,oBACI,MAAM,gBACV,MAAM,eACP,OAAO,0BACI,OAAO,
|
|
1
|
+
{"version":3,"file":"AssentifyWrapper.d.ts","sourceRoot":"","sources":["../../../src/AssentifyWrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAqBlD,QAAA,MAAM,gBAAgB;yBAGV,MAAM,oBACI,MAAM,gBACV,MAAM,eACP,OAAO,0BACI,OAAO,wBACT,OAAO,qBACV,OAAO,wBACJ,OAAO,0BACL,OAAO,oBACb,MAAM,iBACT,OAAO,gBACR,OAAO,2BACI,MAAM,+BACF,MAAM,wBACb,MAAM,uBACP,MAAM,mCACM,MAAM,kCACP,MAAM,+BACT,MAAM,8BACP,MAAM,mBACjB,MAAM;kCA4Be,YAAY,UAAS,MAAM;+BAK7B,YAAY,UAAS,MAAM;8CAKZ,kBAAkB,EAAE,YAAW,YAAY,gBAAe,OAAO,UAAS,MAAM;+BAK9F,MAAM,iBAAgB,OAAO,UAAS,MAAM;;0CAUjC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;2BAIrC,MAAM;0BAMR,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAQxD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -2,7 +2,7 @@ export * from './types';
|
|
|
2
2
|
export * from './Language';
|
|
3
3
|
export * from './ActiveLiveType';
|
|
4
4
|
export declare const Assentify: {
|
|
5
|
-
initialize: (apiKey: string, tenantIdentifier: string, instanceHash: string, processMrz?: boolean, storeCapturedDocument?: boolean,
|
|
5
|
+
initialize: (apiKey: string, tenantIdentifier: string, instanceHash: string, processMrz?: boolean, storeCapturedDocument?: boolean, performLivenessFace?: boolean, storeImageStream?: boolean, saveCapturedVideoID?: boolean, saveCapturedVideoFace?: boolean, ENV_CustomColor?: string, enableDetect?: boolean, enableGuide?: boolean, androidMotionCardLimit?: number, androidMotionPassportLimit?: number, iOSMotionCardsLimit?: number, iOSMotionFaceLimit?: number, androidBrightnessHighThreshold?: number, androidBrightnessLowThreshold?: number, iOSBrightnessHighThreshold?: number, iOSBrightnessLowThreshold?: number, activeLiveType?: String) => void;
|
|
6
6
|
startScanPassport: (language: import("./Language").LanguageCode, stepID: number) => void;
|
|
7
7
|
startScanOther: (language: import("./Language").LanguageCode, stepID: number) => void;
|
|
8
8
|
startScanIDCard: (kycDocumentDetailsList: import("./types").KycDocumentDetails[], language: import("./Language").LanguageCode, flippingCard: boolean, stepID: number) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "assentify-sdk-react-native",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"description": "This package provides integration with Assentify's services, allowing developers to incorporate Assentify functionalities seamlessly into their applications.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
package/src/AssentifyWrapper.ts
CHANGED
|
@@ -29,7 +29,6 @@ const AssentifyWrapper = {
|
|
|
29
29
|
instanceHash: string,
|
|
30
30
|
processMrz?: boolean,
|
|
31
31
|
storeCapturedDocument?: boolean,
|
|
32
|
-
performLivenessDocument?: boolean,
|
|
33
32
|
performLivenessFace?: boolean,
|
|
34
33
|
storeImageStream?: boolean,
|
|
35
34
|
saveCapturedVideoID?: boolean,
|
|
@@ -53,7 +52,6 @@ const AssentifyWrapper = {
|
|
|
53
52
|
instanceHash,
|
|
54
53
|
processMrz ?? true,
|
|
55
54
|
storeCapturedDocument ?? true,
|
|
56
|
-
performLivenessDocument ?? false,
|
|
57
55
|
performLivenessFace ?? false,
|
|
58
56
|
storeImageStream ?? true,
|
|
59
57
|
saveCapturedVideoID ?? true,
|