@uappi/public-sdk 1.1.28 → 1.1.30

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.
@@ -81,7 +81,7 @@ import { upsells } from './endpoints/UpsellComposable'
81
81
  import { contact } from './endpoints/PublicComposable'
82
82
  import { oauthRedirect } from './endpoints/ThirdPartyComposable';
83
83
 
84
- import { sendMfa } from './endpoints/MFAComposable';
84
+ import { sendMfa, confirmMfa } from './endpoints/MFAComposable';
85
85
 
86
86
 
87
87
  import { usePublicApi } from './usePublicApi';
@@ -132,7 +132,8 @@ const customer = {
132
132
  detailWishlist,
133
133
  addProductToWishlist,
134
134
  removeProductToWishlist,
135
- sendMfa
135
+ sendMfa,
136
+ confirmMfa
136
137
  };
137
138
 
138
139
  const cart = {
@@ -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.28",
3
+ "version": "1.1.30",
4
4
  "description": "Pacotes públicos para desenvolvimento do ecossistema Uappi",
5
5
  "main": "main.ts",
6
6
  "scripts": {