@gedit/connection
Advanced tools
Comparing version 0.1.31 to 0.1.32
@@ -21,2 +21,3 @@ "use strict"; | ||
var common_1 = require("../common"); | ||
var command_1 = require("@gedit/command"); | ||
exports.default = new inversify_1.ContainerModule(function (bind) { | ||
@@ -33,3 +34,9 @@ bind(common_1.IConnectionProvider).to(ws_connection_provider_1.WebSocketConnectionProvider).inSingletonScope(); | ||
}); | ||
bind(command_1.CommandRegistry).toSelf().inSingletonScope().onActivation(function (_a, registry) { | ||
var container = _a.container; | ||
var provider = container.get(common_1.IConnectionProvider); | ||
provider.createProxy(command_1.commandServicePath, registry); | ||
return registry; | ||
}); | ||
}); | ||
//# sourceMappingURL=connection-frontend-module.js.map |
{ | ||
"name": "@gedit/connection", | ||
"version": "0.1.31", | ||
"version": "0.1.32", | ||
"license": "MIT", | ||
@@ -12,4 +12,4 @@ "main": "lib/common/index", | ||
"dependencies": { | ||
"@gedit/application-common": "^0.1.31", | ||
"@gedit/utils": "^0.1.31", | ||
"@gedit/application-common": "^0.1.32", | ||
"@gedit/utils": "^0.1.32", | ||
"@types/lodash.throttle": "^4.1.3", | ||
@@ -36,3 +36,3 @@ "lodash.throttle": "^4.1.1", | ||
}, | ||
"gitHead": "12d3eec48b48c60a7f56c6d4dabe5e94e087b7c9" | ||
"gitHead": "57110a48281a357dec142b9f4440efb7324100e5" | ||
} |
@@ -19,3 +19,4 @@ /******************************************************************************** | ||
import { WebSocketConnectionProvider } from './ws-connection-provider'; | ||
import { MessageClient, MessageService, messageServicePath, IConnectionProvider } from '../common'; | ||
import { IConnectionProvider, MessageClient, MessageService, messageServicePath } from '../common'; | ||
import { CommandRegistry, commandServicePath } from '@gedit/command'; | ||
@@ -32,2 +33,7 @@ export default new ContainerModule(bind => { | ||
}); | ||
bind(CommandRegistry).toSelf().inSingletonScope().onActivation(({container}, registry) => { | ||
const provider = container.get<IConnectionProvider>(IConnectionProvider); | ||
provider.createProxy(commandServicePath, registry); | ||
return registry; | ||
}); | ||
}); |
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
169418
2993
Updated@gedit/utils@^0.1.32