ts-ioc-container 27.2.0 → 27.2.1

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 +1 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -130,9 +130,7 @@ describe('Basic usage', function () {
130
130
 
131
131
  it('should not raise an error when key is busy', () => {
132
132
  expect(() => {
133
- new Container(new ReflectionInjector())
134
- .use(Registration.fromClass(Logger).assignTo('ILogger'))
135
- .use(Registration.fromClass(Logger).assignTo('ILogger'));
133
+ new Container(new ReflectionInjector()).use(Registration.fromClass(Logger)).use(Registration.fromClass(Logger));
136
134
  }).not.toThrowError(RegistrationConflictError);
137
135
  });
138
136
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-ioc-container",
3
- "version": "27.2.0",
3
+ "version": "27.2.1",
4
4
  "description": "Typescript IoC container",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -60,5 +60,5 @@
60
60
  "ts-node": "^10.9.1",
61
61
  "typescript": "4.4.3"
62
62
  },
63
- "gitHead": "24f9e47646271367a7a000814c6fc4f7470d3bf5"
63
+ "gitHead": "e01a8df7f3eb7ad5563f9f9185c25bbe171e4af7"
64
64
  }