@wixc3/engine-core-node
Advanced tools
Comparing version 19.3.0 to 20.0.0
@@ -1,2 +0,2 @@ | ||
import type { EnvironmentInitializer } from '@wixc3/engine-core'; | ||
import type { InitializerOptions } from '@wixc3/engine-core'; | ||
export declare const LOCAL_ENVIRONMENT_INITIALIZER_ENV_ID = "__engine-local-env__"; | ||
@@ -7,5 +7,5 @@ /** | ||
*/ | ||
export declare const localNodeEnvironmentInitializer: EnvironmentInitializer<{ | ||
export declare const localNodeEnvironmentInitializer: ({ communication: com, env }: InitializerOptions) => { | ||
id: string; | ||
}>; | ||
}; | ||
//# sourceMappingURL=local-env-inititializer.d.ts.map |
@@ -9,3 +9,3 @@ "use strict"; | ||
*/ | ||
const localNodeEnvironmentInitializer = (com, env) => { | ||
const localNodeEnvironmentInitializer = ({ communication: com, env }) => { | ||
const baseEnvHost = com.getEnvironmentHost(exports.LOCAL_ENVIRONMENT_INITIALIZER_ENV_ID); | ||
@@ -18,7 +18,7 @@ if (!baseEnvHost) { | ||
} | ||
return Promise.resolve({ | ||
return { | ||
id: env.env, | ||
}); | ||
}; | ||
}; | ||
exports.localNodeEnvironmentInitializer = localNodeEnvironmentInitializer; | ||
//# sourceMappingURL=local-env-inititializer.js.map |
{ | ||
"name": "@wixc3/engine-core-node", | ||
"version": "19.3.0", | ||
"version": "20.0.0", | ||
"main": "dist/index.js", | ||
@@ -11,6 +11,6 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@wixc3/engine-core": "^19.3.0", | ||
"@wixc3/engine-core": "^20.0.0", | ||
"create-listening-server": "^1.0.0", | ||
"express": "^4.17.1", | ||
"socket.io": "^4.1.2" | ||
"socket.io": "^4.1.3" | ||
}, | ||
@@ -17,0 +17,0 @@ "files": [ |
@@ -1,2 +0,2 @@ | ||
import type { EnvironmentInitializer } from '@wixc3/engine-core'; | ||
import type { InitializerOptions } from '@wixc3/engine-core'; | ||
@@ -9,3 +9,3 @@ export const LOCAL_ENVIRONMENT_INITIALIZER_ENV_ID = '__engine-local-env__'; | ||
*/ | ||
export const localNodeEnvironmentInitializer: EnvironmentInitializer<{ id: string }> = (com, env) => { | ||
export const localNodeEnvironmentInitializer = ({ communication: com, env }: InitializerOptions) => { | ||
const baseEnvHost = com.getEnvironmentHost(LOCAL_ENVIRONMENT_INITIALIZER_ENV_ID)!; | ||
@@ -21,5 +21,5 @@ if (!baseEnvHost) { | ||
return Promise.resolve({ | ||
return { | ||
id: env.env, | ||
}); | ||
}; | ||
}; |
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
19552
+ Added@wixc3/engine-core@20.2.3(transitive)
- Removed@wixc3/engine-core@19.3.0(transitive)
Updated@wixc3/engine-core@^20.0.0
Updatedsocket.io@^4.1.3