@wixc3/engine-core-node
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -1,3 +0,3 @@ | ||
import { NodeEnvironment } from '@wixc3/engine-core'; | ||
export declare function initEngineServer(preferredPort: number, clientEntry: string, pathToEditorDist: string, serverEntries?: string[], clientConfig?: unknown[], serverConfig?: unknown[], serverEnvironment?: NodeEnvironment<string>): Promise<number>; | ||
import { Environment } from '@wixc3/engine-core'; | ||
export declare function initEngineServer(preferredPort: number, clientEntry: string, pathToEditorDist: string, serverEntries?: string[], clientConfig?: unknown[], serverConfig?: unknown[], serverEnvironment?: Environment): Promise<number>; | ||
//# sourceMappingURL=init-engine-server.d.ts.map |
@@ -27,7 +27,9 @@ "use strict"; | ||
runNodeEnvironment(serverEntries, httpServer, serverEnvironment, serverConfig); | ||
clientConfig.push(engine_core_1.COM.use({ | ||
config: { | ||
topology: serverEnvironment.getLocalTopology(port) | ||
} | ||
})); | ||
// clientConfig.push( | ||
// COM.use({ | ||
// config: { | ||
// topology: serverEnvironment.getLocalTopology(port) | ||
// } | ||
// }) | ||
// ); | ||
} | ||
@@ -34,0 +36,0 @@ app.get('/server-config.js', (_req, res) => { |
{ | ||
"name": "@wixc3/engine-core-node", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"main": "cjs/index.js", | ||
@@ -15,3 +15,3 @@ "types": "cjs/index.d.ts", | ||
"dependencies": { | ||
"@wixc3/engine-core": "^6.0.0", | ||
"@wixc3/engine-core": "^6.0.1", | ||
"create-listening-server": "^0.1.2", | ||
@@ -18,0 +18,0 @@ "express": "^4.17.1", |
@@ -1,2 +0,2 @@ | ||
import { COM, NodeEnvironment } from '@wixc3/engine-core'; | ||
import { COM, Environment } from '@wixc3/engine-core'; | ||
import { safeListeningHttpServer } from 'create-listening-server'; | ||
@@ -15,3 +15,3 @@ import express from 'express'; | ||
serverConfig: unknown[] = [], | ||
serverEnvironment?: NodeEnvironment<string> | ||
serverEnvironment?: Environment | ||
) { | ||
@@ -38,9 +38,9 @@ const app = express(); | ||
runNodeEnvironment(serverEntries, httpServer, serverEnvironment, serverConfig); | ||
clientConfig.push( | ||
COM.use({ | ||
config: { | ||
topology: serverEnvironment.getLocalTopology(port) | ||
} | ||
}) | ||
); | ||
// clientConfig.push( | ||
// COM.use({ | ||
// config: { | ||
// topology: serverEnvironment.getLocalTopology(port) | ||
// } | ||
// }) | ||
// ); | ||
} | ||
@@ -63,3 +63,3 @@ | ||
server: Server, | ||
serverEnvironment: NodeEnvironment<string>, | ||
serverEnvironment: Environment, | ||
serverConfig: unknown[] | ||
@@ -66,0 +66,0 @@ ) { |
Sorry, the diff of this file is not supported yet
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
290
17422
Updated@wixc3/engine-core@^6.0.1