@uappi/public-sdk 1.1.29 → 1.1.31

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.
@@ -12,7 +12,7 @@ export function sendMfa(payload: RequestSendMFA) {
12
12
 
13
13
  export function confirmMfa(payload: RequestConfirmMFA) {
14
14
  return usePublicApi<true>({
15
- endpoint: '/customer/login/mfa/send',
15
+ endpoint: '/customer/mfa/app/confirm',
16
16
  method: 'POST',
17
17
  payload
18
18
  });
@@ -6,7 +6,7 @@ export interface RequestSendMFA {
6
6
  export interface RequestConfirmMFA {
7
7
  mfaToken: string;
8
8
  mfaOptionId: number;
9
- code: number;
9
+ code: string;
10
10
  }
11
11
 
12
12
  export interface MFAOption {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uappi/public-sdk",
3
- "version": "1.1.29",
3
+ "version": "1.1.31",
4
4
  "description": "Pacotes públicos para desenvolvimento do ecossistema Uappi",
5
5
  "main": "main.ts",
6
6
  "scripts": {