gbc-kyc-kit 3.0.2 → 3.0.4
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/gbc-kyc-kit.es.js
CHANGED
|
@@ -12666,8 +12666,8 @@ var axios = axios$2.exports;
|
|
|
12666
12666
|
const ENVIRONMENTS = {
|
|
12667
12667
|
sand: {
|
|
12668
12668
|
auth: {}.VITE_AUTH_URL_SANDBOX,
|
|
12669
|
-
product: "
|
|
12670
|
-
services: "
|
|
12669
|
+
product: "https://gbc-py-core-sandbox-api-products-rtm3lv2joa-uc.a.run.app/",
|
|
12670
|
+
services: "https://gbc-py-core-sandbox-kyc-kit-api-rtm3lv2joa-uc.a.run.app/"
|
|
12671
12671
|
},
|
|
12672
12672
|
stg: {
|
|
12673
12673
|
auth: "https://gbc-py-core-staging-api-authentication-rtm3lv2joa-uc.a.run.app/",
|
|
@@ -18155,8 +18155,8 @@ const saveDataToDB = async ({ data: data2, component, eventId, inProduction, sou
|
|
|
18155
18155
|
method: "POST",
|
|
18156
18156
|
inProduction,
|
|
18157
18157
|
path: `api-hub/v1/events/register/${component}/${source2}/${clientId}/${eventId}`,
|
|
18158
|
-
service: "product",
|
|
18159
18158
|
bodyParams: data2,
|
|
18159
|
+
service: "product",
|
|
18160
18160
|
customHeaders
|
|
18161
18161
|
};
|
|
18162
18162
|
try {
|
|
@@ -18358,8 +18358,9 @@ const BlackListController = (clientId, authorize, inProduction, source2, eventId
|
|
|
18358
18358
|
};
|
|
18359
18359
|
const parseReq = {
|
|
18360
18360
|
method: "POST",
|
|
18361
|
-
path: "api/v1/
|
|
18361
|
+
path: "api/v1/providers/acuant/search_batch",
|
|
18362
18362
|
customHeaders,
|
|
18363
|
+
service: "services",
|
|
18363
18364
|
inProduction,
|
|
18364
18365
|
bodyParams: {
|
|
18365
18366
|
csvFile
|
|
@@ -40584,6 +40585,7 @@ function DocumentReader({
|
|
|
40584
40585
|
uploadDocumentByPhone,
|
|
40585
40586
|
setUploadDocumentByPhone
|
|
40586
40587
|
} = DocumentReaderController(dataDocument, clientId, authorize, eventId, source2, inProduction, countryCodeAllowed, validateVpn, successMessage, dualModeRequired);
|
|
40588
|
+
console.log(isLoading, countryCodeAllowed, countryCode);
|
|
40587
40589
|
console.log(isLoading, countryCodeAllowed !== null, !countryCode);
|
|
40588
40590
|
return /* @__PURE__ */ jsxs("div", {
|
|
40589
40591
|
className: `kit-gbc ${mode} without-shadow ocr`,
|
|
@@ -40657,8 +40659,8 @@ const fetchFaceMatch = async (faceMatch, selfie, inProduction, customHeaders) =>
|
|
|
40657
40659
|
method: "POST",
|
|
40658
40660
|
path: "api/v1/onboarding/face_match",
|
|
40659
40661
|
inProduction,
|
|
40660
|
-
service: "services",
|
|
40661
40662
|
customHeaders,
|
|
40663
|
+
service: "services",
|
|
40662
40664
|
bodyParams: {
|
|
40663
40665
|
doc: faceMatch,
|
|
40664
40666
|
selfie
|