@ha_tecno/live-id-sdk 2.19.5 → 2.19.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.
|
@@ -122,7 +122,7 @@ const lifeCertificate = async ({
|
|
|
122
122
|
formData.append("exposure", exposure);
|
|
123
123
|
const {
|
|
124
124
|
data
|
|
125
|
-
} = await axiosInstance.post("/
|
|
125
|
+
} = await axiosInstance.post("/v2/liveness", formData, {
|
|
126
126
|
headers: {
|
|
127
127
|
"Content-Type": "multipart/form-data",
|
|
128
128
|
Authorization: `Bearer ${TOKEN}`
|
|
@@ -112,7 +112,7 @@ export const lifeCertificate = async ({
|
|
|
112
112
|
formData.append("exposure", exposure);
|
|
113
113
|
const {
|
|
114
114
|
data
|
|
115
|
-
} = await axiosInstance.post("/
|
|
115
|
+
} = await axiosInstance.post("/v2/liveness", formData, {
|
|
116
116
|
headers: {
|
|
117
117
|
"Content-Type": "multipart/form-data",
|
|
118
118
|
Authorization: `Bearer ${TOKEN}`
|
package/package.json
CHANGED
package/src/services/services.ts
CHANGED
|
@@ -127,7 +127,7 @@ export const lifeCertificate = async ({
|
|
|
127
127
|
formData.append("device_model", deviceModel);
|
|
128
128
|
formData.append("exposure", exposure);
|
|
129
129
|
|
|
130
|
-
const { data } = await axiosInstance.post("/
|
|
130
|
+
const { data } = await axiosInstance.post("/v2/liveness", formData, {
|
|
131
131
|
headers: {
|
|
132
132
|
"Content-Type": "multipart/form-data",
|
|
133
133
|
Authorization: `Bearer ${TOKEN}`,
|