@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("/v1/liveness", formData, {
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("/v1/liveness", formData, {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ha_tecno/live-id-sdk",
3
- "version": "2.19.5",
3
+ "version": "2.19.6",
4
4
  "description": "React Native SDK for Live ID",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -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("/v1/liveness", formData, {
130
+ const { data } = await axiosInstance.post("/v2/liveness", formData, {
131
131
  headers: {
132
132
  "Content-Type": "multipart/form-data",
133
133
  Authorization: `Bearer ${TOKEN}`,