moost 0.3.33 → 0.3.34

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.cjs CHANGED
@@ -726,7 +726,7 @@ class Moost {
726
726
  }
727
727
  else if (!isControllerConsructor) {
728
728
  instance = controller;
729
- infact.setProvideRegByInstance(instance, provide);
729
+ infact.setInstanceRegistries(instance, provide, replace);
730
730
  }
731
731
  const getInstance = instance
732
732
  ? () => Promise.resolve(instance)
package/dist/index.mjs CHANGED
@@ -727,7 +727,7 @@ class Moost {
727
727
  }
728
728
  else if (!isControllerConsructor) {
729
729
  instance = controller;
730
- infact.setProvideRegByInstance(instance, provide);
730
+ infact.setInstanceRegistries(instance, provide, replace);
731
731
  }
732
732
  const getInstance = instance
733
733
  ? () => Promise.resolve(instance)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moost",
3
- "version": "0.3.33",
3
+ "version": "0.3.34",
4
4
  "description": "moost",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -31,7 +31,7 @@
31
31
  "prostojs"
32
32
  ],
33
33
  "dependencies": {
34
- "@prostojs/infact": "^0.1.14",
34
+ "@prostojs/infact": "^0.2.0",
35
35
  "@prostojs/mate": "^0.3.2",
36
36
  "@prostojs/logger": "^0.4.0",
37
37
  "@wooksjs/event-core": "^0.4.34",