@universal-packages/dynamic-api
Advanced tools
Comparing version 1.6.5 to 1.7.0
@@ -11,3 +11,5 @@ "use strict"; | ||
if (this.options.debug && process.env['NODE_ENV'] !== 'test' && process.env['NODE_ENV'] !== 'development') { | ||
this.emit('warning', { message: `dynamic api (${this.options.apiName || this.constructor.name || 'unnamed'}) debug mode is enabled` }); | ||
const message = `dynamic api (${this.options.apiName || this.constructor.name || 'unnamed'}) debug mode is enabled`; | ||
this.emit('*', { event: 'warning', payload: { message } }); | ||
this.emit('warning', { event: 'warning', payload: { message } }); | ||
} | ||
@@ -14,0 +16,0 @@ } |
{ | ||
"name": "@universal-packages/dynamic-api", | ||
"version": "1.6.5", | ||
"version": "1.7.0", | ||
"description": "Dynamic decoupling-adapting system", | ||
@@ -25,3 +25,3 @@ "author": "David De Anda <david@universal-packages.com> (https://github.com/universal-packages)", | ||
"@types/node": "^17.0.39", | ||
"@universal-packages/maintenance": "^1.0.2", | ||
"@universal-packages/maintenance": "^1.2.2", | ||
"jest": "^29.6.4", | ||
@@ -28,0 +28,0 @@ "jest-circus": "^29.6.4", |
@@ -44,3 +44,3 @@ # Dynamic API | ||
- **`dynamicsLocation`** `Required` `String` `default: ./src` | ||
- **`dynamicsLocation`** `Required` `String` `default: './src'` | ||
Where to look up for dynamics to load. | ||
@@ -47,0 +47,0 @@ - **`namespace`** `String` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33101
313