@needle-di/core 0.7.0 → 0.8.0

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -23,7 +23,7 @@ Needle DI is a lightweight, TypeScript-first library for dependency injection (D
23
23
  Here’s a simple example using constructor injection to inject one service into another.
24
24
 
25
25
  ```typescript
26
- import { injectable, inject } from "needle-di";
26
+ import { injectable, inject } from "@needle-di/core";
27
27
 
28
28
  @injectable()
29
29
  class FooService {}
@@ -39,7 +39,7 @@ The `@injectable` decorator eliminates the need to manually register services. T
39
39
  dependency injection container, and use the `container.get()` method:
40
40
 
41
41
  ```typescript
42
- import { Container } from "needle-di";
42
+ import { Container } from "@needle-di/core";
43
43
 
44
44
  const container = new Container();
45
45
  const barService = container.get(BarService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-di/core",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "A simple TypeScript library for dependency injection",
5
5
  "license": "MIT",
6
6
  "keywords": [