@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.
Binary file
Binary file
Binary file
Binary file
package/dist/commit.txt CHANGED
@@ -1 +1 @@
1
- e246ea258f04d53db832c140a555fa6a12f2aa20
1
+ d5931ca433718a819a6853ae7ea99c1a2c012aae
@@ -1 +1 @@
1
- {"version":3,"file":"templateIdv.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdv.js"],"names":[],"mappings":"AAEO,uDAqHC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAqGV,CAAC"}
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('#loading1');
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('#loading2');
141
+ loading2.mount('#idv-el');
142
142
  });
143
143
 
144
144
  // Log all events for debugging
@@ -1 +1 @@
1
- { "version": "1.7.14-rc.10" }
1
+ { "version": "1.7.14-rc.11" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frankieone/one-sdk",
3
- "version": "1.7.14-rc.10",
3
+ "version": "1.7.14-rc.11",
4
4
  "cliVersion": "0.0.1",
5
5
  "description": "FrankieOne OneSDK",
6
6
  "keywords": [],