identity-admin-ui 1.8.24 → 1.8.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.
@@ -5,6 +5,8 @@ export interface RequestConfig {
5
5
  body?: any;
6
6
  axiosRequestConfig?: AxiosRequestConfig;
7
7
  query?: any;
8
+ onSuccess?: (data: any) => void;
9
+ onError?: (error: any) => void;
8
10
  }
9
11
  declare function useApi<T>(): {
10
12
  requestState: IState<T>;
package/lib/index.d.ts CHANGED
@@ -495,6 +495,8 @@ interface RequestConfig {
495
495
  body?: any;
496
496
  axiosRequestConfig?: AxiosRequestConfig;
497
497
  query?: any;
498
+ onSuccess?: (data: any) => void;
499
+ onError?: (error: any) => void;
498
500
  }
499
501
  declare function useApi<T>(): {
500
502
  requestState: IState<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin-ui",
3
- "version": "1.8.24",
3
+ "version": "1.8.25",
4
4
  "description": "Identity solutions UI package using for identity-admin dashboard",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.js",