@frontegg/rest-api 3.0.124 → 3.0.126
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/auth/index.js +1 -1
- package/auth/interfaces.d.ts +1 -0
- package/index.js +1 -1
- package/node/auth/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +1 -1
package/auth/index.js
CHANGED
|
@@ -211,7 +211,7 @@ export async function preVerifyMFAEmailCode(body) {
|
|
|
211
211
|
return Post(`${urls.identity.auth.v1}/user/mfa/emailcode`, body);
|
|
212
212
|
}
|
|
213
213
|
export async function verifyMFAEmailCode(body) {
|
|
214
|
-
return Post(`${urls.identity.
|
|
214
|
+
return Post(`${urls.identity.auth.v1}/user/mfa/emailcode/verify`, body);
|
|
215
215
|
}
|
|
216
216
|
export async function preEnrollMFASMSForLogin(body) {
|
|
217
217
|
return Post(`${urls.identity.auth.v1}/user/mfa/sms/enroll`, body);
|
package/auth/interfaces.d.ts
CHANGED
package/index.js
CHANGED
package/node/auth/index.js
CHANGED
|
@@ -557,7 +557,7 @@ async function preVerifyMFAEmailCode(body) {
|
|
|
557
557
|
}
|
|
558
558
|
|
|
559
559
|
async function verifyMFAEmailCode(body) {
|
|
560
|
-
return (0, _fetch.Post)(`${_constants.urls.identity.
|
|
560
|
+
return (0, _fetch.Post)(`${_constants.urls.identity.auth.v1}/user/mfa/emailcode/verify`, body);
|
|
561
561
|
}
|
|
562
562
|
|
|
563
563
|
async function preEnrollMFASMSForLogin(body) {
|
package/node/index.js
CHANGED