@finos/legend-server-depot
Advanced tools
Comparing version 0.0.13 to 0.0.14
# @finos/legend-server-depot | ||
## 0.0.14 | ||
## 0.0.13 | ||
@@ -4,0 +6,0 @@ |
@@ -16,9 +16,10 @@ /** | ||
*/ | ||
/// <reference types="react" /> | ||
import type { DepotServerClientConfig } from './DepotServerClient'; | ||
import { DepotServerClient } from './DepotServerClient'; | ||
export declare const DepotServerClientProvider: ({ children, config, }: { | ||
export declare const DepotServerClientProvider: React.FC<{ | ||
children: React.ReactNode; | ||
config: DepotServerClientConfig; | ||
}) => React.ReactElement; | ||
}>; | ||
export declare const useDepotServerClient: () => DepotServerClient; | ||
//# sourceMappingURL=DepotServerClientProvider.d.ts.map |
@@ -22,3 +22,3 @@ import { jsx as _jsx } from "react/jsx-runtime"; | ||
const DepotServerClientContext = createContext(undefined); | ||
export const DepotServerClientProvider = ({ children, config, }) => { | ||
export const DepotServerClientProvider = ({ children, config }) => { | ||
const depotServerClient = useLocalObservable(() => new DepotServerClient(config)); | ||
@@ -25,0 +25,0 @@ return (_jsx(DepotServerClientContext.Provider, { value: depotServerClient, children: children }, void 0)); |
@@ -16,2 +16,3 @@ /** | ||
*/ | ||
/// <reference types="react" /> | ||
import { DepotServerClient } from './DepotServerClient'; | ||
@@ -22,5 +23,5 @@ export declare const TEST__getTestDepotServerClient: () => DepotServerClient; | ||
} | undefined) => DepotServerClient; | ||
export declare const TEST__DepotServerClientProvider: ({ children, }: { | ||
export declare const TEST__DepotServerClientProvider: React.FC<{ | ||
children: React.ReactNode; | ||
}) => React.ReactElement; | ||
}>; | ||
//# sourceMappingURL=DepotServerClientTestUtils.d.ts.map |
@@ -29,3 +29,3 @@ import { jsx as _jsx } from "react/jsx-runtime"; | ||
}; | ||
export const TEST__DepotServerClientProvider = ({ children, }) => (_jsx(DepotServerClientProvider, { config: { serverUrl: '' }, children: children }, void 0)); | ||
export const TEST__DepotServerClientProvider = ({ children }) => (_jsx(DepotServerClientProvider, { config: { serverUrl: '' }, children: children }, void 0)); | ||
//# sourceMappingURL=DepotServerClientTestUtils.js.map |
{ | ||
"name": "@finos/legend-server-depot", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Legend Depot server client", | ||
@@ -38,4 +38,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@finos/legend-model-storage": "0.0.10", | ||
"@finos/legend-shared": "1.0.0", | ||
"@finos/legend-model-storage": "0.0.11", | ||
"@finos/legend-shared": "1.0.1", | ||
"mobx": "6.3.8", | ||
@@ -47,5 +47,5 @@ "mobx-react-lite": "3.2.2", | ||
"devDependencies": { | ||
"@finos/legend-dev-utils": "0.3.0", | ||
"@finos/legend-dev-utils": "0.3.1", | ||
"cross-env": "7.0.3", | ||
"eslint": "8.3.0", | ||
"eslint": "8.4.0", | ||
"jest": "27.4.3", | ||
@@ -52,0 +52,0 @@ "npm-run-all": "4.1.5", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
75551
1195
+ Added@finos/legend-model-storage@0.0.11(transitive)
+ Added@finos/legend-shared@1.0.1(transitive)
- Removed@finos/legend-model-storage@0.0.10(transitive)
- Removed@finos/legend-shared@1.0.0(transitive)
Updated@finos/legend-shared@1.0.1