identity-admin-ui 1.8.13 → 1.8.14

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.
@@ -13,6 +13,7 @@ declare const ResourcesContext: import("react").Context<{
13
13
  resources: ResourceResponse;
14
14
  getResources: () => void;
15
15
  state: RequestState;
16
+ clearResources: () => void;
16
17
  }>;
17
18
  export interface ResourcesContextConfig {
18
19
  resourcesUrl: string;
@@ -12,5 +12,6 @@ declare function useApi<T>(): {
12
12
  post: (requstConfig: RequestConfig) => void;
13
13
  patch: (requstConfig: RequestConfig) => void;
14
14
  remove: (requstConfig: RequestConfig) => void;
15
+ revertToIdle: () => void;
15
16
  };
16
17
  export { useApi };
@@ -2,4 +2,5 @@ export declare const useResources: () => {
2
2
  resources: import("../context").ResourceResponse;
3
3
  getResources: () => void;
4
4
  state: import("./RequetState").RequestState;
5
+ clearResources: () => void;
5
6
  };
package/lib/index.d.ts CHANGED
@@ -261,6 +261,7 @@ declare const ResourcesContext: react.Context<{
261
261
  resources: ResourceResponse;
262
262
  getResources: () => void;
263
263
  state: RequestState;
264
+ clearResources: () => void;
264
265
  }>;
265
266
  interface ResourcesContextConfig {
266
267
  resourcesUrl: string;
@@ -501,6 +502,7 @@ declare function useApi<T>(): {
501
502
  post: (requstConfig: RequestConfig) => void;
502
503
  patch: (requstConfig: RequestConfig) => void;
503
504
  remove: (requstConfig: RequestConfig) => void;
505
+ revertToIdle: () => void;
504
506
  };
505
507
 
506
508
  declare function useNavData(): {
@@ -523,6 +525,7 @@ declare const useResources: () => {
523
525
  resources: ResourceResponse;
524
526
  getResources: () => void;
525
527
  state: RequestState;
528
+ clearResources: () => void;
526
529
  };
527
530
 
528
531
  declare const useCredentials: () => CredentialKeys;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin-ui",
3
- "version": "1.8.13",
3
+ "version": "1.8.14",
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",