@hitachivantara/app-shell-services 2.0.2 → 2.0.3
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/index.d.ts +1 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
|
-
import { ServiceManager as ServiceManager_2 } from '..';
|
|
4
3
|
|
|
5
4
|
export declare type AsyncBaseResult<TData, TError extends ErrorBase = Error, TDataProp extends string = "data", TDataPending extends TData | undefined = undefined> = {
|
|
6
5
|
isPending: boolean;
|
|
@@ -260,7 +259,7 @@ export declare type UseServiceResult<TService> = AsyncResult<TService, Error, "s
|
|
|
260
259
|
*/
|
|
261
260
|
export declare function useServices<TService>(serviceId: ServiceId, options?: UseServicesOptions): UseServicesResult<TService>;
|
|
262
261
|
|
|
263
|
-
export declare const useServicesContext: () =>
|
|
262
|
+
export declare const useServicesContext: () => ServiceManager;
|
|
264
263
|
|
|
265
264
|
/**
|
|
266
265
|
* Options to control services resolution, like error handling strategy.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/app-shell-services",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Hitachi Vantara UI Kit Team",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"access": "public",
|
|
33
33
|
"directory": "package"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "f79885f320f5cdf5b438ef8b2e866965c9626ce7",
|
|
36
36
|
"types": "./dist/index.d.ts",
|
|
37
37
|
"module": "dist/index.js"
|
|
38
38
|
}
|