@frankieone/one-sdk 1.7.14-rc.5 → 1.7.14-rc.6

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
- af47490785c4ddefdbe83b73959a8bcb7124b97e
1
+ 9333091e88daedd92f083ebd8e9fc23fc4bf7b81
@@ -1 +1 @@
1
- {"version":3,"file":"templateIdv.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdv.js"],"names":[],"mappings":"AAEO,uDAsFC"}
1
+ {"version":3,"file":"templateIdv.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdv.js"],"names":[],"mappings":"AAEO,uDAoFC"}
@@ -23,9 +23,7 @@ export const templateIdv = (getTokenImpl) => html `<!-- Generated by OneSDK CLI
23
23
 
24
24
  // Initialize OneSDK with configuration
25
25
  const oneSdk = await OneSdk({
26
- session: {
27
- token: sessionToken,
28
- },
26
+ session: sessionToken,
29
27
  mode: 'production',
30
28
  recipe: {
31
29
  form: {
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAsEV,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAoEV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"templateIdvReview.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdvReview.js"],"names":[],"mappings":"AAEO,6DA6HC"}
1
+ {"version":3,"file":"templateIdvReview.d.ts","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdvReview.js"],"names":[],"mappings":"AAEO,6DA2HC"}
@@ -23,9 +23,7 @@ export const templateIdvReview = (getTokenImpl) => html `<!-- Generated by OneSD
23
23
 
24
24
  // Initialize OneSDK with configuration
25
25
  const oneSdk = await OneSdk({
26
- session: {
27
- token: sessionToken,
28
- },
26
+ session: sessionToken,
29
27
  mode: 'production',
30
28
  recipe: {
31
29
  form: {
@@ -1 +1 @@
1
- {"version":3,"file":"templateIdvReview.js","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdvReview.js"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC;AAExB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,YAAY,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;;;;;;;;MAgBjD,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA6GV,CAAC"}
1
+ {"version":3,"file":"templateIdvReview.js","sourceRoot":"","sources":["../../../../../modules/cli/template/templateIdvReview.js"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC;AAExB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,YAAY,EAAE,EAAE,CAAC,IAAI,CAAA;;;;;;;;;;;;;;;;MAgBjD,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2GV,CAAC"}
@@ -45,7 +45,7 @@ Welcome -> Consent -> Personal Details -> Document Upload -> Review -> Result
45
45
  });
46
46
 
47
47
  // Enable debug logging of all OneSDK events
48
- oneSdkInstance.on('*', console.log);
48
+ oneSdk.on('*', console.log);
49
49
 
50
50
  // Get the container where OneSDK UI will be mounted
51
51
  const appContainer = document.querySelector('#idv-el');
@@ -54,35 +54,35 @@ Welcome -> Consent -> Personal Details -> Document Upload -> Review -> Result
54
54
  // Each component is configured with specific options for its purpose
55
55
 
56
56
  // Welcome screen - Initial landing page
57
- const welcome = oneSdkInstance.component('form', {
57
+ const welcome = oneSdk.component('form', {
58
58
  name: 'WELCOME',
59
59
  mode: 'individual',
60
60
  type: 'manual',
61
61
  });
62
62
 
63
63
  // Consent screen - Get user permission
64
- const consent = oneSdkInstance.component('form', {
64
+ const consent = oneSdk.component('form', {
65
65
  name: 'CONSENT',
66
66
  mode: 'individual',
67
67
  type: 'manual',
68
68
  });
69
69
 
70
70
  // Personal details form
71
- const personal = oneSdkInstance.component('form', {
71
+ const personal = oneSdk.component('form', {
72
72
  name: 'PERSONAL',
73
73
  mode: 'individual',
74
74
  type: 'manual',
75
75
  });
76
76
 
77
77
  // Document upload screen
78
- const documents = oneSdkInstance.component('form', {
78
+ const documents = oneSdk.component('form', {
79
79
  name: 'DOCUMENT',
80
80
  mode: 'individual',
81
81
  type: 'manual',
82
82
  });
83
83
 
84
84
  // Review screen - Final verification step
85
- const review = oneSdkInstance.component('form', {
85
+ const review = oneSdk.component('form', {
86
86
  name: 'REVIEW',
87
87
  mode: 'individual',
88
88
  type: 'manual',
@@ -91,7 +91,7 @@ Welcome -> Consent -> Personal Details -> Document Upload -> Review -> Result
91
91
  });
92
92
 
93
93
  // Various result screens based on verification outcome
94
- const success = oneSdkInstance.component('form', {
94
+ const success = oneSdk.component('form', {
95
95
  name: 'RESULT',
96
96
  mode: 'individual',
97
97
  state: 'SUCCESS',
@@ -101,7 +101,7 @@ Welcome -> Consent -> Personal Details -> Document Upload -> Review -> Result
101
101
  },
102
102
  });
103
103
 
104
- const failed = oneSdkInstance.component('form', {
104
+ const failed = oneSdk.component('form', {
105
105
  name: 'RESULT',
106
106
  mode: 'individual',
107
107
  state: 'FAIL',
@@ -111,14 +111,14 @@ Welcome -> Consent -> Personal Details -> Document Upload -> Review -> Result
111
111
  },
112
112
  });
113
113
 
114
- const partial = oneSdkInstance.component('form', {
114
+ const partial = oneSdk.component('form', {
115
115
  name: 'RESULT',
116
116
  mode: 'individual',
117
117
  state: 'PARTIAL',
118
118
  type: 'manual',
119
119
  });
120
120
 
121
- const pending = oneSdkInstance.component('form', {
121
+ const pending = oneSdk.component('form', {
122
122
  name: 'RESULT',
123
123
  mode: 'individual',
124
124
  state: 'PENDING',
@@ -128,7 +128,7 @@ Welcome -> Consent -> Personal Details -> Document Upload -> Review -> Result
128
128
  },
129
129
  });
130
130
 
131
- const retry = oneSdkInstance.component('form', {
131
+ const retry = oneSdk.component('form', {
132
132
  name: 'RETRY',
133
133
  mode: 'individual',
134
134
  type: 'manual',
@@ -1 +1 @@
1
- { "version": "1.7.14-rc.5" }
1
+ { "version": "1.7.14-rc.6" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frankieone/one-sdk",
3
- "version": "1.7.14-rc.5",
3
+ "version": "1.7.14-rc.6",
4
4
  "cliVersion": "0.0.1",
5
5
  "description": "FrankieOne OneSDK",
6
6
  "keywords": [],