@modulrfinance/customer-verification-sdk 1.0.0-beta.1 → 1.0.0-beta.2
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/cdn/modulr-customer-verification-sdk.js +1 -1
- package/index.mjs +5 -5
- package/lib/sdk.model.d.ts +5 -5
- package/package.json +34 -34
|
@@ -115,7 +115,7 @@ x-mod-nonce: ${r}`,o=new TextEncoder,i=await globalThis.crypto.subtle.importKey(
|
|
|
115
115
|
<circle class="circle-2" cx="${o}" cy="${o}" r="${s}" stroke-width="${n}"></circle>
|
|
116
116
|
</svg>
|
|
117
117
|
</div>
|
|
118
|
-
`}}function px(){customElements.get(Jn)||customElements.define(Jn,fx)}var X=(t=>(t.NEW="NEW",t.IN_PROGRESS="IN_PROGRESS",t.PENDING_STEP_UP="PENDING_STEP_UP",t.SUBMITTED="SUBMITTED",t.APPROVED="APPROVED",t.DECLINED="DECLINED",t.MANUAL_REVIEW="MANUAL_REVIEW",t))(X||{}),ye=(t=>(t.NEW="NEW",t.IN_PROGRESS="IN_PROGRESS",t.PENDING_STEP_UP="PENDING_STEP_UP",t.SUBMITTED="SUBMITTED",t.APPROVED="APPROVED",t.DECLINED="DECLINED",t.MANUAL_REVIEW="MANUAL_REVIEW",t))(ye||{}),Te=(t=>(t.SUCCESS="SUCCESS",t.ERROR="ERROR",t.OPENED="OPENED",t.CLOSED="CLOSED",t))(Te||{});const hx="0.0.1",wt="CustomerVerificationSDK",J={INIT_SUCCESS:"CustomerVerificationSDK initialized successfully",INIT_FAILED:"Failed to initialize SDK",OPEN_SUCCESS:"Opening Onboarding verification form",OPEN_FORM_SUCCESS:"
|
|
118
|
+
`}}function px(){customElements.get(Jn)||customElements.define(Jn,fx)}var X=(t=>(t.NEW="NEW",t.IN_PROGRESS="IN_PROGRESS",t.PENDING_STEP_UP="PENDING_STEP_UP",t.SUBMITTED="SUBMITTED",t.APPROVED="APPROVED",t.DECLINED="DECLINED",t.MANUAL_REVIEW="MANUAL_REVIEW",t))(X||{}),ye=(t=>(t.NEW="NEW",t.IN_PROGRESS="IN_PROGRESS",t.PENDING_STEP_UP="PENDING_STEP_UP",t.SUBMITTED="SUBMITTED",t.APPROVED="APPROVED",t.DECLINED="DECLINED",t.MANUAL_REVIEW="MANUAL_REVIEW",t))(ye||{}),Te=(t=>(t.SUCCESS="SUCCESS",t.ERROR="ERROR",t.OPENED="OPENED",t.CLOSED="CLOSED",t))(Te||{});const hx="0.0.1",wt="CustomerVerificationSDK",J={INIT_SUCCESS:"CustomerVerificationSDK initialized successfully",INIT_FAILED:"Failed to initialize SDK",OPEN_SUCCESS:"Opening Onboarding verification form",OPEN_FORM_SUCCESS:"The application is ready. Please provide the requested details via API to proceed.",CLOSE_SUCCESS:"SDK closed successfully",FORM_NEW:"The application is ready. Please provide the requested details via API to proceed.",FORM_IN_PROGRESS:"The application is in progress. Please complete and submit the required details via API to continue.",EVENT_NEW:"The application is ready. Please provide the requested details via API to proceed.",EVENT_IN_PROGRESS:"The application is in progress. Please complete and submit the required details via API to continue.",EVENT_PENDING_STEP_UP:"Additional information is required to complete this application. Please provide the requested details to proceed.",EVENT_SUBMITTED:"The application has been submitted and is being processed. No further action is required unless notified. The Customer Verification SDK will now close.",EVENT_APPROVED:"The application has been approved. No further action is required. The Customer Verification SDK will now close.",EVENT_DECLINED:"There has been a problem with this application, please reach out to your Modulr contact for details. No further action is required. The Customer Verification SDK will now close.",EVENT_MANUAL_REVIEW:"The application is under review. No further action is required unless notified. The Customer Verification SDK will now close."};px();const Zn="data-cvs-embedded-styles",mx="data-cvs-dummy-component",Ex="data-cvs-dummy-overlay",gx="data-cvs-spinner-overlay",_x="data-cvs-spinner-component";function lt(t){return{type:Te.ERROR,message:t instanceof Error?t.message:String(t)}}function yx(t){const e=`${Zn}-${t}`;if(document.getElementById(e))return;const n=document.createElement("style");n.id=e,n.setAttribute(Zn,t),n.textContent=`
|
|
119
119
|
#${t} #alloy,
|
|
120
120
|
#${t} .alloy-container {
|
|
121
121
|
display: flex;
|
package/index.mjs
CHANGED
|
@@ -9845,12 +9845,12 @@ const Pu = "0.0.1", yt = "CustomerVerificationSDK", Q = {
|
|
|
9845
9845
|
INIT_SUCCESS: "CustomerVerificationSDK initialized successfully",
|
|
9846
9846
|
INIT_FAILED: "Failed to initialize SDK",
|
|
9847
9847
|
OPEN_SUCCESS: "Opening Onboarding verification form",
|
|
9848
|
-
OPEN_FORM_SUCCESS: "
|
|
9848
|
+
OPEN_FORM_SUCCESS: "The application is ready. Please provide the requested details via API to proceed.",
|
|
9849
9849
|
CLOSE_SUCCESS: "SDK closed successfully",
|
|
9850
|
-
FORM_NEW: "The application is ready. Please provide the requested details to proceed.",
|
|
9851
|
-
FORM_IN_PROGRESS: "The application is in progress. Please complete and submit the required details to continue.",
|
|
9852
|
-
EVENT_NEW: "The application is ready. Please provide the requested details to proceed.",
|
|
9853
|
-
EVENT_IN_PROGRESS: "The application is in progress. Please complete and submit the required details to continue.",
|
|
9850
|
+
FORM_NEW: "The application is ready. Please provide the requested details via API to proceed.",
|
|
9851
|
+
FORM_IN_PROGRESS: "The application is in progress. Please complete and submit the required details via API to continue.",
|
|
9852
|
+
EVENT_NEW: "The application is ready. Please provide the requested details via API to proceed.",
|
|
9853
|
+
EVENT_IN_PROGRESS: "The application is in progress. Please complete and submit the required details via API to continue.",
|
|
9854
9854
|
EVENT_PENDING_STEP_UP: "Additional information is required to complete this application. Please provide the requested details to proceed.",
|
|
9855
9855
|
EVENT_SUBMITTED: "The application has been submitted and is being processed. No further action is required unless notified. The Customer Verification SDK will now close.",
|
|
9856
9856
|
EVENT_APPROVED: "The application has been approved. No further action is required. The Customer Verification SDK will now close.",
|
package/lib/sdk.model.d.ts
CHANGED
|
@@ -87,12 +87,12 @@ export declare const SDK_MESSAGES: {
|
|
|
87
87
|
readonly INIT_SUCCESS: "CustomerVerificationSDK initialized successfully";
|
|
88
88
|
readonly INIT_FAILED: "Failed to initialize SDK";
|
|
89
89
|
readonly OPEN_SUCCESS: "Opening Onboarding verification form";
|
|
90
|
-
readonly OPEN_FORM_SUCCESS: "
|
|
90
|
+
readonly OPEN_FORM_SUCCESS: "The application is ready. Please provide the requested details via API to proceed.";
|
|
91
91
|
readonly CLOSE_SUCCESS: "SDK closed successfully";
|
|
92
|
-
readonly FORM_NEW: "The application is ready. Please provide the requested details to proceed.";
|
|
93
|
-
readonly FORM_IN_PROGRESS: "The application is in progress. Please complete and submit the required details to continue.";
|
|
94
|
-
readonly EVENT_NEW: "The application is ready. Please provide the requested details to proceed.";
|
|
95
|
-
readonly EVENT_IN_PROGRESS: "The application is in progress. Please complete and submit the required details to continue.";
|
|
92
|
+
readonly FORM_NEW: "The application is ready. Please provide the requested details via API to proceed.";
|
|
93
|
+
readonly FORM_IN_PROGRESS: "The application is in progress. Please complete and submit the required details via API to continue.";
|
|
94
|
+
readonly EVENT_NEW: "The application is ready. Please provide the requested details via API to proceed.";
|
|
95
|
+
readonly EVENT_IN_PROGRESS: "The application is in progress. Please complete and submit the required details via API to continue.";
|
|
96
96
|
readonly EVENT_PENDING_STEP_UP: "Additional information is required to complete this application. Please provide the requested details to proceed.";
|
|
97
97
|
readonly EVENT_SUBMITTED: "The application has been submitted and is being processed. No further action is required unless notified. The Customer Verification SDK will now close.";
|
|
98
98
|
readonly EVENT_APPROVED: "The application has been approved. No further action is required. The Customer Verification SDK will now close.";
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@modulrfinance/customer-verification-sdk",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
4
|
-
"description": "Modulr customer verification browser SDK",
|
|
5
|
-
"license": "UNLICENSED",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"modulr",
|
|
8
|
-
"customer-verification",
|
|
9
|
-
"modulrfinance",
|
|
10
|
-
"sdk",
|
|
11
|
-
"browser"
|
|
12
|
-
],
|
|
13
|
-
"files": [
|
|
14
|
-
"index.mjs",
|
|
15
|
-
"index.d.ts",
|
|
16
|
-
"lib/**/*.d.ts",
|
|
17
|
-
"cdn/modulr-customer-verification-sdk.js",
|
|
18
|
-
"README.md"
|
|
19
|
-
],
|
|
20
|
-
"publishConfig": {
|
|
21
|
-
"access": "public",
|
|
22
|
-
"registry": "https://registry.npmjs.org",
|
|
23
|
-
"tag": "beta"
|
|
24
|
-
},
|
|
25
|
-
"sideEffects": false,
|
|
26
|
-
"exports": {
|
|
27
|
-
".": {
|
|
28
|
-
"import": "./index.mjs",
|
|
29
|
-
"types": "./index.d.ts"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"module": "./index.mjs",
|
|
33
|
-
"types": "./index.d.ts"
|
|
34
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@modulrfinance/customer-verification-sdk",
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
|
+
"description": "Modulr customer verification browser SDK",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"modulr",
|
|
8
|
+
"customer-verification",
|
|
9
|
+
"modulrfinance",
|
|
10
|
+
"sdk",
|
|
11
|
+
"browser"
|
|
12
|
+
],
|
|
13
|
+
"files": [
|
|
14
|
+
"index.mjs",
|
|
15
|
+
"index.d.ts",
|
|
16
|
+
"lib/**/*.d.ts",
|
|
17
|
+
"cdn/modulr-customer-verification-sdk.js",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public",
|
|
22
|
+
"registry": "https://registry.npmjs.org",
|
|
23
|
+
"tag": "beta"
|
|
24
|
+
},
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"import": "./index.mjs",
|
|
29
|
+
"types": "./index.d.ts"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"module": "./index.mjs",
|
|
33
|
+
"types": "./index.d.ts"
|
|
34
|
+
}
|