@frankieone/one-sdk 1.7.14-rc.10 → 1.7.14-rc.11
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/dist/cli/darwin-amd64/onesdk-cli +0 -0
- package/dist/cli/darwin-arm64/onesdk-cli +0 -0
- package/dist/cli/linux-amd64/onesdk-cli +0 -0
- package/dist/cli/linux-arm64/onesdk-cli +0 -0
- package/dist/cli/windows-amd64/onesdk-cli.exe +0 -0
- package/dist/commit.txt +1 -1
- package/dist/esm/modules/cli/template/templateIdv.d.ts.map +1 -1
- package/dist/esm/modules/cli/template/templateIdv.js +1 -12
- package/dist/esm/modules/cli/template/templateIdv.js.map +1 -1
- package/dist/esm/modules/cli/template/templateIdvReview.js +2 -2
- package/dist/esm/modules/meta.json +1 -1
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/commit.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
d5931ca433718a819a6853ae7ea99c1a2c012aae
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateIdv.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdv.js"],"names":[],"mappings":"AAEO,
|
|
1
|
+
{"version":3,"file":"templateIdv.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdv.js"],"names":[],"mappings":"AAEO,uDA0GC"}
|
|
@@ -60,18 +60,6 @@ export const templateIdv = (getTokenImpl) => html `<!-- Generated by OneSDK CLI
|
|
|
60
60
|
type: "manual",
|
|
61
61
|
});
|
|
62
62
|
|
|
63
|
-
review.on('form:review:ready', async () => {
|
|
64
|
-
try {
|
|
65
|
-
// Submit the review form and run verification
|
|
66
|
-
let res = oneSdkIndividual.submit({ verify: true });
|
|
67
|
-
console.log('submit and run verification result: ', res);
|
|
68
|
-
successScreen.mount('#idv-el');
|
|
69
|
-
} catch (error) {
|
|
70
|
-
console.error(error);
|
|
71
|
-
failedScreen.mount('#idv-el');
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
|
|
75
63
|
// Mount the IDV flow to the container element
|
|
76
64
|
idv.mount('#idv-el');
|
|
77
65
|
|
|
@@ -84,6 +72,7 @@ export const templateIdv = (getTokenImpl) => html `<!-- Generated by OneSDK CLI
|
|
|
84
72
|
idv.on('results', async ({ checkStatus, document, entityId }) => {
|
|
85
73
|
if (checkStatus) {
|
|
86
74
|
console.log('results succesful');
|
|
75
|
+
successScreen.mount("#idv-el");
|
|
87
76
|
} else {
|
|
88
77
|
console.log('no data returned');
|
|
89
78
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateIdv.js","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdv.js"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC;AAExB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,YAAY,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;;;;;;;;MAgB3C,YAAY
|
|
1
|
+
{"version":3,"file":"templateIdv.js","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdv.js"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC;AAExB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,YAAY,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;;;;;;;;MAgB3C,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA0FV,CAAC"}
|
|
@@ -105,7 +105,7 @@ export const templateIdvReview = (getTokenImpl) => html `<!-- Generated by OneSD
|
|
|
105
105
|
idv.on('loading', (display) => {
|
|
106
106
|
if (display) {
|
|
107
107
|
if (before) {
|
|
108
|
-
loading1.mount('#
|
|
108
|
+
loading1.mount('#idv-el');
|
|
109
109
|
}
|
|
110
110
|
} else {
|
|
111
111
|
if (before) {
|
|
@@ -138,7 +138,7 @@ export const templateIdvReview = (getTokenImpl) => html `<!-- Generated by OneSD
|
|
|
138
138
|
idv.on('detection_complete', (message) => {
|
|
139
139
|
console.log('capture finished');
|
|
140
140
|
console.log(message);
|
|
141
|
-
loading2.mount('#
|
|
141
|
+
loading2.mount('#idv-el');
|
|
142
142
|
});
|
|
143
143
|
|
|
144
144
|
// Log all events for debugging
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "version": "1.7.14-rc.
|
|
1
|
+
{ "version": "1.7.14-rc.11" }
|