Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gedit/connection

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gedit/connection - npm Package Compare versions

Comparing version 0.1.13 to 0.1.14

lib/common/connection-provider.d.ts

5

lib/browser/connection-frontend-module.js

@@ -22,3 +22,3 @@ "use strict";

exports.default = new inversify_1.ContainerModule(function (bind) {
bind(ws_connection_provider_1.WebSocketConnectionProvider).toSelf().inSingletonScope();
bind(common_1.IConnectionProvider).to(ws_connection_provider_1.WebSocketConnectionProvider).inSingletonScope();
bind(common_1.MessageClient).toSelf().inSingletonScope();

@@ -29,3 +29,4 @@ bind(common_1.MessageService).toSelf().inSingletonScope()

var client = container.get(common_1.MessageClient);
ws_connection_provider_1.WebSocketConnectionProvider.createProxy(container, common_1.messageServicePath, client);
var provider = container.get(common_1.IConnectionProvider);
provider.createProxy(common_1.messageServicePath, client);
return messages;

@@ -32,0 +33,0 @@ });

4

lib/browser/ws-connection-provider.d.ts

@@ -19,3 +19,3 @@ /********************************************************************************

import { Emitter, Event } from '@gedit/utils';
import { ConnectionHandler, JsonRpcProxy, JsonRpcProxyFactory } from '../common';
import { ConnectionHandler, JsonRpcProxy, JsonRpcProxyFactory, IConnectionProvider } from '../common';
import { WebSocketChannel } from '../common/messaging/web-socket-channel';

@@ -29,3 +29,3 @@ import ReconnectingWebSocket from 'reconnecting-websocket';

}
export declare class WebSocketConnectionProvider {
export declare class WebSocketConnectionProvider implements IConnectionProvider {
protected channelIdSeq: number;

@@ -32,0 +32,0 @@ protected readonly socket: ReconnectingWebSocket;

@@ -6,2 +6,3 @@ export * from './messaging';

export * from './progress-service-protocol';
export * from './connection-provider';
//# sourceMappingURL=index.d.ts.map

@@ -18,2 +18,3 @@ "use strict";

__exportStar(require("./progress-service-protocol"), exports);
__exportStar(require("./connection-provider"), exports);
//# sourceMappingURL=index.js.map
{
"name": "@gedit/connection",
"version": "0.1.13",
"version": "0.1.14",
"license": "MIT",

@@ -12,4 +12,4 @@ "main": "lib/common/index",

"dependencies": {
"@gedit/application-common": "^0.1.13",
"@gedit/utils": "^0.1.13",
"@gedit/application-common": "^0.1.14",
"@gedit/utils": "^0.1.14",
"@types/lodash.throttle": "^4.1.3",

@@ -36,3 +36,3 @@ "lodash.throttle": "^4.1.1",

},
"gitHead": "13de0f50548b14a82fe33a972956e9278bb97953"
"gitHead": "df833a4712ccec3ce8a670a956fb5dfc9d32cdfc"
}

@@ -19,6 +19,6 @@ /********************************************************************************

import { WebSocketConnectionProvider } from './ws-connection-provider';
import { MessageClient, MessageService, messageServicePath } from '../common';
import { MessageClient, MessageService, messageServicePath, IConnectionProvider } from '../common';
export default new ContainerModule(bind => {
bind(WebSocketConnectionProvider).toSelf().inSingletonScope();
bind(IConnectionProvider).to(WebSocketConnectionProvider).inSingletonScope();
bind(MessageClient).toSelf().inSingletonScope();

@@ -28,6 +28,6 @@ bind(MessageService).toSelf().inSingletonScope()

const client = container.get(MessageClient);
WebSocketConnectionProvider.createProxy(container, messageServicePath, client);
const provider = container.get<IConnectionProvider>(IConnectionProvider);
provider.createProxy(messageServicePath, client);
return messages;
});
});

@@ -20,3 +20,3 @@ /********************************************************************************

import { Emitter, Event } from '@gedit/utils';
import { ConnectionHandler, JsonRpcProxy, JsonRpcProxyFactory, } from '../common';
import { ConnectionHandler, JsonRpcProxy, JsonRpcProxyFactory, IConnectionProvider } from '../common';
import { WebSocketChannel } from '../common/messaging/web-socket-channel';

@@ -37,3 +37,3 @@ import { Endpoint } from '@gedit/utils/lib/browser';

@injectable()
export class WebSocketConnectionProvider {
export class WebSocketConnectionProvider implements IConnectionProvider {

@@ -40,0 +40,0 @@ protected channelIdSeq = 0;

@@ -6,1 +6,2 @@ export * from './messaging';

export * from './progress-service-protocol';
export * from './connection-provider';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc