@neofaceid/web-sdk 1.26.0 → 1.26.1
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/index.d.ts +2 -2
- package/dist/neoface-id-sdk.es.js +10 -10
- package/dist/neoface-id-sdk.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1172,7 +1172,7 @@ export declare const registerPersonWithoutFace: (personData: {
|
|
|
1172
1172
|
/**
|
|
1173
1173
|
* Data de lançamento da versão atual
|
|
1174
1174
|
*/
|
|
1175
|
-
export declare const RELEASE_DATE = "2026-
|
|
1175
|
+
export declare const RELEASE_DATE = "2026-09-01";
|
|
1176
1176
|
|
|
1177
1177
|
/**
|
|
1178
1178
|
* Exibe o modal de consentimento e resolve `true` se o titular aceitou,
|
|
@@ -1363,6 +1363,6 @@ export declare const validateToken: (applicationToken: string) => Promise<boolea
|
|
|
1363
1363
|
* MINOR: Incrementado quando adicionamos funcionalidades mantendo compatibilidade
|
|
1364
1364
|
* PATCH: Incrementado quando corrigimos bugs mantendo compatibilidade
|
|
1365
1365
|
*/
|
|
1366
|
-
export declare const VERSION = "1.26.
|
|
1366
|
+
export declare const VERSION = "1.26.1";
|
|
1367
1367
|
|
|
1368
1368
|
export { }
|
|
@@ -4614,7 +4614,7 @@ const completeOnboarding = async (applicationToken, onboardingToken, faceImage,
|
|
|
4614
4614
|
reader.readAsDataURL(compressedDocument);
|
|
4615
4615
|
});
|
|
4616
4616
|
const response = await fetch(
|
|
4617
|
-
`${getApiBaseUrl()}/api/v1/onboardings/${encodeURIComponent(onboardingToken)}/complete
|
|
4617
|
+
`${getApiBaseUrl()}/api/v1/onboardings/${encodeURIComponent(onboardingToken)}/complete/`,
|
|
4618
4618
|
{
|
|
4619
4619
|
method: "POST",
|
|
4620
4620
|
headers: {
|
|
@@ -4700,7 +4700,7 @@ const completeOnboardingWithData = async (applicationToken, onboardingToken, per
|
|
|
4700
4700
|
email: personData.email
|
|
4701
4701
|
};
|
|
4702
4702
|
const response = await fetch(
|
|
4703
|
-
`${getApiBaseUrl()}/api/v1/onboardings/${encodeURIComponent(onboardingToken)}/complete
|
|
4703
|
+
`${getApiBaseUrl()}/api/v1/onboardings/${encodeURIComponent(onboardingToken)}/complete/`,
|
|
4704
4704
|
{
|
|
4705
4705
|
method: "POST",
|
|
4706
4706
|
headers: {
|
|
@@ -4762,7 +4762,7 @@ const recognize = async (image, applicationToken) => {
|
|
|
4762
4762
|
reader.onerror = reject;
|
|
4763
4763
|
reader.readAsDataURL(compressedImage);
|
|
4764
4764
|
});
|
|
4765
|
-
const response = await fetch(`${getApiBaseUrl()}/api/v1/
|
|
4765
|
+
const response = await fetch(`${getApiBaseUrl()}/api/v1/auth/recognition/face/`, {
|
|
4766
4766
|
method: "POST",
|
|
4767
4767
|
headers: {
|
|
4768
4768
|
"Content-Type": "application/json",
|
|
@@ -4881,7 +4881,7 @@ const recognizeBiometric = async (image, applicationToken, livenessCheck = true,
|
|
|
4881
4881
|
reader.onerror = reject;
|
|
4882
4882
|
reader.readAsDataURL(compressedImage);
|
|
4883
4883
|
});
|
|
4884
|
-
const response = await fetch(`${getApiBaseUrl()}/api/v1/
|
|
4884
|
+
const response = await fetch(`${getApiBaseUrl()}/api/v1/auth/recognition/face/`, {
|
|
4885
4885
|
method: "POST",
|
|
4886
4886
|
headers: {
|
|
4887
4887
|
"Content-Type": "application/json",
|
|
@@ -4925,7 +4925,7 @@ const simpleIdentification = async (documentType, documentNumber, applicationTok
|
|
|
4925
4925
|
ensureSecureContext();
|
|
4926
4926
|
const controller = createTimeoutController();
|
|
4927
4927
|
try {
|
|
4928
|
-
const response = await fetch(`${getApiBaseUrl()}/api/v1/
|
|
4928
|
+
const response = await fetch(`${getApiBaseUrl()}/api/v1/auth/recognition/face/`, {
|
|
4929
4929
|
method: "POST",
|
|
4930
4930
|
headers: {
|
|
4931
4931
|
"Content-Type": "application/json",
|
|
@@ -4991,7 +4991,7 @@ const recognizeByPurpose = async (image, applicationToken, purpose, confidenceTh
|
|
|
4991
4991
|
if (signature) {
|
|
4992
4992
|
requestBody.signature = signature;
|
|
4993
4993
|
}
|
|
4994
|
-
const response = await fetch(`${getApiBaseUrl()}/api/v1/
|
|
4994
|
+
const response = await fetch(`${getApiBaseUrl()}/api/v1/auth/recognition/face/`, {
|
|
4995
4995
|
method: "POST",
|
|
4996
4996
|
headers: {
|
|
4997
4997
|
"Content-Type": "application/json",
|
|
@@ -5361,7 +5361,7 @@ const identifyPerson = async (image, applicationToken) => {
|
|
|
5361
5361
|
reader.readAsDataURL(compressedImage);
|
|
5362
5362
|
});
|
|
5363
5363
|
try {
|
|
5364
|
-
const response = await fetch(`${getApiBaseUrl()}/api/v1/auth/recognition/face
|
|
5364
|
+
const response = await fetch(`${getApiBaseUrl()}/api/v1/auth/recognition/face/`, {
|
|
5365
5365
|
method: "POST",
|
|
5366
5366
|
headers: {
|
|
5367
5367
|
"Content-Type": "application/json",
|
|
@@ -5708,7 +5708,7 @@ const startProofOfLife = async (videoBase64, applicationToken) => {
|
|
|
5708
5708
|
ensureSecureContext();
|
|
5709
5709
|
const controller = createTimeoutController();
|
|
5710
5710
|
try {
|
|
5711
|
-
const response = await fetch(`${getApiBaseUrl()}/api/v1/auth/recognition/face
|
|
5711
|
+
const response = await fetch(`${getApiBaseUrl()}/api/v1/auth/recognition/face/`, {
|
|
5712
5712
|
method: "POST",
|
|
5713
5713
|
headers: {
|
|
5714
5714
|
"Content-Type": "application/json",
|
|
@@ -10417,8 +10417,8 @@ const biometricDetection = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
|
|
|
10417
10417
|
initializeBiometricDetection,
|
|
10418
10418
|
isAdvancedDetectionAvailable
|
|
10419
10419
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10420
|
-
const VERSION = "1.26.
|
|
10421
|
-
const RELEASE_DATE = "2026-
|
|
10420
|
+
const VERSION = "1.26.1";
|
|
10421
|
+
const RELEASE_DATE = "2026-09-01";
|
|
10422
10422
|
class OnboardingCaptureModal {
|
|
10423
10423
|
constructor(options) {
|
|
10424
10424
|
__publicField(this, "overlay", null);
|