gbc-kyc-kit 3.0.5 → 3.0.7
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
|
@@ -12667,7 +12667,7 @@ const ENVIRONMENTS = {
|
|
|
12667
12667
|
sand: {
|
|
12668
12668
|
auth: {}.VITE_AUTH_URL_SANDBOX,
|
|
12669
12669
|
product: "https://gbc-py-core-sandbox-api-products-rtm3lv2joa-uc.a.run.app/",
|
|
12670
|
-
services: "
|
|
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/",
|
|
@@ -18327,8 +18327,7 @@ const BlackListController = (clientId, authorize, inProduction, source2, eventId
|
|
|
18327
18327
|
const res = await authorize();
|
|
18328
18328
|
const customHeaders = {
|
|
18329
18329
|
client_id: clientId,
|
|
18330
|
-
access_token: res
|
|
18331
|
-
Authorization: "Bearer WGpKbGFSNlJXV29hVnFqVjlIbA=="
|
|
18330
|
+
access_token: res
|
|
18332
18331
|
};
|
|
18333
18332
|
const parseReq = {
|
|
18334
18333
|
method: "POST",
|
|
@@ -40875,8 +40874,7 @@ const FaceMatchController = (dataFaceMatch, clientId, eventId, source2, authoriz
|
|
|
40875
40874
|
const res = await authorize();
|
|
40876
40875
|
const customHeaders = {
|
|
40877
40876
|
client_id: clientId,
|
|
40878
|
-
access_token: res
|
|
40879
|
-
Authorization: "Bearer WGpKbGFSNlJXV29hVnFqVjlIbA=="
|
|
40877
|
+
access_token: res
|
|
40880
40878
|
};
|
|
40881
40879
|
try {
|
|
40882
40880
|
const res2 = await fetchFaceMatch(picBase64, url, inProduction, customHeaders);
|
|
@@ -41189,8 +41187,7 @@ const LivenessController = (clientId, eventId, source2, inProduction, countryCod
|
|
|
41189
41187
|
try {
|
|
41190
41188
|
const customHeaders = {
|
|
41191
41189
|
client_id: clientId,
|
|
41192
|
-
access_token: token2
|
|
41193
|
-
Authorization: "Bearer WGpKbGFSNlJXV29hVnFqVjlIbA=="
|
|
41190
|
+
access_token: token2
|
|
41194
41191
|
};
|
|
41195
41192
|
try {
|
|
41196
41193
|
faceMatch ? await fetchFaceMatch(faceMatch, `data:image/jpeg;base64,${data2.images[0]}`, inProduction, customHeaders).then((res) => {
|