# 1.0.28
- Fixes: - communication.layer.events: -> fixing receivingOwnMessages. - runNopeBackend -> if io-server is used, no configuration file is loaded
This commit is contained in:
parent
60c4c4fe6e
commit
44dcfee9a5
@ -22,4 +22,9 @@ Inital commit, which is working with the browser
|
||||
- helpers.jsonSchemaMethods: -> renamed flatten to nested.
|
||||
- Added:
|
||||
- helpers.descriptors: -> parseFunctionToJsonSchema
|
||||
- helpers.jsonSchemaMethods: -> added `flattenSchema` and `reduceSchema`. This Function will create a nested JSON-Schema.
|
||||
- helpers.jsonSchemaMethods: -> added `flattenSchema` and `reduceSchema`. This Function will create a nested JSON-Schema.
|
||||
|
||||
# 1.0.28
|
||||
- Fixes:
|
||||
- communication.layer.events: -> fixing receivingOwnMessages.
|
||||
- runNopeBackend -> if io-server is used, no configuration file is loaded
|
@ -1,4 +1,4 @@
|
||||
![](public/nope/logo.png)
|
||||
![](public/logo.png)
|
||||
|
||||
# No Programming Environment - `NoPE`
|
||||
|
||||
|
@ -1 +1 @@
|
||||
1.0.27
|
||||
1.0.28
|
@ -255,6 +255,10 @@ export async function runNopeBackend(
|
||||
|
||||
const args = Object.assign(_defaultSettings, _args);
|
||||
|
||||
if (args.channel === "io-server") {
|
||||
args.skipLoadingConfig = true;
|
||||
}
|
||||
|
||||
const closeCallbacks = [];
|
||||
|
||||
try {
|
||||
@ -286,6 +290,11 @@ export async function runNopeBackend(
|
||||
closeCallbacks.push(recordCPUProfile());
|
||||
}
|
||||
|
||||
if (args.channel === "io-server") {
|
||||
logger.warn("Running as Server. Wont load any module!");
|
||||
args.skipLoadingConfig = true;
|
||||
}
|
||||
|
||||
if (!Object.getOwnPropertyNames(validLayers).includes(args.channel)) {
|
||||
logger.error(
|
||||
"Invalid Channel. Please use the following values. " +
|
||||
|
@ -87,8 +87,6 @@ export class EventCommunicationInterface implements ICommunicationInterface {
|
||||
) {
|
||||
this.connected = new NopeObservable<boolean>();
|
||||
this.connected.setContent(true);
|
||||
|
||||
this.receivesOwnMessages = true;
|
||||
this.id = generateId();
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nope",
|
||||
"version": "1.0.26",
|
||||
"version": "1.0.28",
|
||||
"description": "NoPE Runtime for Nodejs. For Browser-Support please use nope-browser",
|
||||
"files": [
|
||||
"dist-nodejs/**/*",
|
||||
|
Loading…
Reference in New Issue
Block a user