fix(core): update
This commit is contained in:
parent
dc80e3b48d
commit
b5b6ca81cf
4
.snyk
Normal file
4
.snyk
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
||||||
|
version: v1.13.5
|
||||||
|
ignore: {}
|
||||||
|
patch: {}
|
@ -74,7 +74,7 @@ export class Universe {
|
|||||||
this.smartexpressServer = new plugins.smartexpress.Server({
|
this.smartexpressServer = new plugins.smartexpress.Server({
|
||||||
cors: true,
|
cors: true,
|
||||||
defaultAnswer: async () => {
|
defaultAnswer: async () => {
|
||||||
return `smartuniverse server ${this.universeVersion}`;
|
return `smartuniverse server ${this.getUniverseVersion()}`;
|
||||||
},
|
},
|
||||||
forceSsl: false,
|
forceSsl: false,
|
||||||
port: portArg
|
port: portArg
|
||||||
@ -97,8 +97,9 @@ export class Universe {
|
|||||||
funcName: 'channelSubscription',
|
funcName: 'channelSubscription',
|
||||||
funcDef: (data) => {
|
funcDef: (data) => {
|
||||||
(() => {
|
(() => {
|
||||||
this.universeConnectionManager
|
// TODO:
|
||||||
})()
|
this.universeConnectionManager.addConnection();
|
||||||
|
})();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
import * as plugins from './smartuniverse.plugins';
|
import * as plugins from './smartuniverse.plugins';
|
||||||
|
import { UniverseConnection } from './smartuniverse.classes.universeconnection';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* manages connections to a universe
|
* manages connections to a universe
|
||||||
*/
|
*/
|
||||||
export class UniverseConnectionManager {
|
export class UniverseConnectionManager {
|
||||||
|
public connectionMap = new plugins.lik.Objectmap<UniverseConnection>();
|
||||||
|
|
||||||
|
public addConnection() {}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user