ts-ioc-container 44.0.2 → 44.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1416,7 +1416,7 @@ describe('onConstruct', function () {
1416
1416
  it('should run methods and resolve arguments from container', function () {
1417
1417
  const root = new Container()
1418
1418
  .addOnConstructHook((instance, scope) => {
1419
- onConstructHooksRunner.execute(instance as object, { scope });
1419
+ onConstructHooksRunner.execute(instance, { scope });
1420
1420
  })
1421
1421
  .addRegistration(R.fromValue('bmw').bindTo('engine'));
1422
1422
 
@@ -1485,7 +1485,7 @@ describe('onDispose', function () {
1485
1485
  logger.log('Hello');
1486
1486
 
1487
1487
  for (const instance of select.instances().resolve(container)) {
1488
- onDisposeHookRunner.execute(instance as object, { scope: container });
1488
+ onDisposeHookRunner.execute(instance, { scope: container });
1489
1489
  }
1490
1490
 
1491
1491
  expect(container.resolve<LogsRepo>('logsRepo').savedLogs.join(',')).toBe('Hello,world');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-ioc-container",
3
- "version": "44.0.2",
3
+ "version": "44.0.3",
4
4
  "description": "Typescript IoC container",
5
5
  "publishConfig": {
6
6
  "access": "public",