@migration-planner-ui/ioc 0.0.4 → 0.0.5

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 CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from "./Container";
2
2
  export * from "./Provider";
3
+ export * from "./Context";
3
4
  export * from "./hooks/UseInjection";
4
- export * from './Context';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from "./Container";
2
2
  export * from "./Provider";
3
+ export * from "./Context";
3
4
  export * from "./hooks/UseInjection";
4
- export * from './Context';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@migration-planner-ui/ioc",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "A basic IoC solution for React apps (inspired by InversifyJs)",
5
5
  "author": "Jonathan Kilzi <jkilzi@redhat.com>",
6
6
  "repository": {
@@ -1,4 +1,4 @@
1
1
  import { createContext } from "react";
2
2
  import { Container } from "./Container";
3
3
 
4
- export const Context = createContext<Container | null>(null);
4
+ export const Context = createContext<Container | null>(null);
package/src/Provider.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import { type FC, type PropsWithChildren } from "react";
2
- import { Context } from "./Context";
3
2
  import { Container } from "./Container";
3
+ import { Context } from "./Context";
4
4
 
5
5
  export const Provider: FC<
6
6
  PropsWithChildren<{ container: Container }>
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from "./Container";
2
2
  export * from "./Provider";
3
+ export * from "./Context";
3
4
  export * from "./hooks/UseInjection";
4
- export * from './Context';