affiliate-front-shared 1.3.23 → 1.3.25
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/dist/components/popup-mfa/mfa-all-popups/DisableAuthenticator.d.ts +1 -1
- package/dist/components/popup-mfa/mfa-all-popups/SelectMFAMethod.d.ts +1 -1
- package/dist/components/popup-mfa/mfa-all-popups/index.d.ts +5 -3
- package/dist/index.cjs +23 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +278 -269
- package/dist/index.mjs.map +1 -1
- package/dist/utils/PackageServicesProvider.d.ts +3 -4
- package/package.json +1 -2
|
@@ -39,10 +39,9 @@ export interface PackageServices {
|
|
|
39
39
|
}>;
|
|
40
40
|
saveMyFilter?: (filterType: string, name: string, value: string) => Promise<SuccessResponse>;
|
|
41
41
|
deleteMyFilter?: (id: number) => Promise<SuccessResponse>;
|
|
42
|
-
|
|
42
|
+
enableTwoFactorService?: () => Promise<TwoFactorInitResponse>;
|
|
43
43
|
initiateMFA?: () => Promise<MFASetupResponse>;
|
|
44
44
|
verifyMFA?: (otpValue: string) => Promise<SuccessResponse>;
|
|
45
|
-
disableMFA?: (password: string) => Promise<SuccessResponse>;
|
|
46
45
|
confirmTwoFactor?: (params: {
|
|
47
46
|
confirmationToken: string;
|
|
48
47
|
code: string;
|
|
@@ -72,9 +71,9 @@ export interface PackageServices {
|
|
|
72
71
|
* and pass in all the API functions your project implements.
|
|
73
72
|
*
|
|
74
73
|
* Example:
|
|
75
|
-
* import {
|
|
74
|
+
* import { enableTwoFactorService, getMyFilters } from './services/myApi';
|
|
76
75
|
*
|
|
77
|
-
* <PackageServicesProvider services={{
|
|
76
|
+
* <PackageServicesProvider services={{ enableTwoFactorService, getMyFilters }}>
|
|
78
77
|
* <App />
|
|
79
78
|
* </PackageServicesProvider>
|
|
80
79
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "affiliate-front-shared",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"@geist-ui/react": "^2.2.5",
|
|
28
28
|
"@react-oauth/google": "^0.13.4",
|
|
29
29
|
"antd": "^5.24.2",
|
|
30
|
-
"axios": "^1.8.2",
|
|
31
30
|
"echarts": "^5.6.0",
|
|
32
31
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
33
32
|
"i18next-http-backend": "^3.0.2",
|