moost 0.5.6 → 0.5.7

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
@@ -116,8 +116,8 @@ function getNewMoostInfact() {
116
116
  case 'new-instance': {
117
117
  const scope = getMoostMate().read(targetClass)?.injectable || 'SINGLETON';
118
118
  if (loggingOptions.newInstance === false ||
119
- loggingOptions.newInstance === scope ||
120
- (loggingOptions.newInstance === 'SINGLETON' && scope === true)) {
119
+ !(loggingOptions.newInstance === scope ||
120
+ (loggingOptions.newInstance === 'SINGLETON' && scope === true))) {
121
121
  return;
122
122
  }
123
123
  break;
package/dist/index.mjs CHANGED
@@ -118,8 +118,8 @@ function getNewMoostInfact() {
118
118
  case 'new-instance': {
119
119
  const scope = getMoostMate().read(targetClass)?.injectable || 'SINGLETON';
120
120
  if (loggingOptions.newInstance === false ||
121
- loggingOptions.newInstance === scope ||
122
- (loggingOptions.newInstance === 'SINGLETON' && scope === true)) {
121
+ !(loggingOptions.newInstance === scope ||
122
+ (loggingOptions.newInstance === 'SINGLETON' && scope === true))) {
123
123
  return;
124
124
  }
125
125
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moost",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "moost",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",